-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.muttrc
63 lines (53 loc) · 2.36 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
#IMAP: offlineimap
set mbox_type=Maildir
set folder = "~/NI"
source ~/Mutt/muttrc.mailboxes
set spoolfile = "+INBOX"
set record = "+Sent\ Items"
set postponed = "+Drafts"
set header_cache=~/.cache/mutt
set editor='vim'
source ~/.mutt_id.rc
set use_from = yes
set mailcap_path = ~/.mutt/mailcap
auto_view text/html
auto_view text/calendar
alternative_order text/enriched text/plain text/html
set send_charset="us-ascii:utf-8"
set text_flowed=yes
set sort = reverse-threads
set pager_index_lines=6
set beep_new = yes
set check_new = yes
set timeout = 120
source ~/.mutt/colors-solarized
#set query_command = "mutt_ldap.py '%s'"
#move to archive
macro index,pager y ":set confirmappend=no delete=yes\n<tag-prefix><save-message>=Archive<enter>:set confirmappend=yes delete=ask-yes\n" "mark message as Archived"
#Notmuch integration (mail indexer)
macro index <F8> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
<shell-escape>notmuch-mutt -r --prompt search<enter>\
<change-folder-readonly>`echo /home/mizaguir/.cache/notmuch/mutt/results`<enter>\
<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
"notmuch: search mail"
macro index <F9> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
<pipe-message>notmuch-mutt -r thread<enter>\
<change-folder-readonly>`echo /home/mizaguir/.cache/notmuch/mutt/results`<enter>\
<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
"notmuch: reconstruct thread"
macro index <F6> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\
<pipe-message>notmuch-mutt tag -- -inbox<enter>\
<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key=\$my_old_wait_key<enter>" \
"notmuch: remove message from inbox"
macro index .i "<limit>(~N|~F|~U)<Enter>" "view new/flag"
macro index .a "<limit>~A<Enter>" "view all"
macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
# 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