summaryrefslogtreecommitdiff
path: root/.config/mutt/custom.muttrc
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-10-17 16:06:51 +0900
committerA Farzat <a@farzat.xyz>2024-11-02 16:06:52 +0900
commit538d9d4eb2994945a648fbb8c78d955a744eb5a8 (patch)
tree6031f5b345e0bfd5653c42ddb487e8b7a14ee124 /.config/mutt/custom.muttrc
parent458cf42c35a9e760d22f9bb6e55c55b2fd66f34a (diff)
downloaddotfiles-538d9d4eb2994945a648fbb8c78d955a744eb5a8.tar.gz
dotfiles-538d9d4eb2994945a648fbb8c78d955a744eb5a8.zip
Add mutt settings
Diffstat (limited to '.config/mutt/custom.muttrc')
-rw-r--r--.config/mutt/custom.muttrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/mutt/custom.muttrc b/.config/mutt/custom.muttrc
new file mode 100644
index 0000000..94fc708
--- /dev/null
+++ b/.config/mutt/custom.muttrc
@@ -0,0 +1,31 @@
+# vim: filetype=neomuttrc
+
+alternative_order text/plain text/enriched text/html
+auto_view text/html # automatically show html (mailcap uses lynx)
+auto_view application/pgp-encrypted
+
+bind pager gg top
+bind pager G bottom
+bind index,pager,browser \cd half-down
+bind index,pager,browser \cu half-up
+
+set date_format="%y/%m/%d %H:%M %Z"
+set fast_reply # skip to compose when replying
+set forward_format = "Fwd: %s"
+set forward_quote
+set include # include message in replies
+set mailcap_path = "$XDG_CONFIG_HOME/mutt/mailcap:$mailcap_path"
+set markers = no # Disables the `+` displayed at line wraps.
+set mark_old = no # Unread mail stay unread until read
+set mime_forward = ask-yes # Forwarded body added as attachment if yes.
+set mime_type_query_command = "file --mime-type -b %s"
+set pipe_decode = yes # Makes sure pipe-message pipes the message unencrypted.
+set query_command = "abook --mutt-query '%s'"
+set reverse_name # reply as whomever it was to
+set send_charset="utf-8"
+set sleep_time = 0 # Pause 0 seconds for informational messages.
+set use_threads = 'reverse'
+set wait_key = no # mutt won't ask "press key to continue"
+
+macro index O "<shell-escape>tmux split-window -dl 25% mailsync<enter>" "run mbsync to sync all mail"
+macro index,pager \cb "<pipe-message> urlscan<Enter>" "Follow links with urlscan"