Permalink
Browse files

Clear visual search with <space>

  • Loading branch information...
1 parent c696c3b commit 821f601423584d3c59ae2509efff31eb495a005a @RStankov committed Apr 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 dot/vimrc
View
@@ -47,3 +47,6 @@ nnoremap gh <C-w>h
nnoremap gj <C-w>j
nnoremap gk <C-w>k
nnoremap gl <C-w>l
+
+" Clear search results when hitting space
+nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>

0 comments on commit 821f601

Please sign in to comment.