/ tech-note

"No mapping found" error on vim startup

Whenever I launched vim on Terminal I got the following error.

No mapping found
Press ENTER or type command to continue

This is caused by the definition error on my ~/.vimrc. Specifically, change the following line:

inoremap <C-c><Esc>

to

inoremap <C-c> <Esc>

and the error is gone!