From 903fc7ccd95f1665a6746abf720bb76130e78b01 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Mon, 28 Jan 2013 12:58:14 -0500 Subject: [PATCH] Show trailing whitespaces --- .vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 4d0c5d6..7cc6c81 100644 --- a/.vimrc +++ b/.vimrc @@ -17,8 +17,8 @@ map fc :CtrlP app/controllers map fm :CtrlP app/models map fh :CtrlP app/helpers map fl :CtrlP lib -map fp :CtrlP public -map fs :CtrlP app/stylesheets +map fp :CtrlP vendor/plugins +map fs :CtrlP spec map ft :CtrlP test "let g:ctrlp_prompt_mappings = { " \ 'AcceptSelection("e")': [''], @@ -76,6 +76,9 @@ set wildmode=longest,list colorscheme Monokai set wildignore+=*/tmp/*,*/log/*,*.so,*.swp,*.zip set colorcolumn=90 +" Show trailing whitespace +highlight ExtraWhitespace ctermbg=green guibg=green +match ExtraWhitespace /\s\+$/ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " CUSTOM AUTOCMDS