summaryrefslogtreecommitdiffstats
path: root/.config/mutt
diff options
context:
space:
mode:
authorYigit Sever2021-10-12 01:01:01 +0300
committerYigit Sever2021-10-12 01:01:01 +0300
commit22bafa21869fb47d8f6568a0e047c226926f20e0 (patch)
tree90b18965b589d95e27e166186ddc32ca8f92471b /.config/mutt
parent20e42aa0d070f0c09ab20bf4ab42c3495a807e1c (diff)
downloaddotfiles-22bafa21869fb47d8f6568a0e047c226926f20e0.tar.gz
dotfiles-22bafa21869fb47d8f6568a0e047c226926f20e0.tar.bz2
dotfiles-22bafa21869fb47d8f6568a0e047c226926f20e0.zip
mutt: free from the shackles
Diffstat (limited to '.config/mutt')
-rw-r--r--.config/mutt/accounts/1-ceng_argor.muttrc54
-rw-r--r--.config/mutt/accounts/2-metu_argor.muttrc48
-rw-r--r--.config/mutt/accounts/3-ceng_stu.muttrc51
-rw-r--r--.config/mutt/accounts/4-metu_stu.muttrc48
-rw-r--r--.config/mutt/accounts/5-xyz.muttrc53
-rw-r--r--.config/mutt/muttrc177
6 files changed, 409 insertions, 22 deletions
diff --git a/.config/mutt/accounts/1-ceng_argor.muttrc b/.config/mutt/accounts/1-ceng_argor.muttrc
new file mode 100644
index 0000000..1656992
--- /dev/null
+++ b/.config/mutt/accounts/1-ceng_argor.muttrc
@@ -0,0 +1,54 @@
1# vim: filetype=neomuttrc
2# muttrc file for account ceng_argor
3set realname = "Yigit Sever"
4set from = "yigit@ceng.metu.edu.tr"
5set sendmail = "msmtp -a ceng_argor"
6alias me Yigit Sever <yigit@ceng.metu.edu.tr>
7set folder = "/home/yigit/.local/share/mail/ceng_argor"
8set header_cache = /home/yigit/.cache/mutt-wizard/ceng_argor/headers
9set message_cachedir = /home/yigit/.cache/mutt-wizard/ceng_argor/bodies
10set mbox_type = Maildir
11
12bind index,pager gg noop
13bind index,pager g noop
14bind index,pager M noop
15bind index,pager C noop
16bind index gg first-entry
17macro index o "<shell-escape>mailsync -V ceng_argor<enter>" "run mbsync to sync ceng_argor"
18unmailboxes *
19
20set spoolfile = "+INBOX"
21set record = "+Sent"
22set postponed = "+Drafts"
23set trash = "+Trash"
24
25named-mailboxes " 📬 inbox" =INBOX
26named-mailboxes " 📦 archive" "=Archive"
27named-mailboxes " 📜 drafts" "=Drafts"
28named-mailboxes " 🐦 sent" "=Sent"
29named-mailboxes " 🚮 trash" "=Trash"
30named-mailboxes " 📥 tray" "=Tray"
31
32macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
33macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
34macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
35macro index,pager gs "<change-folder>=Sent<enter>" "go to sent" # mw-autogenerated
36macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent" # mw-autogenerated
37macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent" # mw-autogenerated
38macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts" # mw-autogenerated
39macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts" # mw-autogenerated
40macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts" # mw-autogenerated
41macro index,pager gt "<change-folder>=Trash<enter>" "go to trash" # mw-autogenerated
42macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash" # mw-autogenerated
43macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash" # mw-autogenerated
44macro index,pager gS "<change-folder>=spam<enter>" "go to spam" # mw-autogenerated
45macro index,pager MS ";<save-message>=spam<enter>" "move mail to spam" # mw-autogenerated
46macro index,pager CS ";<copy-message>=spam<enter>" "copy mail to spam" # mw-autogenerated
47macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" # mw-autogenerated
48macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" # mw-autogenerated
49macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive" # mw-autogenerated
50macro index,pager gy "<change-folder>=Tray<enter>" "go to tray" # mw-autogenerated
51macro index,pager My ";<save-message>=Tray<enter>" "move mail to tray" # mw-autogenerated
52macro index,pager Cy ";<copy-message>=Tray<enter>" "copy mail to tray" # mw-autogenerated
53
54set status_format="Ceng ArGor: %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"
diff --git a/.config/mutt/accounts/2-metu_argor.muttrc b/.config/mutt/accounts/2-metu_argor.muttrc
new file mode 100644
index 0000000..cbbb53a
--- /dev/null
+++ b/.config/mutt/accounts/2-metu_argor.muttrc
@@ -0,0 +1,48 @@
1# vim: filetype=neomuttrc
2# muttrc file for account metu_argor
3set realname = "Yigit Sever"
4set from = "ysever@metu.edu.tr"
5set sendmail = "msmtp -a metu_argor"
6alias me Yigit Sever <ysever@metu.edu.tr>
7set folder = "/home/yigit/.local/share/mail/metu_argor"
8set header_cache = /home/yigit/.cache/mutt-wizard/metu_argor/headers
9set message_cachedir = /home/yigit/.cache/mutt-wizard/metu_argor/bodies
10set mbox_type = Maildir
11
12bind index,pager gg noop
13bind index,pager g noop
14bind index,pager M noop
15bind index,pager C noop
16bind index gg first-entry
17macro index o "<shell-escape>mailsync -V metu_argor<enter>" "run mbsync to sync metu_argor"
18unmailboxes *
19
20set spoolfile = "+INBOX"
21set record = "+sent-mail"
22set postponed = "+drafts"
23set trash = "+Trash"
24
25named-mailboxes " 📬 inbox" =INBOX
26named-mailboxes " 📦 archive" "=Archive"
27named-mailboxes " 📜 drafts" "=drafts"
28named-mailboxes " 🐦 sent" "=sent-mail"
29named-mailboxes " 🚮 trash" "=Trash"
30named-mailboxes " 📥 tray" "=Tray"
31
32macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
33macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
34macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
35macro index,pager gs "<change-folder>=sent-mail<enter>" "go to sent" # mw-autogenerated
36macro index,pager Ms ";<save-message>=sent-mail<enter>" "move mail to sent" # mw-autogenerated
37macro index,pager Cs ";<copy-message>=sent-mail<enter>" "copy mail to sent" # mw-autogenerated
38macro index,pager gd "<change-folder>=drafts<enter>" "go to drafts" # mw-autogenerated
39macro index,pager Md ";<save-message>=drafts<enter>" "move mail to drafts" # mw-autogenerated
40macro index,pager Cd ";<copy-message>=drafts<enter>" "copy mail to drafts" # mw-autogenerated
41macro index,pager gt "<change-folder>=Trash<enter>" "go to trash" # mw-autogenerated
42macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash" # mw-autogenerated
43macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash" # mw-autogenerated
44macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" # mw-autogenerated
45macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" # mw-autogenerated
46macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive" # mw-autogenerated
47
48set status_format="METU ArGor: %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"
diff --git a/.config/mutt/accounts/3-ceng_stu.muttrc b/.config/mutt/accounts/3-ceng_stu.muttrc
new file mode 100644
index 0000000..5e7472c
--- /dev/null
+++ b/.config/mutt/accounts/3-ceng_stu.muttrc
@@ -0,0 +1,51 @@
1# vim: filetype=neomuttrc
2# muttrc file for account ceng_stu
3set realname = "Yigit Sever"
4set from = "e2482057@ceng.metu.edu.tr"
5set sendmail = "msmtp -a ceng_stu"
6alias me Yigit Sever <e2482057@ceng.metu.edu.tr>
7set folder = "/home/yigit/.local/share/mail/ceng_stu"
8set header_cache = /home/yigit/.cache/mutt-wizard/ceng_stu/headers
9set message_cachedir = /home/yigit/.cache/mutt-wizard/ceng_stu/bodies
10set mbox_type = Maildir
11
12bind index,pager gg noop
13bind index,pager g noop
14bind index,pager M noop
15bind index,pager C noop
16bind index gg first-entry
17macro index o "<shell-escape>mailsync -V ceng_stu<enter>" "run mbsync to sync ceng_stu"
18unmailboxes *
19
20set spoolfile = "+INBOX"
21set record = "+Sent"
22set postponed = "+Drafts"
23set trash = "+Trash"
24
25named-mailboxes " 📬 inbox" =INBOX
26named-mailboxes " 📦 archive" "=Archive"
27named-mailboxes " 📜 drafts" "=Drafts"
28named-mailboxes " 🐦 sent" "=Sent"
29named-mailboxes " 🚮 trash" "=Trash"
30named-mailboxes " 📥 tray" "=Tray"
31
32macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
33macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
34macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
35macro index,pager gs "<change-folder>=Sent<enter>" "go to sent" # mw-autogenerated
36macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent" # mw-autogenerated
37macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent" # mw-autogenerated
38macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts" # mw-autogenerated
39macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts" # mw-autogenerated
40macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts" # mw-autogenerated
41macro index,pager gt "<change-folder>=Trash<enter>" "go to trash" # mw-autogenerated
42macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash" # mw-autogenerated
43macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash" # mw-autogenerated
44macro index,pager gS "<change-folder>=spam<enter>" "go to spam" # mw-autogenerated
45macro index,pager MS ";<save-message>=spam<enter>" "move mail to spam" # mw-autogenerated
46macro index,pager CS ";<copy-message>=spam<enter>" "copy mail to spam" # mw-autogenerated
47macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" # mw-autogenerated
48macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" # mw-autogenerated
49macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive" # mw-autogenerated
50
51set status_format="Ceng Student: %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"
diff --git a/.config/mutt/accounts/4-metu_stu.muttrc b/.config/mutt/accounts/4-metu_stu.muttrc
new file mode 100644
index 0000000..959586d
--- /dev/null
+++ b/.config/mutt/accounts/4-metu_stu.muttrc
@@ -0,0 +1,48 @@
1# vim: filetype=neomuttrc
2# muttrc file for account metu_stu
3set realname = "Yigit Sever"
4set from = "e248205@metu.edu.tr"
5set sendmail = "msmtp -a metu_stu"
6alias me Yigit Sever <e248205@metu.edu.tr>
7set folder = "/home/yigit/.local/share/mail/metu_stu"
8set header_cache = /home/yigit/.cache/mutt-wizard/metu_stu/headers
9set message_cachedir = /home/yigit/.cache/mutt-wizard/metu_stu/bodies
10set mbox_type = Maildir
11
12bind index,pager gg noop
13bind index,pager g noop
14bind index,pager M noop
15bind index,pager C noop
16bind index gg first-entry
17macro index o "<shell-escape>mailsync -V metu_stu<enter>" "run mbsync to sync metu_stu"
18unmailboxes *
19
20set spoolfile = "+INBOX"
21set record = "+sent-mail"
22set postponed = "+drafts"
23set trash = "+Trash"
24
25named-mailboxes " 📬 inbox" =INBOX
26named-mailboxes " 📦 archive" "=Archive"
27named-mailboxes " 📜 drafts" "=drafts"
28named-mailboxes " 🐦 sent" "=sent-mail"
29named-mailboxes " 🚮 trash" "=Trash"
30named-mailboxes " 📥 tray" "=Tray"
31
32macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
33macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
34macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
35macro index,pager gs "<change-folder>=sent-mail<enter>" "go to sent" # mw-autogenerated
36macro index,pager Ms ";<save-message>=sent-mail<enter>" "move mail to sent" # mw-autogenerated
37macro index,pager Cs ";<copy-message>=sent-mail<enter>" "copy mail to sent" # mw-autogenerated
38macro index,pager gd "<change-folder>=drafts<enter>" "go to drafts" # mw-autogenerated
39macro index,pager Md ";<save-message>=drafts<enter>" "move mail to drafts" # mw-autogenerated
40macro index,pager Cd ";<copy-message>=drafts<enter>" "copy mail to drafts" # mw-autogenerated
41macro index,pager gt "<change-folder>=Trash<enter>" "go to trash" # mw-autogenerated
42macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash" # mw-autogenerated
43macro index,pager Ct ";<copy-message>=Trash<enter>" "copy mail to trash" # mw-autogenerated
44macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" # mw-autogenerated
45macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" # mw-autogenerated
46macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive" # mw-autogenerated
47
48set status_format="METU Student: %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"
diff --git a/.config/mutt/accounts/5-xyz.muttrc b/.config/mutt/accounts/5-xyz.muttrc
new file mode 100644
index 0000000..f4b5432
--- /dev/null
+++ b/.config/mutt/accounts/5-xyz.muttrc
@@ -0,0 +1,53 @@
1# vim: filetype=neomuttrc
2# muttrc file for account xyz
3set realname = "yigit sever"
4set from = "yigit@yigitsever.com"
5set sendmail = "msmtp -a xyz"
6alias me yigit sever <yigit@yigitsever.com>
7set folder = "/home/yigit/.local/share/mail/xyz"
8set header_cache = /home/yigit/.cache/mutt-wizard/xyz/headers
9set message_cachedir = /home/yigit/.cache/mutt-wizard/xyz/bodies
10set mbox_type = Maildir
11
12bind index,pager gg noop
13bind index,pager g noop
14bind index,pager M noop
15bind index,pager C noop
16bind index gg first-entry
17macro index o "<shell-escape>mailsync -V xyz<enter>" "run mbsync to sync xyz"
18unmailboxes *
19
20set spoolfile = "+INBOX"
21set record = "+Sent"
22set postponed = "+Drafts"
23set trash = "+Trash"
24
25named-mailboxes " 📬 inbox" =INBOX
26named-mailboxes " 📦 archive" "=Archive"
27named-mailboxes " 📜 drafts" "=Drafts"
28named-mailboxes " 🐦 sent" "=Sent"
29named-mailboxes " 🚮 junk" "=Junk"
30named-mailboxes " ----- lists ----- " "=."
31named-mailboxes " 🔢 l/crypto" "=lists/crypto"
32named-mailboxes " 📅 l/remind" "=lists/remind"
33
34macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" # mw-autogenerated
35macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" # mw-autogenerated
36macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" # mw-autogenerated
37macro index,pager gs "<change-folder>=Sent<enter>" "go to sent" # mw-autogenerated
38macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent" # mw-autogenerated
39macro index,pager Cs ";<copy-message>=Sent<enter>" "copy mail to sent" # mw-autogenerated
40macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts" # mw-autogenerated
41macro index,pager Md ";<save-message>=Drafts<enter>" "move mail to drafts" # mw-autogenerated
42macro index,pager Cd ";<copy-message>=Drafts<enter>" "copy mail to drafts" # mw-autogenerated
43macro index,pager gj "<change-folder>=Junk<enter>" "go to junk" # mw-autogenerated
44macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk" # mw-autogenerated
45macro index,pager Cj ";<copy-message>=Junk<enter>" "copy mail to junk" # mw-autogenerated
46macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" # mw-autogenerated
47macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" # mw-autogenerated
48macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive" # mw-autogenerated
49macro index,pager gc "<change-folder>=crypto<enter>" "go to crypto"
50macro index,pager Mc ";<save-message>=crypto<enter>" "move mail to crypto"
51macro index,pager Cc ";<copy-message>=crypto<enter>" "copy mail to crypto"
52
53set status_format="yigitsever.com: %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"
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc
index 6bb2b11..55762c0 100644
--- a/.config/mutt/muttrc
+++ b/.config/mutt/muttrc
@@ -1,15 +1,160 @@
1# vim: filetype=neomuttrc 1# vim: filetype=neomuttrc
2source /usr/local/share/mutt-wizard/mutt-wizard.muttrc # mw-autogenerated 2############
3source /home/yigit/.config/mutt/accounts/1-ceng_argor.muttrc # mw-autogenerated 3# stolen #
4macro index,pager i1 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/1-ceng_argor.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to yigit@ceng.metu.edu.tr" # mw-autogenerated 4############
5macro index,pager i2 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/2-metu_argor.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to ysever@metu.edu.tr" # mw-autogenerated 5set mailcap_path = /home/yigit/.config/mutt/mailcap
6macro index,pager i3 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/3-ceng_stu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to e2482057@ceng.metu.edu.tr" # mw-autogenerated 6set date_format="%y/%m/%d %I:%M%p"
7macro index,pager i4 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/4-metu_stu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to e248205@metu.edu.tr" # mw-autogenerated 7set smtp_authenticators = 'gssapi:login'
8macro index,pager i5 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/5-xyz.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to yigit@yigitsever.com" # mw-autogenerated 8set rfc2047_parameters = yes
9set mark_old = no # Unread mail stay unread until read
10set mime_forward = yes # attachments are forwarded with mail
11set fast_reply # skip to compose when replying
12set fcc_attach # save attachments with the body
13set forward_format = "Fwd: %s" # format of subject when forwarding
14set forward_quote # include message in forwards
15set reverse_name # reply as whomever it was to
16set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example)
17auto_view text/html # automatically show html (mailcap uses w3m)
18auto_view application/pgp-encrypted
19alternative_order text/plain text/enriched text/html
20bind index,pager i noop
21bind index,pager g noop
22bind index \Cf noop
23
24# General rebindings
25bind index j next-entry
26bind index k previous-entry
27bind attach <return> view-mailcap
28bind attach l view-mailcap
29bind editor <space> noop
30bind index G last-entry
31bind index gg first-entry
32bind pager,attach h exit
33bind pager j next-line
34bind pager k previous-line
35bind pager l view-attachments
36bind index D delete-message
37bind index U undelete-message
38bind index L limit
39bind index h noop
40bind index l display-message
41bind index,query <space> tag-entry
42macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
43bind index,pager H view-raw-message
44bind browser l select-entry
45bind pager,browser gg top-page
46bind pager,browser G bottom-page
47bind index,pager,browser d half-down
48bind index,pager,browser u half-up
49bind index,pager S sync-mailbox
50bind index,pager R group-reply
51bind index \031 previous-undeleted # Mouse wheel
52bind index \005 next-undeleted # Mouse wheel
53bind pager \031 previous-line # Mouse wheel
54bind pager \005 next-line # Mouse wheel
55bind editor <Tab> complete-query
56
57macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
58macro index O "<shell-escape>mbsync -a<enter>" "run mbsync to sync all mail"
59macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>read -p 'Enter a search term to find with notmuch: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"
60macro index a "<limit>all\n" "show all messages (undo limit)"
61
62# Sidebar mappings
63set sidebar_visible = yes
64set sidebar_width = 20
65set sidebar_short_path = yes
66set sidebar_next_new_wrap = yes
67set mail_check_stats
68bind index,pager \Ck sidebar-prev
69bind index,pager \Cj sidebar-next
70bind index,pager \Co sidebar-open
71bind index,pager \Cp sidebar-prev-new
72bind index,pager \Cn sidebar-next-new
73bind index,pager B sidebar-toggle-visible
74
75# Default index colors:
76color index yellow default '.*'
77color index_author red default '.*'
78color index_number blue default
79color index_subject cyan default '.*'
80
81# New mail is boldened:
82color index brightyellow black "~N"
83color index_author brightred black "~N"
84color index_subject brightcyan black "~N"
85
86# Tagged mail is highlighted:
87color index brightyellow blue "~T"
88color index_author brightred blue "~T"
89color index_subject brightcyan blue "~T"
90
91# Other colors and aesthetic settings:
92mono bold bold
93mono underline underline
94mono indicator reverse
95mono error bold
96color normal default default
97color indicator brightblack white
98color sidebar_highlight red default
99color sidebar_divider brightblack black
100color sidebar_flagged red black
101color sidebar_new green black
102color normal brightyellow default
103color error red default
104color tilde black default
105color message cyan default
106color markers red white
107color attachment white default
108color search brightmagenta default
109color status brightyellow black
110color hdrdefault brightgreen default
111color quoted green default
112color quoted1 blue default
113color quoted2 cyan default
114color quoted3 yellow default
115color quoted4 red default
116color quoted5 brightred default
117color signature brightgreen default
118color bold black default
119color underline black default
120color normal default default
121
122# Regex highlighting:
123color header blue default ".*"
124color header brightmagenta default "^(From)"
125color header brightcyan default "^(Subject)"
126color header brightwhite default "^(CC|BCC)"
127color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
128color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
129color body green default "\`[^\`]*\`" # Green text between ` and `
130color body brightblue default "^# \.*" # Headings as bold blue
131color body brightcyan default "^## \.*" # Subheadings as bold cyan
132color body brightgreen default "^### \.*" # Subsubheadings as bold green
133color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
134color body brightcyan default "[;:][-o][)/(|]" # emoticons
135color body brightcyan default "[;:][)(|]" # emoticons
136color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
137color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
138color body red default "(BAD signature)"
139color body cyan default "(Good signature)"
140color body brightblack default "^gpg: Good signature .*"
141color body brightyellow default "^gpg: "
142color body brightyellow red "^gpg: BAD signature from.*"
143mono body bold "^gpg: Good signature"
144mono body bold "^gpg: BAD signature from.*"
145color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
9 146
10bind generic z noop 147bind generic z noop
11bind generic Z noop 148bind generic Z noop
12 149
150source /home/yigit/.config/mutt/accounts/1-ceng_argor.muttrc
151macro index,pager i1 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/1-ceng_argor.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to yigit@ceng.metu.edu.tr"
152macro index,pager i2 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/2-metu_argor.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to ysever@metu.edu.tr"
153macro index,pager i3 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/3-ceng_stu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to e2482057@ceng.metu.edu.tr"
154macro index,pager i4 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/4-metu_stu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to e248205@metu.edu.tr"
155macro index,pager i5 '<sync-mailbox><enter-command>source /home/yigit/.config/mutt/accounts/5-xyz.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to yigit@yigitsever.com"
156
157# to set vim autocommands
13set tmpdir="/tmp/neomutt" 158set tmpdir="/tmp/neomutt"
14 159
15# character set for outgoing messages 160# character set for outgoing messages
@@ -64,20 +209,12 @@ set sleep_time=0
64set abort_nosubject=no 209set abort_nosubject=no
65set abort_unmodified=no 210set abort_unmodified=no
66 211
67# # Cache message headers here. This takes very little space and makes opening large folders much faster.
68# # See header-caching
69# # Big conf file does this for us, ~y
70# set header_cache=~/.config/mutt/cache/headers/
71
72# # Make things faster at the cost of a negligible amount of disk space.
73# # See <file:///usr/share/doc/neomutt/manual.html#body-caching>.
74# # Big conf file does this for us
75# set message_cachedir=~/.config/mutt/cache/
76
77# TODO: maybe check out <https://github.com/pimutils/mates.rs>. 212# TODO: maybe check out <https://github.com/pimutils/mates.rs>.
78set query_command="khard email --parsable '%s'" 213set query_command="khard email --parsable '%s'"
79# The editor menu is "command-line mode", i.e., what you when hitting colon. 214# The editor menu is "command-line mode", i.e., what you when hitting colon.
80# See <file:///usr/share/doc/neomutt/manual.html#editor-map>. 215# See <file:///usr/share/doc/neomutt/manual.html#editor-map>.
216unset query_command
217# TODO: and we are immediately unsetting it, dunno why <12-10-21, yigit> #
81 218
82# When a message contains both plain text and HTML, prefer viewing plain text. 219# When a message contains both plain text and HTML, prefer viewing plain text.
83alternative_order text/plain text/html 220alternative_order text/plain text/html
@@ -87,8 +224,8 @@ bind editor <Tab> complete-query
87# The format string reduces the amount of information compared to the default and doesn't use hyphens for padding. 224# The format string reduces the amount of information compared to the default and doesn't use hyphens for padding.
88# See <http://www.mutt.org/doc/manual/#status-format>. 225# See <http://www.mutt.org/doc/manual/#status-format>.
89# 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" 226# 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"
90# set index_format="hi"
91set index_format="%2C %Z %?X?A& ? %[%e %b %y %R] %-15.15F %s (%-4.4c)" 227set index_format="%2C %Z %?X?A& ? %[%e %b %y %R] %-15.15F %s (%-4.4c)"
228set sidebar_format = "%D%?F? [%F]?%* %?N?%N/? %?S?%S?"
92 229
93# See <file:///usr/share/doc/neomutt/manual.html#compose-format>). 230# See <file:///usr/share/doc/neomutt/manual.html#compose-format>).
94# Also get rid of the hyphens again. 231# Also get rid of the hyphens again.
@@ -106,8 +243,6 @@ set crypt_opportunistic_encrypt = no
106set pgp_self_encrypt = yes 243set pgp_self_encrypt = yes
107set pgp_default_key = 198466C2F5664940F73A1715B87B63C533C38A88 244set pgp_default_key = 198466C2F5664940F73A1715B87B63C533C38A88
108 245
109unset query_command
110
111macro index,pager A \ 246macro index,pager A \
112 "<pipe-message>khard add-email<return>" \ 247 "<pipe-message>khard add-email<return>" \
113 "add the sender email address to khard" 248 "add the sender email address to khard"
@@ -145,5 +280,3 @@ color index_flags color239 default "EDAS"
145color index_subject color239 default "~f @igi-global.com" 280color index_subject color239 default "~f @igi-global.com"
146color index_author color239 default "~f @igi-global.com" 281color index_author color239 default "~f @igi-global.com"
147color index_flags color239 default "~f @igi-global.com" 282color index_flags color239 default "~f @igi-global.com"
148
149set sidebar_format = "%D%?F? [%F]?%* %?N?%N/? %?S?%S?"