diff options
Diffstat (limited to '.config/neomutt/bindings')
-rw-r--r-- | .config/neomutt/bindings | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.config/neomutt/bindings b/.config/neomutt/bindings new file mode 100644 index 0000000..2c19155 --- /dev/null +++ b/.config/neomutt/bindings @@ -0,0 +1,41 @@ +# some sane vim-like keybindings +bind index,pager k previous-entry +bind index,pager j next-entry +bind index,pager g noop +bind index,pager \Cu half-up +bind index,pager \Cd half-down +bind pager gg top +bind index gg first-entry +bind pager G bottom +bind index G last-entry + +# Sidebar Navigation +bind index,pager <down> sidebar-next +bind index,pager <up> sidebar-prev +bind index,pager <right> sidebar-open + +# index and pager shortcuts +bind index,pager @ compose-to-sender +bind index,pager R group-reply +bind index,pager D purge-message +bind index <tab> sync-mailbox +bind index <space> collapse-thread +# Save all attachments +macro index,pager S "<pipe-message>ripmime -i - -d ~/Downloads && rm ~/Downloads/textfile*" "Save all non-text attachments using ripmime" +# opening urls with urlscan +macro index,pager \cb "<pipe-message>urlscan<enter>" "call urlscan to extract URLs out of a message" +# Sync all email +macro index,pager O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail" + +# View attachments properly. +bind attach <return> view-mailcap + +# Drafts +bind compose P postpone-message +bind index p recall-message + +# finding stuff +bind editor <tab> complete-query +macro index F "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mu/results " "mu find" +macro index \cf "<change-folder-readonly>~/.mu/results<enter>" "mu find results" + |