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:
- how map < esc > quit vim - vim quits after opening if mapped :q< cr >
- mapping < esc > in vimrc causes bizzare arrow behaviour
i have been using <leader><space>
disabling highlighting, suggested "coming home vim", maybe used too.
Comments
Post a Comment