vim: Add shortcut to hide search results
This commit is contained in:
parent
d673aab62e
commit
f90db55402
|
@ -10,6 +10,9 @@ set undoreload=16384
|
||||||
" Search
|
" Search
|
||||||
set ignorecase
|
set ignorecase
|
||||||
|
|
||||||
|
" Hide search when enter is pressed
|
||||||
|
nnoremap <silent> <CR> :nohlsearch<CR>
|
||||||
|
|
||||||
" Autoload settings from file
|
" Autoload settings from file
|
||||||
set modeline
|
set modeline
|
||||||
|
|
||||||
|
|
Reference in a new issue