Permalink
Browse files

Map <CR> to :nohlsearch

  • Loading branch information...
1 parent 2d6b4a6 commit 2134aad47c50b2179ba486e6233280c97205f4f6 @robmiller committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 vimrc
View
2 vimrc
@@ -131,7 +131,7 @@ set gdefault
" Highlight matching brackets
set showmatch
" Ctrl-L to clear search highlighting
-nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
+nnoremap <silent> <cr> :nohlsearch<CR>
" Use tab to move through matching brackets/braces
nnoremap <tab> %
vnoremap <tab> %

0 comments on commit 2134aad

Please sign in to comment.