+force VIM to use iso-8859-2 encoding charset
[nethome.git] / .muttrc.addons
index e2f4d33..550366f 100644 (file)
@@ -3,7 +3,7 @@
 
 set sort=threads
 unset strict_threads
-set editor="vi -c 'set noai' -c 'set ts=8'"
+set editor="vim -c 'set noai' -c 'set ts=8' -c 'set fileencoding=iso-8859-2' -c 'set fileencodings=iso-8859-2'"
 set send_charset="us-ascii:iso-8859-2:utf-8"
 set charset="iso-8859-2"
 set autoedit
@@ -12,6 +12,7 @@ set history=100
 set include=yes
 unset metoo
 set mime_fwd
+set forward_format="fwd [%a]: %s"
 set move=no
 set pager_context=1
 set pager_stop
@@ -30,6 +31,12 @@ set write_inc=1000
 unset confirmappend
 unset confirmcreate
 set reply_to=ask-yes
+set thorough_search
+set abort_unmodified=no
+set date_format="!%a, %d %b %Y %H:%M:%S %z"    # RFC 2822: 3.3.
+# FIXME: %D not needed: RFC 2822: 3.3: "converted" can IMO incl. timezone
+# but %d will place +0000 for %z and thus brokes the timestamp
+set attribution="On %D, %n wrote:"
 
 
 # Mail command
@@ -37,6 +44,8 @@ set reply_to=ask-yes
 bind index \ca mail
 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"
 macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message"
+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"
+macro editor \ew "^a  [WAS: ^e]^a"
 
 # GPG
 #####