keybindings (3772B)
1 bind index,pager i noop 2 bind index,pager g noop 3 bind index \Cf noop 4 bind index,pager M noop 5 bind index,pager C noop 6 7 # General rebindings 8 bind index gg first-entry 9 bind index j next-entry 10 bind index k previous-entry 11 bind attach <return> view-mailcap 12 bind attach l view-mailcap 13 bind editor <space> noop 14 bind index G last-entry 15 bind index gg first-entry 16 bind pager,attach h exit 17 bind pager j next-line 18 bind pager k previous-line 19 bind pager l view-attachments 20 bind index D delete-message 21 bind index U undelete-message 22 bind index L limit 23 bind index h noop 24 bind index l display-message 25 bind index,query <space> tag-entry 26 #bind browser h goto-parent 27 macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder" 28 bind index,pager H view-raw-message 29 bind browser l select-entry 30 bind pager,browser gg top-page 31 bind pager,browser G bottom-page 32 bind index,pager,browser d half-down 33 bind index,pager,browser u half-up 34 bind index,pager S sync-mailbox 35 bind index,pager R group-reply 36 bind index \031 previous-undeleted # Mouse wheel 37 bind index \005 next-undeleted # Mouse wheel 38 bind pager \031 previous-line # Mouse wheel 39 bind pager \005 next-line # Mouse wheel 40 bind editor <Tab> complete-query 41 42 macro index S "<shell-escape>mbsync -c \"$XDG_CONFIG_HOME\"/isync/mbsyncrc -aV<enter>" "sync email" 43 macro index,pager gi "<change-folder>=Inbox<enter>" "go to inbox" 44 macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts" 45 macro index,pager gj "<change-folder>=Junk<enter>" "go to junk" 46 macro index,pager gt "<change-folder>=Trash<enter>" "go to trash" 47 macro index,pager gs "<change-folder>=Sent<enter>" "go to sent" 48 macro index,pager gb "<change-folder>=Business<enter>" "go to Business" 49 macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" 50 macro index,pager gf "<change-folder>=Friends<enter>" "go to Friends" 51 macro index,pager gF "<change-folder>=Family<enter>" "go to Family" 52 macro index,pager Mi ";<save-message>=Inbox<enter>" "move mail to inbox" 53 macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts" 54 macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk" 55 macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash" 56 macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent" 57 macro index,pager Mb ";<save-message>=Business<enter>" "move mail to Business" 58 macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" 59 macro index,pager Mg ";<save-message>=Google<enter>" "move mail to google" 60 macro index,pager Mf ";<save-message>=Friends<enter>" "move mail to Friends" 61 macro index,pager MF ";<save-message>=Family<enter>" "move mail to Family" 62 63 macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook" 64 macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" 65 macro index O "<shell-escape>mw -Y<enter>" "run mw -Y to sync all mail" 66 macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern" 67 macro index A "<limit>all\n" "show all messages (undo limit)" 68 69 bind index,pager \Ck sidebar-prev 70 bind index,pager \Cj sidebar-next 71 bind index,pager \Co sidebar-open 72 bind index,pager \Cp sidebar-prev-new 73 bind index,pager \Cn sidebar-next-new 74 bind index,pager B sidebar-toggle-visible