aboutsummaryrefslogtreecommitdiff
path: root/mutt/muttrc
blob: 8b36082f24feabd2b1f6d1a4629f22480f9acfd5 (plain) (blame)
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
124
125
126
127
128
129
130
# Names
set from     = 'tej.ryder@gmail.com'
set realname = 'Tom Ryder'
set use_from = yes

# SMTP implementation
set sendmail = '/usr/bin/msmtp'

# Mailbox type and location
set mbox_type = 'Maildir'
set folder    = '~/Mail/'

# Submailboxes
set spoolfile = '+inbox'
set postponed = '+drafts'
set record    = '+sent'
mailboxes !

# Addresses
set query_command = 'abook --mutt-query %s'

# Alternates
source ~/.mutt/alternates
set reverse_name = yes

# Alerts
set beep_new = yes

# Caching
set header_cache = '~/.cache/mutt/headers'

# Colors
color indicator black   white
color normal    default default
color status    white   color22
color tree      default default

# Completion
bind editor <Tab> complete-query
bind editor ^T    complete

# Files
set delete = yes
set move   = no

# Flags
set mark_old = no

# Headers
hdr_order Date From To Cc
my_hdr X-PGP-Key: http://static.sanctum.geek.nz/thomas-ryder.asc

# Index
set index_format='%4C %Z %{%b %d %Y} %-15.15L (%?l?%4l&%4c?) %s'

# Interaction
set confirmappend = no
set wait_key      = no
set quit          = ask-yes

# Intervals
set mail_check = 5
set sleep_time = 0

# Mailboxes
set confirmcreate = yes

# Menus
set menu_context = 1

# Pager
set pager_context = 1
set pager_format  = '%4C %Z %[!%b %e at %I:%M %p]  %.20n  %s%* -- (%P)'
set pager_stop    = yes

# Presentation/formatting
set markers     = no
set smart_wrap  = yes
set text_flowed = yes
set tilde       = yes
alternative_order text/plain text/html *
auto_view text/html

# Responses
set fast_reply        = yes
set forward_format    = 'Fw: %s'
set include           = yes
set use_envelope_from = yes

# Searching/sorting
set sort            = 'reverse-threads'
set sort_aux        = 'last-date-received'
set strict_threads  = yes
set thorough_search = yes

# Signature
set signature  = '~/.mutt/signature'
set sig_on_top = yes

# Encryption settings
set crypt_replysign          = yes
set crypt_replysignencrypted = yes
set crypt_verify_sig         = yes

# PGP/GPG
set pgp_use_gpg_agent        = yes
set pgp_clearsign_command    = 'gpg --no-verbose --batch --output - --armor --textmode --clearsign %?a?-u %a? %f'
set pgp_decode_command       = 'gpg %p --no-verbose --batch --output - %f'
set pgp_decrypt_command      = 'gpg --no-verbose --batch --output - %f'
set pgp_encrypt_only_command = '/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f'
set pgp_encrypt_sign_command = '/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f'
set pgp_export_command       = 'gpg --no-verbose --export --armor %r'
set pgp_good_sign            = '^gpg: Good signature from'
set pgp_import_command       = 'gpg --no-verbose --import -v %f'
set pgp_list_pubring_command = 'gpg --no-verbose --batch --with-colons --list-keys %r'
set pgp_list_secring_command = 'gpg --no-verbose --batch --with-colons --list-secret-keys %r'
set pgp_sign_command         = 'gpg --no-verbose --batch --output - --armor --detach-sign --textmode %?a?-u % a? %f'
set pgp_verify_command       = 'gpg --no-verbose --batch --output - --verify %s %f'
set pgp_verify_key_command   = 'gpg --no-verbose --batch --fingerprint --check-sigs %r'

# Vim-ish bindings
bind index gg first-entry
bind index G  last-entry
bind pager gg top
bind pager G  bottom
bind index,pager \Cu half-up
bind index,pager \Cd half-down
bind generic,index,browser,pager \Cf next-page
bind generic,index,browser,pager \Cb previous-page