diff --git a/vimrc b/vimrc index 2abc56b..2cbabf4 100644 --- a/vimrc +++ b/vimrc @@ -46,8 +46,9 @@ nnoremap n :setlocal number! nnoremap r :setlocal relativenumber! nnoremap l :setlocal list! nnoremap c :setlocal cursorline! -nnoremap / :setlocal hls! nnoremap v :setlocal wrap! +"turn off highlight until next search +nnoremap / :noh "home / end noremap H ^ noremap L $