vim map in command-line mode

As the vim wiki tells us, you cann't derectly map <ESC>,  instead you should map <C-c>

Official website screenshot:

vim map <ESC> in command-line mode_第1张图片

你可能感兴趣的:(vim map in command-line mode)