mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
89 lines
3.8 KiB
Plaintext
89 lines
3.8 KiB
Plaintext
# vim: filetype=neomuttrc
|
|
set certificate_file = ~/.cache/mutt/certificates
|
|
set mailcap_path = ~/.config/mutt/mailcap
|
|
set tmpdir = ~/Downloads
|
|
set date_format="%d-%m-%Y %H:%M"
|
|
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
|
|
set smtp_authenticators = 'gssapi:login'
|
|
set query_command = "khard email --parsable --remove-first-line --search-in-source-files '%s'"
|
|
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
|
|
bind index,pager i noop
|
|
bind index,pager g noop
|
|
bind index \Cf noop
|
|
|
|
# General rebindings
|
|
bind attach <return> view-mailcap
|
|
bind attach l view-mailcap
|
|
bind editor <space> noop
|
|
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
|
|
bind index,pager H view-raw-message
|
|
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
|
|
|
|
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"
|
|
|
|
|
|
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
|
|
|
|
source /home/alrayyes/.config/mutt/muttcol
|
|
source /home/alrayyes/.config/mutt/gpg.rc
|
|
source /home/alrayyes/.config/mutt/accounts/1-ryankes.muttrc
|
|
macro index,pager i1 '<sync-mailbox><enter-command>source /home/alrayyes/.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 /home/alrayyes/.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 /home/alrayyes/.config/mutt/accounts/3-andthensome.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to ryan@andthensome.nl" # mw-autogenerated
|