summaryrefslogtreecommitdiffstats
path: root/.mutt
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2016-11-15 09:17:22 +0100
committerTharre <tharre3@gmail.com>2016-11-15 09:17:22 +0100
commit532c7ff304ed584b92d0fe082d00c3de0eb23568 (patch)
tree62b8c598c76fc09ae78c9cebdfa956d7c71d6765 /.mutt
parent80aaf8e12f4d298470c2635a0a9d482320b5ad38 (diff)
downloaddotfiles-532c7ff304ed584b92d0fe082d00c3de0eb23568.tar.gz
dotfiles-532c7ff304ed584b92d0fe082d00c3de0eb23568.tar.xz
dotfiles-532c7ff304ed584b92d0fe082d00c3de0eb23568.zip
mutt: add gmail-style keyboard shortcuts
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/muttrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc
index bd1c83a..4e693b3 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -82,6 +82,15 @@ macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to s
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
+# Gmail-style shortcuts
+macro index gi "<change-folder>=tharre3@gmail.com/INBOX<enter>" "Go to inbox"
+macro index ga "<change-folder>=tharre3@gmail.com/Archives<enter>" "Go to Archives"
+macro index gs "<change-folder>=tharre3@gmail.com/sent<enter>" "Go to sent"
+macro index gd "<change-folder>=tharre3@gmail.com/drafts<enter>" "Go to drafts"
+
+# Archive shortcut
+macro index,pager a "<save-message>=tharre3@gmail.com/Archives<enter>" "Archive"
+
# Pager View Options ---------------------------------
set pager_index_lines = 10 # number of index lines to show
set pager_context = 3 # number of context lines to show