From: Simon Ruderich Date: Fri, 12 Oct 2012 13:48:06 +0000 (+0200) Subject: vimrc: Remap only in normal mode. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=a52de73f7fdafce4bf2e181b4679895bf7c96fe4 vimrc: Remap only in normal mode. --- 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