From ce9db5c85ca8456328dc669a6557c964a40afea0 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Tue, 15 Dec 2015 12:04:41 +0100 Subject: Vim and Git configs --- vim/.vimrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vim/.vimrc (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..7d2505c --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,22 @@ +highlight ExtraWhitespace ctermbg=red guibg=red +match ExtraWhitespace /\s\+$/ +autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ +autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@ :noh + +" Understand .md as markdown +autocmd BufNewFile,BufRead *.md set ft=markdown -- cgit v1.2.3