Remove format flowed configuration from mutt and vim. I tried this some time and will stick to self formatting.
114 lines
3.1 KiB
Plaintext
114 lines
3.1 KiB
Plaintext
#
|
|
# Sidebar
|
|
#
|
|
source /usr/share/doc/mutt/examples/sample.muttrc-sidebar
|
|
#set sidebar_visible = yes
|
|
set sidebar_width = 30
|
|
set sidebar_short_path
|
|
|
|
#
|
|
# Mailcap
|
|
#
|
|
set mailcap_path=~/.config/mutt/mailcap
|
|
auto_view text/plain text/html
|
|
alternative_order text/enriched text/plain text/html
|
|
|
|
set realname="Jens Mathis Sauer"
|
|
# unset use_domain
|
|
set send_charset = "utf-8"
|
|
set header_cache = ~/.cache/mutt
|
|
set message_cachedir = ~/.cache/mutt
|
|
set imap_check_subscribed
|
|
unset imap_passive
|
|
set imap_keepalive = 120
|
|
#set imap_idle
|
|
|
|
# crypto and GPG settings
|
|
set crypt_use_gpgme
|
|
set pgp_use_gpg_agent
|
|
set crypt_autosign
|
|
set crypt_opportunistic_encrypt
|
|
set postpone_encrypt
|
|
|
|
#
|
|
# TLS Settings
|
|
#
|
|
set ssl_force_tls = yes
|
|
set ssl_use_tlsv1 = no
|
|
set ssl_use_tlsv1_1 = no
|
|
set smime_ca_location = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
set mail_check = 60
|
|
set timeout = 10
|
|
#set net_inc = 5
|
|
#set time_inc = 15
|
|
|
|
# set mbox_type = Maildir
|
|
# set folder = ~/mail
|
|
# set timeout = 20
|
|
#
|
|
set pager_stop = yes
|
|
set index_format = "%4C [%Z] %{%b %d} %-15.15L %s"
|
|
set confirmappend = no
|
|
set delete = yes
|
|
set pager_index_lines = 10
|
|
set query_command = "khard email --parsable %s"
|
|
set print_command="muttprint"
|
|
set wait_key = no
|
|
unset folder
|
|
|
|
|
|
#mailboxes +gmail/INBOX \
|
|
# +gmail/mbox \
|
|
# +gmail/sent \
|
|
# +gmail/junk \
|
|
# +gmail/LKLM \
|
|
# +gmail/debian-user \
|
|
# +gmail/debian-user-german \
|
|
# +gmail/vfio-users \
|
|
# "+------------------" \
|
|
# +uni/INBOX \
|
|
# +uni/archive \
|
|
# +uni/sent \
|
|
# +uni/postponed \
|
|
# +uni/trash \
|
|
# +uni/junk \
|
|
# +uni/studip \
|
|
# +uni/list-kohorte
|
|
|
|
#
|
|
# Accounts
|
|
#
|
|
#source "~/.config/mutt/account-uni"
|
|
folder-hook imaps://imap.uni-oldenburg.de 'source ~/.config/mutt/account-uni'
|
|
macro index,pager \e2 "<sync-mailbox><change-folder>$folder<enter>" "Switch to UOL inbox"
|
|
#source "~/.config/mutt/account-gmail"
|
|
folder-hook imaps://imap.gmail.com 'source ~/.config/mutt/account-gmail'
|
|
macro index,pager \e1 "<sync-mailbox><change-folder>$folder<enter>" "Switch to GMail inbox"
|
|
|
|
#
|
|
# Keybindings
|
|
#
|
|
# macro index G "<enter-command>unset wait_key<enter><shell-escape>mbsync -a<enter>" "Syncronize Maildir"
|
|
# macro index,pager i1 "<sync-mailbox><enter-command>source ~/.config/mutt/account-gmail<enter><change-folder>!<enter>" "Switch to gmail inbox"
|
|
# macro index,pager i2 "<sync-mailbox><enter-command>source ~/.config/mutt/account-uni<enter><change-folder>!<enter>" "Switch to UOL inbox"
|
|
|
|
macro index,pager S "<tag-prefix><save-message>><enter><enter-command>echo 'Archived mail.'<enter>" "Archive email"
|
|
bind editor <Tab> complete-query
|
|
bind editor ^T complete
|
|
|
|
macro index ,t90 "<tag-pattern>~d>90d<enter><untag-pattern>~(~d<90d)<enter>" "Tag threads >90d"
|
|
macro index ,t30 "<tag-pattern>~d>30d<enter><untag-pattern>~(~d<30d)<enter>" "Tag threads >30d"
|
|
macro index ,u "<untag-pattern>~(~P)<enter><untag-pattern>~(~F)<enter>" "Untag messages from me or flagged"
|
|
|
|
macro index \cb "\
|
|
:set my_tmp_pipe_decode=\$pipe_decode\n\
|
|
:set pipe_decode\n\
|
|
|urlview\n\
|
|
:set pipe_decode=\$my_tmp_pipe_decode\n\
|
|
:unset my_tmp_pipe_decode\n" \
|
|
'call urlview to extract URLs out of a message'
|
|
|
|
# Color
|
|
source ~/.config/mutt/colors.muttrc
|