From 532c7ff304ed584b92d0fe082d00c3de0eb23568 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 15 Nov 2016 09:17:22 +0100 Subject: mutt: add gmail-style keyboard shortcuts --- .mutt/muttrc | 9 +++++++++ 1 file changed, 9 insertions(+) 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 "offlineimap -qf INBOX" "run offlineimap to s macro index C "?" "copy a message to a mailbox" macro index M "?" "move a message to a mailbox" +# Gmail-style shortcuts +macro index gi "=tharre3@gmail.com/INBOX" "Go to inbox" +macro index ga "=tharre3@gmail.com/Archives" "Go to Archives" +macro index gs "=tharre3@gmail.com/sent" "Go to sent" +macro index gd "=tharre3@gmail.com/drafts" "Go to drafts" + +# Archive shortcut +macro index,pager a "=tharre3@gmail.com/Archives" "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 -- cgit v1.2.3-70-g09d2