7475a25273da

vim: add a clear-search shortcut
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 14 May 2010 19:08:00 -0400
parents f176651e446c
children 9be0657d820a
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Fri May 14 09:39:57 2010 -0400
+++ b/vim/.vimrc	Fri May 14 19:08:00 2010 -0400
@@ -39,6 +39,7 @@
 set incsearch
 set showmatch
 set hlsearch
+map <leader>c :let @/=''<CR>
 
 " Soft/hard wrapping
 set wrap