]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Noautoindent for mail composition
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Oct 2014 01:50:22 +0000 (22:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Oct 2014 01:50:22 +0000 (22:50 -0300)
vimrc.dot.link

index 886181e8bb8d26f857cde95a477c865b46fbd31f..e7e675f91970d7fbc084308d5f2a215f57895a7d 100644 (file)
@@ -133,6 +133,10 @@ nmap <ESC>t :OpenNERDTree<CR>
 vmap <C-c> "+yi
 vmap <C-x> "+c
 
+" Workaround for mail editing. There must be a plugin enabling autoindent in
+" mail composition, which is annoying.
+au FileType mail set noautoindent
+
 " Color scheme
 "colorscheme github
 "colorscheme solarized