From 109fbae3bd3e3fab2d6d221b440348325798a7d0 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 27 Oct 2009 16:02:24 +0100 Subject: [Vim] shows annoying spaces --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index a0ce58d..4d7e781 100644 --- a/vimrc +++ b/vimrc @@ -88,6 +88,10 @@ autocmd BufRead * color red "autocmd BufRead *.php color pablo "autocmd BufRead /tmp/mutt-*[0-9] color elflord +" F*cking trailing whitespaces +autocmd BufRead * highlight ExtraWhitespace ctermbg=red guibg=red +autocmd BufRead * match ExtraWhitespace /\s\+$\| \+\ze\t\| / + set title set autoindent set diffopt=iwhite,filler @@ -110,6 +114,7 @@ map Q v/$\n\nJ:.!fmt -tcw78:noh map u :noh + " Function " Erase_Sig_but_Your() " @@ -173,3 +178,4 @@ autocmd BufRead /tmp/mutt-*[0-9] map w ggv/^-- $:!par rTbgqRe 'B=., autocmd BufRead /tmp/mutt-*[0-9] set textwidth=74 autocmd BufRead /tmp/mutt-*[0-9] execute Erase_Sig_but_Your() autocmd BufRead /tmp/mutt-*[0-9] :normal ,n + -- cgit v1.2.3