From f109a1895fc90042448182c4e6d79f5234bf7ec1 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 6 Nov 2020 20:57:19 +0300 Subject: tracking mutt config --- .config/mutt/gpg.rc | 2 +- .config/mutt/muttrc | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 .config/mutt/muttrc diff --git a/.config/mutt/gpg.rc b/.config/mutt/gpg.rc index 5a6b2c2..6fe9cf9 100644 --- a/.config/mutt/gpg.rc +++ b/.config/mutt/gpg.rc @@ -50,7 +50,7 @@ set crypt_replyencrypt set crypt_replysignencrypted set crypt_autoencrypt -set pgp_default_key= 35BA9C75A4D8DB82A72D47E026EEE174352542B4 +set pgp_default_key= 198466C2F5664940F73A1715B87B63C533C38A88 set pgp_check_gpg_decrypt_status_fd set pgp_use_gpg_agent set pgp_self_encrypt diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc new file mode 100644 index 0000000..350c5a6 --- /dev/null +++ b/.config/mutt/muttrc @@ -0,0 +1,108 @@ +# vim: filetype=neomuttrc +source /usr/local/share/mutt-wizard/mutt-wizard.muttrc # mw-autogenerated +source /home/yigit/.config/mutt/accounts/1-ceng_argor.muttrc # mw-autogenerated +macro index,pager i1 'source /home/yigit/.config/mutt/accounts/1-ceng_argor.muttrc!;' "switch to yigit@ceng.metu.edu.tr" # mw-autogenerated +macro index,pager i2 'source /home/yigit/.config/mutt/accounts/2-metu_argor.muttrc!;' "switch to ysever@metu.edu.tr" # mw-autogenerated +macro index,pager i3 'source /home/yigit/.config/mutt/accounts/3-ceng_stu.muttrc!;' "switch to e2482057@ceng.metu.edu.tr" # mw-autogenerated +macro index,pager i4 'source /home/yigit/.config/mutt/accounts/4-metu_stu.muttrc!;' "switch to e248205@metu.edu.tr" # mw-autogenerated +macro index,pager i5 'source /home/yigit/.config/mutt/accounts/5-xyz.muttrc!;' "switch to yigit@yigitsever.xyz" # mw-autogenerated + +bind generic z noop +bind generic Z noop +set send_charset="utf-8" +set assumed_charset="cp1252" + +set sort=threads +set sort_aux=reverse-last-date-received +set strict_threads + +# Setting `autoedit` along with `edit_headers` makes Mutt immediately open Vim when +# composing a new message. Common wisdom is to "write the introduction last". Assuming +# this advice can be at all extended to writing email, it surely doesn't make sense to +# prompt for a subject line before allowing composition of a mail's body. +set autoedit +set edit_headers + +# Also don't ask whether we want to recall a postponed message when hitting `m`. We can +# use `R` (`recall-message`) to do that. +set recall=no + +# update us with search/limit progress every nth message +set read_inc=100 + +# When in the pager (reading a message), still show a few lines of the index (list of messages) for context. +set pager_index_lines=10 + +# delete (purge/move) without prompt +# include the reply by default +# reply to, reply_to +set delete=yes +set include=yes +set reply_to=yes + +# don't ask me to press keys after external command +set wait_key=no + +# scroll one line up down between screen boundaries +set menu_scroll + +# hide the line wrap + chars +unset markers + +# From . +# Don't pause to show info messages (for example when opening +# another folder). +# See . +set sleep_time=0 + +# composition will never be aborted +set abort_nosubject=no +set abort_unmodified=no + +# # Cache message headers here. This takes very little space and makes opening large folders much faster. +# # See header-caching +# # Big conf file does this for us, ~y +# set header_cache=~/.config/mutt/cache/headers/ + +# # Make things faster at the cost of a negligible amount of disk space. +# # See . +# # Big conf file does this for us +# set message_cachedir=~/.config/mutt/cache/ + +# TODO: maybe check out . +set query_command="khard email --parsable '%s'" +# The editor menu is "command-line mode", i.e., what you when hitting colon. +# See . + +# When a message contains both plain text and HTML, prefer viewing plain text. +alternative_order text/plain text/html +bind editor complete-query + +# Customize the status line at the bottom. +# The format string reduces the amount of information compared to the default and doesn't use hyphens for padding. +# See . +# set status_format="%f%?V?/%V? [%m%?M?, %M shown?%?n?, %n new?%?o?, %o old?%?d?, %d deleted?%?F?, %F flagged?%?t?, %t tagged?%?p?, %p postponed?] %> %P" +# set index_format="hi" + +# See ). +# Also get rid of the hyphens again. +set compose_format= + +# Customize the status line shown when reading a message (the status line for the pager). +# See . +set pager_format="%s%* %P" + +macro index,pager \cb " urlscan" "call urlscan to extract URLs out of a message" +macro attach,compose \cb " urlscan" "call urlscan to extract URLs out of a message" + +set crypt_autosign = no +set crypt_opportunistic_encrypt = no +set pgp_self_encrypt = yes +set pgp_default_key = 198466C2F5664940F73A1715B87B63C533C38A88 + +unset query_command + +macro index,pager A \ + "khard add-email" \ + "add the sender email address to khard" + -- cgit v1.2.3-70-g09d2