aboutsummaryrefslogtreecommitdiff
path: root/mutt/muttrc
blob: f17bdfa06934e033eb6d7672cad58776348de29c (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
set editor="vim"
set my_name="Karel Kočí"
set edit_headers=yes

hdr_order Date From To Cc #Sorting emails by the given criteria (from left to right)
set pager_index_lines= 5
set sort=reverse-threads
set sort_aux=last-date-received
set mailcap_path = "~/.mutt/mailcap"
set sleep_time = 0
set delete = yes

auto_view text/html
alternative_order text/enriched text/plain text/html 
macro attach 'V' "<pipe-entry>cat >~/.cache/mutt/mail.html && conkeror ~/.cache/mutt/mail.html && rm ~/.cache/mutt/mail.html<enter>"

source ~/.mutt/gpg.rc
set pgp_use_gpg_agent = yes
set pgp_sign_as = 2B1F70F95F1B48DA2265A7FAA6BC8B8CEB31659B
set pgp_timeout = 3600
set crypt_autosign = yes
set crypt_replyencrypt = yes
set sendmail="/usr/bin/msmtp --read-envelope-from"

set query_command= "abook --mutt-query '%s'"
bind editor        <Tab> complete-query

set sidebar_visible = yes
bind index,pager B sidebar-toggle-visible
# Ctrl-n, Ctrl-p to select next, previous folder.
# Ctrl-o to open selected folder.
bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open

bind pager j next-line
bind pager k previous-line
bind attach,index,pager \CD next-page
bind attach,index,pager \CU previous-page
bind pager g top
bind pager G bottom
bind attach,index g first-entry
bind attach,index G last-entry

macro index <F3> ':source ~/.mutt/muttemail<enter>c~/.mail/email/INBOX<enter>'

source ~/.mutt/color

# As default open email
source ~/.mutt/muttemail