From a52de73f7fdafce4bf2e181b4679895bf7c96fe4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 12 Oct 2012 15:48:06 +0200 Subject: [PATCH] vimrc: Remap only in normal mode. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 58f8255..96fb449 100644 --- a/vimrc +++ b/vimrc @@ -572,7 +572,7 @@ endif " In case 'hlsearch' is used disable it with . Thanks to frogonwheels and " vimgor (bot) in #vim on Freenode (2010-03-30 05:58 CEST). -noremap :nohlsearch +nnoremap :nohlsearch " in insert mode deletes a lot, break undo sequence before deleting the " line so the change can be undone. Thanks to the vimrc_example.vim file in -- 2.45.2