1e89b58fd3b5

Clearmatches.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 02 Sep 2011 17:57:34 -0400
parents cc0b45881ef9
children 2e25b11e75fc
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Fri Sep 02 15:49:39 2011 -0400
+++ b/vim/.vimrc	Fri Sep 02 17:57:34 2011 -0400
@@ -147,7 +147,7 @@
 
 set virtualedit+=block
 
-noremap <leader><space> :noh<cr>:match none<cr>:2match none<cr>:3match none<cr>
+noremap <leader><space> :noh<cr>:call clearmatches()<cr>
 
 runtime macros/matchit.vim
 map <tab> %