comparison mutt/muttrc @ 359:1a8e250fdf9d

Mutt config changes.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 20 Dec 2016 22:01:13 -0800
parents 386588661868
children ff48d206d1f1
comparison
equal deleted inserted replaced
358:a951ca3b5d8c 359:1a8e250fdf9d
1 1
2 # Connection 2 # Main stuff.
3 set folder = "imaps://$my_imap"
4 set imap_user = "$my_user"
5 set imap_pass = "$my_pass"
6 set smtp_url = "smtps://$my_user@$my_smtp"
7 set smtp_pass = "$my_pass"
8 set from = "$my_user" 3 set from = "$my_user"
9 set realname = "$my_realname" 4 set realname = "$my_realname"
10 5
11 set imap_check_subscribed
12 set imap_idle
13 6
14 7 # Folders... apparently Mutt doesn't pull all of them automatically.
15 # Folders 8 mailboxes = "imaps://$my_imap/$my_folder_inbox" \
16 set folder = "imaps://$my_url/$my_folder_inbox" 9 "imaps://$my_imap/Sent Items" \
17 set spoolfile = "imaps://$my_url/$my_folder_inbox" 10 "imaps://$my_imap/Drafts" \
18 set record = "imaps://$my_url/$my_folder_sent" 11 "imaps://$my_imap/Archive" \
19 set postponed = "imaps://$my_url/$my_folder_drafts" 12 "imaps://$my_imap/MailingLists" \
13 "imaps://$my_imap/Newsletters" \
14 "imaps://$my_imap/Trash"
20 15
21 16
22 # Basic config 17 # Basic config
23 set editor = "vim" 18 #set editor = "vim"
24 set hostname = "$my_hostname" 19 set editor = "vim +/^$ ++1 -c 'set tw=76 expandtab nosmartindent spell'"
20 #set hostname = "$my_hostname"
25 set header_cache=~/.mutt/cache/headers 21 set header_cache=~/.mutt/cache/headers
26 set message_cachedir=~/.mutt/cache/bodies 22 set message_cachedir=~/.mutt/cache/bodies
27 set certificate_file=~/.mutt/certificates 23 set certificate_file=~/.mutt/certificates
28 set move = no 24 set move = no
29 set delete = yes 25 set delete = yes
30 set include
31 set sort = 'threads' 26 set sort = 'threads'
32 set sort_aux = 'reverse-last-date-received' 27 set sort_aux = 'reverse-last-date-received'
33 set auto_tag = yes 28 set auto_tag = yes
29 set pager_stop # Don't move to the next message automatically
30 set fast_reply # Don't ask stupid questions when replying
31 set include # Auto-quote
32 set reverse_name # Reply from the account the message was sent to
33 set use_envelope_from # Move or less same as previous
34 set quit = yes # Don't ask before quitting
35 set mark_old = no # Read/unread is enough
36 set beep_new = yes # Been when there are new messages
37 set pipe_decode # Strip headers and eval mimes when piping
38 set thorough_search # Strip headers and eval mimes before searching
39 set uncollapse_jump
40 set date_format = "%d/%m/%Y" # Show the date like you're civilized
41 set index_format = "[%Z] %D %-20.20F %s"
42 set collapse_unread
43
34 ignore "Authentication-Results:" 44 ignore "Authentication-Results:"
35 ignore "DomainKey-Signature:" 45 ignore "DomainKey-Signature:"
36 ignore "DKIM-Signature:" 46 ignore "DKIM-Signature:"
37 hdr_order Date From To Cc 47 hdr_order Date From To Cc
38 alternative_order text/plain text/html * 48 alternative_order text/plain text/html *
39 auto_view text/html 49 auto_view text/html
50
40 bind editor <Tab> complete-query 51 bind editor <Tab> complete-query
41 bind editor ^T complete 52 bind editor ^T complete
42 bind editor <space> noop 53
54 bind index <tab> sync-mailbox
55 bind index <space> collapse-thread
56
57 bind index gg first-entry
58 bind index G last-entry
59
60 bind index R group-reply
61
62
63 # Pager
64 set pager_index_lines = 10 # number of index lines to show
65 set pager_context = 3 # number of context lines to show
66 set pager_stop # don't go to next message automatically
67 set menu_scroll # scroll in menus
68 set tilde # show tildes like in vim
69 unset markers # no ugly plus signs
70
71 set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
72 alternative_order text/plain text/enriched text/html
73
74 bind pager k previous-line
75 bind pager j next-line
76 bind pager gg top
77 bind pager G bottom
78
79 bind pager R group-reply
80
81 bind attach <return> view-mailcap # View attachements properly
82
83 macro pager \Cu "|urlview<enter>" "call urlview to open links"
84
85
86 # Status bar
87 set status_chars = " *%A"
88 set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
89
90
91 # Sidebar
92 set sidebar_visible
93 set sidebar_short_path
94 set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
95 set mail_check_stats
96
97 bind index,pager B sidebar-toggle-visible
98 bind index,pager <down> sidebar-next
99 bind index,pager <up> sidebar-prev
100 bind index,pager <right> sidebar-open
43 101
44 102
45 # Gmail-style keyboard shortcuts 103 # Gmail-style keyboard shortcuts
46 #macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message" 104 #macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
47 #macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n <delete-message>" "Gmail delete message" 105 #macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n <delete-message>" "Gmail delete message"