vim

vim config files
git clone https://git.bracken.jp/vim.git
Log | Files | Refs | LICENSE

commit 056ac896e38a43d982de43c6ee670e43feef8f5e
parent 98264ee11a2b6d487317399ef3040021e55be05a
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 13 Feb 2013 11:58:58 -0800

Merge BufEnter,InsertLeave handlers for ExtraWhitespace matching.

Diffstat:
M.vimrc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.vimrc b/.vimrc @@ -45,9 +45,8 @@ if &t_Co > 2 || has("gui_running") " Highlight trailing whitespace highlight ExtraWhitespace ctermbg=red guibg=red au ColorScheme * highlight ExtraWhitespace guibg=red - au BufEnter * match ExtraWhitespace /\s\+$/ + au BufEnter,InsertLeave * match ExtraWhitespace /\s\+$/ au InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ - au InsertLeave * match ExtraWhiteSpace /\s\+$/ " Highlight over-length lines highlight OverLength ctermbg=red ctermfg=white guibg=#592929