What is wrong with this mapping? Vim starts in -- REPLACE -- mode -


i having weird bug in .vimrc since last updated it.

every time start vim starts in -- replace -- mode annoying.

i managed find out line in .vimrc causing problem.

" disable search highlighting temporally nnoremap <esc> :nohl<cr> 

the problem goes away when comment line out.

i confused wrong mapping. works should causes vim enter -- replace -- mode on startup.

i have no plugins enabled @ all.

it better avoid mapping esc key, known cause strange behavior:

i have been using <leader><space> disabling highlighting, suggested "coming home vim", maybe used too.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -