+many anonymous CVS servers
[nethome.git] / .muttrc.addons
index 99846a6..8ab616e 100644 (file)
@@ -1,9 +1,18 @@
 # System-wide personalization for Mutt
 ######################################
 
-set sort=threads
+folder-hook ""        set sort=threads
+folder-hook "!"       set sort=mailbox-order
+folder-hook "=sent"   set sort=mailbox-order
+folder-hook "=spam"   set sort=mailbox-order
+folder-hook "=err"    set sort=mailbox-order
+folder-hook "=input$" set sort=mailbox-order
+bind index \` next-unread
+bind pager \` next-unread
+bind index <Esc>\` previous-unread
+bind pager <Esc>\` previous-unread
 unset strict_threads
-set editor="vim -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,7 +21,7 @@ set history=100
 set include=yes
 unset metoo
 set mime_fwd
-set forward_format="fwd [%a]: %s"
+set forward_format="Fwd: [%a] %s"
 set move=no
 set pager_context=1
 set pager_stop
@@ -44,7 +53,9 @@ set attribution="On %D, %n wrote:"
 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"
+# quote 'macro' argument to prevent: macro: too many arguments
+folder-hook ""      "macro index S \":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\ns=spamo-mutt\n\""
+folder-hook "=spam" "macro index S \":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\nWN\ct~T\n\""
 macro editor \ew "^a  [WAS: ^e]^a"
 
 # GPG