From 0773a8c7c4629ef8bd4348c8dc4adfab41ec06b6 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 5 May 2017 14:58:36 +0300 Subject: [PATCH] use :noh instead of :set nohls, no point in toggling highlights entirely --- vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 $