+force VIM to use iso-8859-2 encoding charset
[nethome.git] / .muttrc.addons
1 # System-wide personalization for Mutt
2 ######################################
3
4 set sort=threads
5 unset strict_threads
6 set editor="vim -c 'set noai' -c 'set ts=8' -c 'set fileencoding=iso-8859-2' -c 'set fileencodings=iso-8859-2'"
7 set send_charset="us-ascii:iso-8859-2:utf-8"
8 set charset="iso-8859-2"
9 set autoedit
10 set auto_tag
11 set history=100
12 set include=yes
13 unset metoo
14 set mime_fwd
15 set forward_format="fwd [%a]: %s"
16 set move=no
17 set pager_context=1
18 set pager_stop
19 set pop_delete
20 set record=+sent
21 set reverse_alias
22 set status_format="---%h:%f [%M %nN %tT %dD %lB]%>-%v---"
23 #set web_browser="lynx %s"
24 set pager_format="-%S- [%l lines, %c] %C/%T: %-20.20n   %s"
25 set status_on_top
26 set fcc_clear
27 set rfc2047_parameters
28 unset save_empty
29 set read_inc=1000
30 set write_inc=1000
31 unset confirmappend
32 unset confirmcreate
33 set reply_to=ask-yes
34 set thorough_search
35 set abort_unmodified=no
36 set date_format="!%a, %d %b %Y %H:%M:%S %z"     # RFC 2822: 3.3.
37 # FIXME: %D not needed: RFC 2822: 3.3: "converted" can IMO incl. timezone
38 # but %d will place +0000 for %z and thus brokes the timestamp
39 set attribution="On %D, %n wrote:"
40
41
42 # Mail command
43 ##############
44 bind index \ca mail
45 macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message"
46 macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
47 macro index S ":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\nd"
48 macro editor \ew "^a  [WAS: ^e]^a"
49
50 # GPG
51 #####
52 source /home/short/.muttrc-gpg.rc
53 unset pgp_show_unusable
54 set pgp_replyencrypt
55 set pgp_replysignencrypted
56
57 # Ignore headers
58 ################
59 ignore received content- mime-version status x-status message-id sender
60 ignore references return-path lines precedence x-authentication-warning
61 ignore list-help list-subscribe list-unsubscribe list-post list-archive
62 ignore x-mimetrack priority x-priority importance x-mime-autoconverted
63 ignore x-accept-language resent-message-id x-sender x-antirelay
64 ignore x-msmail-priority x-mimeole x-pop3-rcpt delivered-to
65
66 # Colors
67 ########
68 color hdrdefault brightcyan black
69 color quoted cyan black
70 color signature brightred black
71 color indicator brightyellow red
72 color error brightred black
73 color status brightyellow blue
74 color tree brightmagenta black  # the thread tree in the index menu
75 color tilde brightmagenta black
76 color message brightcyan black
77 color normal white black
78 color attachment brightmagenta black
79 color search black green  # how to hilite search patterns in the pager
80 color header brightyellow black ^(From|Subject):
81 color body brightyellow black "(ftp|http)://[^ ]+"  # point out URLs
82 color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
83 color underline brightgreen black
84 mono header underline ^(From|Subject):
85 mono quoted bold