-
Notifications
You must be signed in to change notification settings - Fork 0
/
.muttrc
123 lines (103 loc) · 3.81 KB
/
.muttrc
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# Sets up mail box in your home folder
set smtp_authenticators = 'gssapi:login'
set mbox_type=maildir
set mbox="~/mail/inbox/"
set spoolfile="~/mail/inbox/"
set folder="~/mail/"
set record="~/mail/sent/"
set postponed="~/mail/postponed/"
#Gmail account info
set from = "john@zode64.com"
set realname = "John Bower"
set imap_user = "john@zode64.com"
set imap_pass = "mdhr npkk sdaa zrrx"
#My Editor
# set editor='vim + -c "set ft=mail" -c "set textwidth=72" -c "set wrap" -c "set nocp" -c "?^$"'
set editor='vim + -c "set ft=mail"'
##Folders
#Remote Folders
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
#Local Folders
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
##SMTP Setup
set smtp_url = "smtp://john@zode64.com@smtp.googlemail.com:587/"
set smtp_pass = "mdhr npkk sdaa zrrx"
## Attachements
set mime_forward=yes
#Special Keybindings
bind editor <space> noop
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
#Mutt Session Security
set move = no #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900
# Colors
color hdrdefault cyan default
color attachment yellow default
color header brightyellow default "From: "
color header brightyellow default "Subject: "
color header brightyellow default "Date: "
color quoted green default
color quoted1 cyan default
color quoted2 green default
color quoted3 cyan default
color error red default # error messages
color message white default # message informational messages
color indicator white red # indicator for the "current message"
color status white blue # status lines in the folder index sed for the mini-help line
color tree red default # the "tree" display of threads within the folder index
color search white blue # search matches found with search within the internal pager
color markers red default # The markers indicate a wrapped line
color index red default '~O'
color index red default '~N'
color index brightred default '~F' # Flagged Messages are important!
color index blue default '~D' # Deleted Mails - use dark color as these are already "dealt with"
# identifies email addresses
color body brightred black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
# identifies URLs
color body brightblue black (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
# To make links selectable in pager
macro pager \cw <pipe-entry>'urlview'<enter> 'Follow links with urlview'
# bind generic q noop
# bind generic ,q exit
# Postpone
bind postpone gg first-entry
bind postpone G last-entry
bind postpone \cf next-page
bind postpone \cb previous-page
bind postpone dd delete-entry
bind postpone u undelete-entry
bind postpone l select-entry
# Index mappings
bind index gg first-entry
bind index G last-entry
bind index \cf next-page
bind index \cb previous-page
bind index / limit
bind index mr read-thread
bind index mn mail
# Doesn't seem to work
# bind index \cr imap-fetch-mail
bind index \cr imap-fetch-mail
bind index l display-message
# Pager mappings
bind pager \cf next-page
bind pager \cb previous-page
bind pager j next-line
bind pager k previous-line
bind pager h exit
# threading preferences, sort by threads
set sort=threads
set sort_aux=last-date-received
set strict_threads=yes
# Configure alias file
set alias_file = "~/.mutt/aliases"
set sort_alias = alias
set reverse_alias = yes
source $alias_file