Fix some mutt shortcuts / order

main
Steffen Rademacker 5 years ago
parent 930c894b67
commit ed6f63f750

@ -2,48 +2,40 @@
bind index,pager k previous-entry
bind index,pager j next-entry
bind index,pager g noop
bind index,pager R group-reply
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
bind pager gg top
bind pager G bottom
# 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
# using neomutts trash patch
bind index,pager D purge-message
# Sync all email
# If you want to make everything indexable after syncing email, use the office-alias
macro index,pager O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail"
# Save all attachments
macro index,pager S "<pipe-message>ripmime -i - -d ~/Downloads && rm ~/Downloads/textfile*" "Save all non-text attachments using ripmime"
# write a new email to the sender of selected email
bind index,pager @ compose-to-sender
# opening urls with urlscan
macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a 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"
# Sidebar Navigation
bind index,pager <down> sidebar-next
bind index,pager <up> sidebar-prev
bind index,pager <right> sidebar-open

@ -13,6 +13,7 @@ set mail_check = 0
set delete
set quit
set thorough_search
set mail_check_stats
unset confirmappend
unset move
unset mark_old
@ -70,16 +71,6 @@ hdr_order from: to: cc: bcc: date: subject:
alternative_order text/plain text/enriched text/html
auto_view text/html
# sidebar patch config
set sidebar_visible
set sidebar_short_path
set sidebar_folder_indent
set sidebar_width = 25
set sidebar_divider_char = ' | '
set sidebar_indent_string = ' ''
set sidebar_format = "%B %* [%?N?%N / ?%S]"
set mail_check_stats
# GPG/PGP
set pgp_sign_as = 2F283D0D
set crypt_use_gpgme = yes
@ -89,6 +80,15 @@ set crypt_replysign = yes
set crypt_replyencrypt = yes
set crypt_replysignencrypted = yes
# sidebar patch config
set sidebar_visible
set sidebar_short_path
set sidebar_folder_indent
set sidebar_width = 25
set sidebar_divider_char = ' | '
set sidebar_indent_string = ' ''
set sidebar_format = "%B %* [%?N?%N / ?%S]"
# Mailboxes to show in the sidebar.
mailboxes =ALL-INBOXES
mailboxes =mailbox/INBOX =viu/INBOX =mf/INBOX =kfi/INBOX

Loading…
Cancel
Save