Weird issue here: I’m trying to avoid the Esc key to exit from insert mode. I stumbled upon this article: http://vim.wikia.com/wiki/Avoid_the_escape_key and I liked the following solution:
" Two letters.
:imap çç <Esc>
When in gVim I type:
:imap çç <Esc>
I does work. But when I try to make it default by putting it in my _vimrc file:
imap çç <ESC>
I doesn’t work. It gives me no error, but does not work. Every other letter works, but it seems that specifically the letter ç doesn’t.
You could write :
in your .vimrc .
auis short ofautocmdand it is used to tell vim that you want to execute this one as a semicolon command.VimEnteris telling vim to execute it on startup.The syntax is :
You could also see the help for
autocmd