Skip to content

Instantly share code, notes, and snippets.

@achilleas-k
Created November 27, 2024 10:15
Show Gist options
  • Save achilleas-k/dbef4e8959cab4f14c13cc9c95537d7b to your computer and use it in GitHub Desktop.
Save achilleas-k/dbef4e8959cab4f14c13cc9c95537d7b to your computer and use it in GitHub Desktop.
# vim style movement
bind generic,index,attach j next-entry
bind generic,index,attach k previous-entry
bind generic,index,pager \Cd half-down
bind generic,index,pager \Cu half-up
bind index J next-unread
bind index K previous-unread
bind pager j next-line
bind pager k previous-line
bind pager J next-entry
bind pager K previous-entry
bind pager <space> skip-quoted
unbind index,attach,pager g
bind generic,index,attach gg first-entry
bind generic,index,attach G last-entry
bind pager gg top
bind pager G bottom
bind generic,index <space> tag-entry # like ranger
bind index * flag-message # flagging is starring
bind index s flag-message # flagging is starring
bind index u toggle-new
bind index i toggle-new
bind index I read-thread
bind index m save-message
bind index \eu toggle-read # toggle view of read messages
bind index,pager d delete-message
bind index,pager D undelete-message
bind index,pager \043 delete-message # #-symbol
bind index,pager \176 delete-thread # shift+#-symbol
bind index <F119> purge-message # shift+del permanently delete (no trash)
bind index c mail # compose
bind generic,index,pager n search-next
bind generic,index,pager N search-opposite
bind index,pager \Cr group-reply
bind pager \Ce resend-message
bind pager \er view-raw-message
# threads
bind index - collapse-thread
bind index = collapse-thread
bind index _ collapse-all
bind index + collapse-all
bind index L limit-current-thread
bind index \Cl sync-mailbox
bind index \Ck what-key
# sidebar
bind index,pager \Cp sidebar-prev
bind index,pager \Cn sidebar-next
bind index,pager \Co sidebar-open
bind index,pager \ep sidebar-prev-new
bind index,pager \en sidebar-next-new
bind index,pager \eo sidebar-open
bind index,pager B sidebar-toggle-visible
# notmuch
bind index,pager \eq vfolder-from-query
bind index,pager \ee entire-thread
# browsing directories
bind browser l descend-directory
bind browser h goto-parent
# vim: ft=neomuttrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment