summaryrefslogtreecommitdiff
path: root/.mutt/muttrc
blob: 4d47d519985515ca8254b4ac744d44f76e3992eb (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
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
# General information
set from             = "u.vaes13@imperial.ac.uk"
set realname         = "Urbain Vaes"
set use_from         = yes
set envelope_from    = yes
set weed

# Encryption
source /usr/share/doc/mutt-kz/samples/gpg.rc
set pgp_use_gpg_agent = yes
set pgp_sign_as = 08AC6A48
set pgp_timeout = 3600
set crypt_autosign = no
set crypt_replyencrypt = yes
set fcc_clear = yes

# Folders
set folder           = ~/.mail
set alias_file       = ~/.mutt/alias
set header_cache     = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set mailcap_path     = ~/.mutt/mailcap
set tmpdir           = ~/.mutt/temp
set signature        = ~/.mutt/sig

# Maildirs
set spoolfile = "+Main/Main"
set record    = "+Main/Sent"
set postponed = "+Main/Drafts"

# Sidebar
set sidebar_width=26
set sidebar_visible = yes
set sidebar_delim='|'

# Headers
ignore *
unignore from: to: cc: date: subject:
unhdr_order *
hdr_order from: to: cc: date: subject:

mailboxes +Main/Main \
          +Imperial/Imperial \
          +Hotmail/Hotmail \
          +Gmail/Gmail \
          +Main/Sent \
          +Main/Drafts \

# Prompts
set delete = yes
set quit = yes

# Pager
set pager_index_lines = 10
set pager_context = 0
set pager_stop
set reverse_alias
set menu_scroll
set tilde
unset markers
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
alternative_order text/plain text/enriched text/html

# Editor
set editor="vim --noplugin"
set include=yes

# Program to send mails
set sendmail="/usr/bin/msmtp"

# Sorting options
set sort = reverse-date

# Alias file
source ~/.mutt/alias

# HTML messages
auto_view text/html

# Key bindings
bind   index,pager \Cf   next-page
bind   index,pager \Cb   previous-page
bind   index,pager "}" sidebar-next
bind   index,pager "{" sidebar-prev
bind   index,pager O sidebar-open

bind   index   gg    first-entry
bind   index   G     last-entry
bind   index   i     flag-message

bind   pager   \Ce  next-line
bind   pager   \Cy  previous-line
bind   pager   j    next-entry
bind   pager   k    previous-entry
bind   pager   R    group-reply

# Source mutt solarized
`[ "$COLORSCHEME" = "light" ] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-light-16.muttrc || echo set`
`[ "$COLORSCHEME" = "dark" ] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-dark-16.muttrc || echo set`
`[ "$COLORSCHEME" = "default" ] && echo source $HOME/.mutt/solarized/mutt-colors-solarized-dark-16.muttrc || echo set`

color index red default "~F"
color index brightblue default "~f edfenergy"
color index brightblue default "~f terravision"
color index magenta default "~f avaaz"
color index magenta default "~f santos"
color index magenta default "~f rusudan"
color index cyan default "~U"
color index green default "~f pavliotis"
color index green default "~f abdulle"