aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index c7799b7..5faf344 100644
--- a/.vimrc
+++ b/.vimrc
@@ -216,6 +216,8 @@ nnoremap <leader>m :make all <CR>
" hook {{{
" remove trailing white space on save
autocmd BufWritePre * %s/\s\+$//e
+" dirty hack to disable this feature on markdown (autocmd! wouldn't work)
+autocmd BufReadPre *.md autocmd! BufWritePre
" }}}
" filetype {{{