muttcfg/keybinds

60 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2020-11-24 02:35:29 -06:00
# vim: filetype=neomuttrc
# Heavy copy from https://github.com/LukeSmithxyz/mutt-wizard
bind index,pager i noop
bind index,pager g noop
bind index \Cf noop
# General
bind index j next-entry
bind index k previous-entry
bind attach <return> view-mailcap
bind attach l view-mailcap
bind editor <space> noop
bind index G last-entry
bind index g noop
bind index gg first-entry
bind pager,attach h exit
bind pager j next-line
bind pager k previous-line
bind pager l view-attachments
bind index,pager D delete-message
bind index,pager U undelete-message
2020-11-24 02:35:29 -06:00
bind index L limit
bind index h noop
bind index l display-message
bind index M save-message
bind index,query <space> tag-entry
macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
bind index,pager H view-raw-message
bind browser l select-entry
bind pager,browser gg top-page
bind pager,browser G bottom-page
bind index,pager,browser d half-down
bind index,pager,browser u half-up
bind index,pager S sync-mailbox
bind index,pager R group-reply
2020-11-24 05:18:24 -06:00
bind pager \CR recall-message
2020-11-24 02:35:29 -06:00
# Mouse wheel
bind index \031 previous-undeleted
bind index \005 next-undeleted
bind pager \031 previous-line
bind pager \005 next-line
bind editor <Tab> complete-query
macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "Add this sender to Abook"
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "Mark all messages as read"
macro index \Cu "T~U<enter><tag-prefix>N<untag-pattern>.<enter>" "Mark all messages as unread"
macro index A "<limit>all\n" "Show all messages (undo limit)"
# Sidebar
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Co sidebar-open
bind index,pager \Cp sidebar-prev-new
bind index,pager \Cn sidebar-next-new
bind index,pager B sidebar-toggle-visible # bind B to toggle sidebar