use :noh instead of :set nohls, no point in toggling highlights entirely
This commit is contained in:
parent
44b38af44a
commit
0773a8c7c4
1 changed files with 2 additions and 1 deletions
3
vimrc
3
vimrc
|
@ -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 $
|
||||
|
|
Loading…
Reference in a new issue