forked from optinull/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmuttrc
More file actions
39 lines (31 loc) · 1.09 KB
/
muttrc
File metadata and controls
39 lines (31 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Config partially (bridge specific) from:
# https://spaceandtim.es/code/protonmail_mutt/
set mbox_type=Maildir
set folder=~/.mail/
set record=+Sent
set postponed=+Drafts
set trash=+Trash
set spoolfile=+INBOX
set mail_check=2 # seconds
source ~/.muttkeys/f3rno
set smtp_url = smtp://$my_user:$my_pass@127.0.0.1:1025
set ssl_starttls
# workaround for https://github.com/neomutt/neomutt/issues/1211
set imap_authenticators=login
set from = "f3rnok@protonmail.com"
set realname = "Cris M"
set mail_check = 120 # s
set editor="nvim"
set sort=reverse-date-received
# Macros
macro index A ":set confirmappend=no delete=yes\n<save-message>=Archive\n<sync-mailbox>:set confirmappend=yes delete=ask-yes\n"
# Mark read
bind pager . noop
bind index . noop
macro index .r "<tag-pattern>.<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>"
macro pager .r "<tag-pattern>.<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>"
# Abook
set query_command = "abook --mutt-query '%s'"
bind editor <Tab> complete-query
source ~/.mutt/colors-gruvbox-shuber.muttrc
source ~/.mutt/colors-gruvbox-shuber-extended.muttrc