-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmuttrc
89 lines (76 loc) · 2.53 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
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
# About Me
set from = "<emailid>"
set realname = "<name>"
set signature = "$HOME/.mutt/signature"
# My credentials
set smtp_url = "smtp://<emailid>@smtp.gmail.com:587/"
set imap_user = "<emailid>"
# My mailboxes
set folder = "imaps://<emailid>@imap.gmail.com:993/"
set spoolfile = "+INBOX"
set mbox_type = "Maildir"
set record = "+Sent"
set trash = "+Trash"
set postponed = "+Drafts"
mailboxes =INBOX =Sent =Trash =Drafts
# Where to put the stuff
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
# Options
set timeout = 5
set mail_check = 30
set move = no
set imap_keepalive = 900
set sort = threads
set sort_aux = last-date-received
set editor = "vim"
# for converting UTC to IST in messages
# display_filter pipes message through an executable before showing
set display_filter="exec sed -r \"s/^Date:\\s*(([F-Wa-u]{3},\\s*)?[[:digit:]]{1,2}\\s+[A-Sa-y]{3}\\s+[[:digit:]]{4}\\s+[[:digit:]]{1,2}:[[:digit:]]{1,2}(:[[:digit:]]{1,2})?\\s+[+-][[:digit:]]{4})/date +'Date: %a, %d %b %Y %H:%M:%S %z' -d '\\1'/e\""
#
# Italicizing _word_ to
# set display_filter="exec <command>"
#
# Remove delete marked messages from the server
set maildir_trash = no
# Beep on new messages
set beep_new
# Dont insert + char for wrapped lines
bind pager <up> previous-line
bind pager <down> next-line
unset markers
# Don't collapse if any unread message in the thread
set collapse_unread = no
# GnuPG bootstrap
# source "gpg -dq $HOME/.mutt/passwords.gpg |"
# Navigation
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
# Reply to all recipients
bind index,pager R group-reply
# Sidebar
set sidebar_visible
bind index,pager B sidebar-toggle-visible # Use 'B' to switch the Sidebar on and off
set sidebar_width = 25 # Plenty of space
set sidebar_divider_char = ' ▒ ' # Pretty line-drawing character
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Co sidebar-open
bind index,pager \Cp sidebar-prev-new
bind index,pager \Cn sidebar-next-new
set mail_check_stats
# ripMIME
macro index,pager X "<pipe-message>ripmime -i - -d ~/Downloads/mail-attachs/"
# Aliases
source "$HOME/.mutt/aliases"
# colorschemes
# source "$HOME/.mutt/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc"
source "$HOME/.mutt/colors.muttrc"