-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc
59 lines (47 loc) · 1.59 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
set realname = "Romain Perier"
set from = "<gmail email here>"
set use_from = yes
set envelope_from = yes
set smtp_url = "smtps://<gmail email here>@smtp.gmail.com:465/"
set smtp_pass = "<password here>"
set imap_user = "<gmail email here>"
set imap_pass = "<password here>"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set ssl_force_tls = yes
set record = ""
set postponed = "+[Gmail]/Drafts"
set mbox="imaps://imap.gmail.com/[Gmail]/All Mail"
set trash="imaps://imap.gmail.com/[Gmail]/Trash"
# G to get mail
bind index G imap-fetch-mail
set editor = "vim"
set charset = "utf-8"
bind pager <up> previous-line #scroll inside the message rather than the index
bind pager <down> next-line
# Sort by date in reverse order (last received on top)
set sort=reverse-date
# Alwats gpgsign mails
set crypt_autosign=yes
## Cache
# Cache mail headers locally (so next mail fetching are faster)
set header_cache = "~/.mutt/cache/headers"
# Cache mail body locally (so next mail fetching are faster)
set message_cachedir = "~/.mutt/cache/bodies"
## Side bar
set sidebar_visible=no
mailboxes "+PUT_YOUR_LABELS_HERE"
# ctrl-n, ctrl-p to select next, prev folder
# ctrl-o to open selected folder
bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open
# s toggles sidebar visibility
macro index s '<enter-command>toggle sidebar_visible<enter>'
macro pager s '<enter-command>toggle sidebar_visible<enter>'
source ~/.mutt/lapis256.muttrc
source ~/.mutt/email-credentials
source /etc/Muttrc.d/gpg.rc