summaryrefslogtreecommitdiff
path: root/neomutt/neomuttrc
blob: cc43a4d6777f210b055e66992134fa3698cf2db8 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
set mbox_type=Maildir
set folder=~/Mail/personal
set header_cache=~/Mail/mutt_cache
#set record=~/Mail/personal/Sent
set message_cachedir=~/Mail/mutt_cache
set spoolfile=+"Inbox"
set postponed=+"Drafts"
set trash=+"Trash"
mailboxes +"Inbox"
mailboxes +"Spam"
mailboxes +"Archives"
mailboxes +"Sent"
mailboxes +"Trash"
set date_format="%Y-%m-%d"
set index_format="%d %Z %-20.20F %s" # format of the index
set imap_check_subscribed # Grab the list of all folders from IMAP server
set realname="`pass show personal.email|awk '/realname:/ {print $2}'`"
set from="`pass show personal.email|awk '/^email:/ {print $2}'`"
set smtp_pass="`pass show personal.email|awk 'NR==1'`"
set smtp_url="`pass show personal.email|awk '/^smtp_url:/ {print $2}'`"
set ssl_force_tls=yes
set ssl_starttls=yes
set use_from=yes
set edit_headers=no
set sort=threads
set sort_aux=last-date-received
# Flowed format
set text_flowed
set mark_old=no # Don't auto-mark messages as "old"
set score_threshold_delete=-1 # Never auto-mark a message for deletion.
ignore * # Hide all headers by default
unignore "From:" # Show this header
unignore "To:" # Show this header
unignore "Cc:" # Show this header
unignore "Bcc:" # Show this header
unignore "Date:" # Show this header
unignore "Subject:" # Show this header
set text_flowed=yes # To prevent breaking of long lines
set mailcap_path 	= ~/dotfiles/neomutt/mailcap
auto_view text/html # view html automatically
alternative_order text/plain text/enriched text/html # save html for last
color index red default ~P
color index_author bold red default "~s.*"
color index_subject yellow default "~s.*"
color index_size yellow default "~s.*"
set fast_reply=yes # Avoid confirmation of reply address
set include=yes
set sidebar_visible=yes
set pager_context=3
set pager_stop=yes
set shell="/bin/sh"
set ispell="aspell -e -c"
set wait_key=no
#unset markers # Dont add a '+' to urls that wrap
set arrow_cursor=no
set fast_reply=yes
set mail_check_stats=yes
# neomutt-specific
set sidebar_visible
set sidebar_format="%B%?F? [%F]?%* %?N?%N/?%S"
set query_command= "muttquery.sh %s" # TODO
bind editor <Tab> complete-query
bind editor ^T complete
macro index,pager \Cr "<shell-escape>mbsync -a<return>" "refresh mailbox"
macro index \Ca "<save-message>=Archives<enter><enter-command>echo 'Saved to archive'<enter>"
bind index,pager G bottom	# just like vi and less
bind index,pager \Cp sidebar-prev # Ctrl-P - Previous Mailbox
bind index,pager \Cn sidebar-next # Ctrl-N - Next Mailbox
bind index,pager \Co sidebar-open # Ctrl-O - Open Highlighted Mailbox
source /usr/share/neomutt/colorschemes/zenburn.neomuttrc