Added CR to unhighlight search

This commit is contained in:
Fergal Moran
2017-08-13 20:16:00 +01:00
parent 2e92dcb74c
commit 3cdd006edd
2 changed files with 3 additions and 1 deletions

2
.vimrc
View File

@@ -18,6 +18,8 @@ set nowritebackup
set noswapfile
let mapleader=","
" unhighlight search on pressing return
nnoremap <CR> :noh<CR><CR>
" easier indentation, retains selection
vnoremap < <gv