feat(nvim): clear highlighting after search
This commit is contained in:
parent
957d40c6a4
commit
685f68f70a
|
@ -23,4 +23,7 @@ noremap <down> <nop>
|
|||
noremap <left> <nop>
|
||||
noremap <right> <nop>
|
||||
|
||||
" Clears hlsearch after doing a search, otherwise just does normal <CR> stuff
|
||||
nnoremap <expr> <CR> {-> v:hlsearch ? ":nohl\<CR>" : "\<CR>"}()
|
||||
|
||||
nnoremap <silent> <C-f> :silent !tmux neww tmux-sessioniser<CR>
|
||||
|
|
Loading…
Reference in a new issue