9b84b45eec79

vim: use :noh
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 20 Sep 2010 20:40:17 -0400
parents 53d154da65a9
children da7bdcfffdcb
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Mon Sep 20 19:00:19 2010 -0400
+++ b/vim/.vimrc	Mon Sep 20 20:40:17 2010 -0400
@@ -47,7 +47,7 @@
 set showmatch
 set hlsearch
 set gdefault
-map <leader><space> :let @/=''<cr>
+map <leader><space> :noh<cr>
 runtime macros/matchit.vim
 nmap <tab> %
 vmap <tab> %
@@ -129,7 +129,7 @@
 au BufNewFile,BufRead *.m*down nnoremap <leader>3 I### <ESC>
 
 " Sort CSS
-map <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:let @/=''<CR>
+map <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:noh<CR>
 
 " Clean whitespace
 map <leader>W :%s/\s\+$//<cr>:let @/=''<CR>