1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/neomutt/.config/mutt/muttrc

89 lines
3.7 KiB
Plaintext
Raw Normal View History

2019-06-12 10:53:59 +00:00
# vim: filetype=neomuttrc
set certificate_file = ~/.cache/mutt/certificates
2019-11-20 19:01:01 +00:00
set mailcap_path = ~/.config/mutt/mailcap
set tmpdir = ~/Downloads
2019-10-04 11:02:56 +00:00
set date_format="%d-%m-%Y %H:%M"
2019-06-12 10:53:59 +00:00
set index_format="%2C [%Z] %?X?A& ? %D %-15.15F %s (%-4.4c)"
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set uncollapse_jump
2019-06-12 10:53:59 +00:00
set smtp_authenticators = 'gssapi:login'
2019-09-27 16:29:41 +00:00
set query_command = "khard email --parsable --remove-first-line --search-in-source-files '%s'"
2019-06-12 10:53:59 +00:00
set rfc2047_parameters = yes
set sleep_time = 0 # Pause 0 seconds for informational messages
set markers = no # Disables the `+` displayed at line wraps
set mark_old = no # Unread mail stay unread until read
set mime_forward = yes # attachments are forwarded with mail
set wait_key = no # mutt won't ask "press key to continue"
set fast_reply # skip to compose when replying
set fcc_attach # save attachments with the body
set forward_format = "Fwd: %s" # format of subject when forwarding
set forward_quote # include message in forwards
set reverse_name # reply as whomever it was to
set include # include message in replies
auto_view text/html # automatically show html (mailcap uses w3m)
auto_view application/pgp-encrypted
alternative_order text/plain text/enriched text/html
2019-06-12 10:53:59 +00:00
bind index,pager i noop
bind index,pager g noop
bind index \Cf noop
2019-06-12 10:53:59 +00:00
# General rebindings
bind attach <return> view-mailcap
2019-06-12 10:53:59 +00:00
bind attach l view-mailcap
bind editor <space> noop
2019-06-12 10:53:59 +00:00
bind index G last-entry
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 D delete-message
bind index U undelete-message
bind index L limit
bind index h noop
2019-09-27 16:47:07 +00:00
bind index,pager H view-raw-message
2019-06-12 10:53:59 +00:00
bind index l display-message
bind browser h goto-parent
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
bind index \031 previous-undeleted # Mouse wheel
bind index \005 next-undeleted # Mouse wheel
bind pager \031 previous-line # Mouse wheel
bind pager \005 next-line # Mouse wheel
bind editor <Tab> complete-query
2019-10-04 11:02:56 +00:00
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"
2019-06-12 10:53:59 +00:00
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
macro index O "<shell-escape>mailsync -Va<enter>" "run offlineimap to sync all mail"
macro index A "<limit>all\n" "show all messages (undo limit)"
# Sidebar mappings
set sidebar_visible = yes
set sidebar_width = 20
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes
set mail_check_stats
set sidebar_format = '%B%?F? [%F]?%* %?N?%N/? %?S?%S?'
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
2019-04-23 08:51:27 +00:00
source ~/.config/mutt/muttcol
source ~/.config/mutt/gpg.rc
source ~/.config/mutt/accounts/1-ryankes.muttrc
macro index,pager i1 '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/1-ryankes.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to ryan@ryankes.eu" # mw-autogenerated
macro index,pager i2 '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/2-gmail.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to alrayyes@gmail.com" # mw-autogenerated
macro index,pager i3 '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/3-andthensome.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to ryan@andthensome.nl" # mw-autogenerated