summaryrefslogtreecommitdiffstats
path: root/muttrc
diff options
context:
space:
mode:
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc23
1 files changed, 22 insertions, 1 deletions
diff --git a/muttrc b/muttrc
index 65fa3a0..f64dfdb 100644
--- a/muttrc
+++ b/muttrc
@@ -99,8 +99,29 @@ set sort_re # thread based on regex
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
# Index Key Bindings ---------------------------------
-bind index 0 first-entry
+bind index g noop
+bind index gg first-entry
bind index G last-entry
+bind pager g noop
+bind pager gg top
+bind pager G bottom
+
+# Display links in a web site in a compact list, allowing for web browser viewing
+# The urlview program will run ~/bin/url_handler.sh which will then run a
+# browser that is specified at the start of the script; currently using Firefox
+macro index,pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
+macro attach,compose \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
+
+# Folder Shortcuts
+macro index Ei '<change-folder>+matt-matthewlemon.com/INBOX<enter>' 'Go to Inbox'
+macro index Ea '<change-folder>+matt-matthewlemon.com/Archive<enter>' 'Go to Archive'
+macro index Es '<change-folder>+matt-matthewlemon.com/Sent\ Items<enter>' 'Go to Sent Mail'
+
+# Navigate threads
+bind index { previous-thread
+bind pager { half-up
+bind index } next-thread
+bind pager } half-down
bind index R group-reply
bind index <tab> sync-mailbox