1
0
Fork 0

use :noh instead of :set nohls, no point in toggling highlights entirely

This commit is contained in:
Von Random 2017-05-05 14:58:36 +03:00
parent 44b38af44a
commit 0773a8c7c4

3
vimrc
View file

@ -46,8 +46,9 @@ nnoremap <Leader>n :setlocal number!<CR>
nnoremap <Leader>r :setlocal relativenumber!<CR>
nnoremap <Leader>l :setlocal list!<CR>
nnoremap <Leader>c :setlocal cursorline!<CR>
nnoremap <Leader>/ :setlocal hls!<CR>
nnoremap <Leader>v :setlocal wrap!<CR>
"turn off highlight until next search
nnoremap <Leader>/ :noh<CR>
"home / end
noremap H ^
noremap L $