# vim: filetype=neomuttrc bind index \Cf noop bind index,pager i noop bind index,pager g noop # General rebindings bind index j next-entry bind index k previous-entry bind index G last-entry bind index U undelete-message bind index L limit bind index h noop bind index l display-message bind index gg first-entry bind index \031 previous-undeleted # Mouse wheel bind index \005 next-undeleted # Mouse wheel bind pager j next-line bind pager k previous-line bind pager l view-attachments bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel bind attach view-mailcap bind attach l view-mailcap bind editor noop bind editor complete-query bind browser l select-entry bind index,pager D delete-message bind index,pager H view-raw-message bind index,query tag-entry bind index,pager S sync-mailbox bind index,pager R group-reply bind pager,browser gg top-page bind pager,browser G bottom-page bind pager,attach h exit bind index,pager,browser d half-down bind index,pager,browser u half-up # View an attachment in the GUI browser macro attach \cv "\ set my_pipe_decode=\$pipe_decode pipe_decode\ attachview\ set pipe_decode=\$my_pipe_decode; unset my_pipe_decode" \ "Open attachment in GUI browser" macro pager \Cs "rm -f /tmp/mutt-patch.diff/tmp/mutt-patch.diffecho 'Saved as /tmp/mutt-patch.diff' portpatch /tmp/mutt-patch.diff" macro index \Cr "T~UN." "mark all messages as read" macro index O "mbsync -c ~/.config/isync/mbsyncrc -a" "run mbsync to sync all mail" macro index \Cf "unset wait_keyread -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms~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' \`\"" "show only messages matching a notmuch pattern" macro index A "all\n" "show all messages (undo limit)" macro browser h '..' "Go to parent folder" macro index,pager 'source ~/.config/neomutt/accounts/dgy@fuckup.club.muttrc!;' "switch to dgy@fuckup" macro index,pager 'source ~/.config/neomutt/accounts/dgy@texto-plano.xyz.muttrc!;' "switch to dgy@t-p" macro index,pager 'source ~/.config/neomutt/accounts/alejo.muttrc!;' "switch to namefag"