jpjqng
Last Updated: February 25, 2016
·
276
· sheerun
Photo on 08.01.2013 at 04.15

Clear highlighting when pressing Esc in Vim

vim
nnoremap <silent> <Esc> :noh<CR><Esc>
nnoremap <silent> c :nunmap c<CR>

Reference: http://superuser.com/questions/285049/remapping-esc-in-macvim-angers-vim-itself

Say Thanks
Respond
Filed Under