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

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -