aboutsummaryrefslogtreecommitdiffstats
path: root/_mutt/compose.rc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-06 22:59:26 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-06 22:59:26 +0800
commit25b947edf445a96db335fe285a8b253b214649ff (patch)
tree3f785cdbef303c71111debd067c95a62ea456587 /_mutt/compose.rc
parent0ed3373f1c2d47aba769aa67439e05350c2792e9 (diff)
downloaddotfiles-25b947edf445a96db335fe285a8b253b214649ff.tar.bz2
Rename .* => _*; Move out private contents.
Diffstat (limited to '_mutt/compose.rc')
-rw-r--r--_mutt/compose.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/_mutt/compose.rc b/_mutt/compose.rc
new file mode 100644
index 0000000..f2645d8
--- /dev/null
+++ b/_mutt/compose.rc
@@ -0,0 +1,15 @@
+# read main config
+source ~/.mutt/muttrc
+
+# remove hooks, headers and sig, they are already in the draft
+unhook send-hook
+unset signature
+unmy_hdr *
+
+set edit_headers # show headers when composing
+
+# call the right editor immediately
+set autoedit
+set editor = "vim +/^$/+1 -c 'set ft=mail enc=utf-8 tw=72'"
+
+# vim: set ts=8 sw=4 tw=0 fenc= ft=muttrc: #