From d4db171182a46d8c500131388f2d7e7498a06412 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Fri, 17 Oct 2025 18:07:12 +0200 Subject: [PATCH] Improve shortcuts for GMail to work better in pager --- .config/mutt/gmail.muttrc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.config/mutt/gmail.muttrc b/.config/mutt/gmail.muttrc index ab3aa19..bff82dd 100644 --- a/.config/mutt/gmail.muttrc +++ b/.config/mutt/gmail.muttrc @@ -19,16 +19,21 @@ unignore date from to cc subject x-mailer resent-from reply-to bind pager,index d noop bind pager,index e noop -macro index,pager d "=[Gmail]/Trash" "Move message to chosen folder" -macro pager d "=[Gmail]/Trash" "Move message to chosen folder" -macro index,pager e "" "Move message to chosen folder" +macro index d "=[Gmail]/Trash" "Soft delete messages" +macro pager d "=[Gmail]/Trash" "Soft delete message" +macro index e "" "Archive messages" +macro pager e "" "Archive message" macro index,pager ga "=[Gmail]/All^V Mail" "Switch to Archive" macro index,pager gd "=[Gmail]/Drafts" "Switch to Drafts" macro index,pager gi "=INBOX" "Switch to Inbox" macro index,pager gs "=[Gmail]/Sent^V Mail" "Switch to Sent Mail" macro index,pager gS "=[Gmail]/Spam" "Switch to Spam" macro index,pager gt "=[Gmail]/Trash" "Switch to Trash" -macro index,pager ml "?" "Move message to chosen folder" -macro index,pager mi "=INBOX" "Add to Inbox" -macro index,pager mr "O" "Mark as read" -macro index,pager mu "O" "Mark as read" +macro index ml "?" "Label messages (Google-Label)" +macro pager ml "?" "Label message (Google-Label)" +macro index mi "=INBOX" "Add messages to Inbox" +macro pager mi "=INBOX" "Add message to Inbox" +macro index mr "O" "Mark messages as read" +macro pager mr "O" "Mark message as read" +macro index mu "O" "Mark messages as unread" +macro pager mu "O" "Mark message as unread"