]> git.decadent.org.uk Git - dak.git/blob - config/homedir/.muttrc
remove unused code
[dak.git] / config / homedir / .muttrc
1 #
2 # System configuration file for Mutt
3 #
4
5 # default list of header fields to weed when displaying
6 #
7 ignore "from " received content- mime-version status x-status message-id
8 ignore sender references return-path lines
9 ignore date delivered-to precedence errors-to in-reply-to user-agent
10 ignore x-loop x-sender x-mailer x-msmail-priority x-mimeole x-priority
11 ignore x-accept-language x-authentication-warning
12
13 # emacs-like bindings
14 bind editor    "\e<delete>"    kill-word
15 bind editor    "\e<backspace>" kill-word
16
17 # map delete-char to a sane value
18 bind editor     <delete>  delete-char
19
20 # don't add the hostname to the From header
21 unset use_domain
22 # don't generate a From header
23 unset use_from
24
25 # Specifies how to sort messages in the index menu.
26 set sort=threads
27
28 # Exim does not remove Bcc headers
29 unset write_bcc
30 # Postfix and qmail use Delivered-To for detecting loops
31 unset bounce_delivered
32
33 # imitate the old search-body function
34 macro index \eb '/~b ' 'search in message bodies'
35
36 # simulate the old url menu
37 macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
38 macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
39
40 # Show documentation when pressing F1
41 macro generic <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
42 macro index   <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
43 macro pager   <f1> "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation"
44
45 # Use folders which match on \\.gz$ as gzipped folders:
46 open-hook \\.gz$ "gzip -cd %f > %t"
47 close-hook \\.gz$ "gzip -c %t > %f"
48 append-hook \\.gz$ "gzip -c %t >> %f"
49
50 # Use folders which match on \\.xz$ as xz compressed folders:
51 open-hook \\.xz$ "xz -cd %f > %t"
52 close-hook \\.xz$ "xz -c %t > %f"
53 append-hook \\.xz$ "xz -c %t >> %f"
54
55 # colors
56 color normal    white black
57 color attachment brightyellow black
58 color hdrdefault cyan black
59 color indicator black cyan
60 color markers   brightred black
61 color quoted    green black
62 color signature cyan black
63 color status    brightgreen blue
64 color tilde     blue black
65 color tree      red black
66
67 # aliases for broken MUAs
68 charset-hook windows-1250 CP1250
69 charset-hook windows-1251 CP1251
70 charset-hook windows-1252 CP1252
71 charset-hook windows-1253 CP1253
72 charset-hook windows-1254 CP1254
73 charset-hook windows-1255 CP1255
74 charset-hook windows-1256 CP1256
75 charset-hook windows-1257 CP1257
76 charset-hook windows-1258 CP1258
77
78 ##
79 ## More settings
80 ##
81 set ispell=ispell
82
83 # GnuPG configuration
84 set pgp_decode_command="/usr/bin/gpg   --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet  --batch  --output - %f"
85 set pgp_verify_command="/usr/bin/gpg   --status-fd=2 --no-verbose --quiet  --batch  --output - --verify %s %f"
86 set pgp_decrypt_command="/usr/bin/gpg   --status-fd=2 --passphrase-fd 0 --no-verbose --quiet  --batch  --output - %f"
87 set pgp_sign_command="/usr/bin/gpg    --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
88 set pgp_clearsign_command="/usr/bin/gpg   --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
89 set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg    --batch  --quiet  --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
90 set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg  --passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
91 set pgp_import_command="/usr/bin/gpg  --no-verbose --import -v %f"
92 set pgp_export_command="/usr/bin/gpg   --no-verbose --export --armor %r"
93 set pgp_verify_key_command="/usr/bin/gpg   --verbose --batch  --fingerprint --check-sigs %r"
94 set pgp_list_pubring_command="/usr/bin/gpg   --no-verbose --batch --quiet   --with-colons --list-keys %r"
95 set pgp_list_secring_command="/usr/bin/gpg   --no-verbose --batch --quiet   --with-colons --list-secret-keys %r"
96 set pgp_good_sign="^\\[GNUPG:\\] VALIDSIG"
97
98 set nomove
99 bind    pager           <up>            previous-line
100 bind    pager           <down>          next-line
101 bind    index           <up>            previous-entry
102 bind    index           <down>          next-entry
103 bind    index           <left>          previous-entry
104 bind    index           <right>         next-entry
105 bind    pager           <left>          previous-entry
106 bind    pager           <right>         next-entry
107 bind    pager           $                       bottom
108 bind    index                   <tab>                   next-unread
109 bind    index                   \c?                             search-reverse
110 bind    index                   \c\\                    search-opposite
111 set edit_hdrs
112 set xterm_set_titles
113
114 ignore *
115 unignore date from to cc subject x-mailer resent-from reply-to mail-followup-to
116
117 set index_format="%4C %Z %(%b%d %H) %-15.15L (%?l?%4l&%4c?) %s"
118
119 set folder=~/mail
120
121 unset confirmappend
122
123 my_hdr From: Archive Administrator <ftpmaster@debian.org>
124
125 macro index s <save-message>=
126
127 set tmpdir="/tmp"
128
129 macro index s <save-message>=
130 macro index c <change-folder>=
131 macro pager s <save-message>=
132 macro pager c <change-folder>=
133
134 set index_format="%4C %Z %(%b%d %H) %-15.15L (%?l?%4l&%4c?) %s"
135
136
137 set delete=yes
138 unset confirmappend
139
140 set implicit_autoview
141 auto_view text/html
142
143 set pager_stop
144 set wrap_search         # Wrap search to top/bottom.
145 set smart_wrap          # wrap long lines at word boundary.
146 set tilde                       # Internal Pager: ~~~~ at and of message?
147
148 set pager_context=3
149 set pager_index_lines=9 # number of lines to see from the index
150 set pgp_timeout=60              # number of seconds to cache passphrase
151
152 set mail_check=1
153 set timeout=1
154
155 set beep
156 set beep_new
157 set fast_reply
158 set metoo