> this is VI-compatible behavior. In VI pressing <Esc> on the command
> line executed the command. The only way to cancel a command was to
> press Ctrl-C. You should thus
>
> :nmap <A-[> <C-C>
>
> For more information
>
> :help c_<Esc>
> :help c_<CTRL-C>
>
> Regards,
> Jürgen
>
cnoremap <A-[> <C-C>
The <C-C> did do the work. But I have set no VI-compatible mode. So, the previous mapping behavior should be strange.
Thanks.
Regards,
Liu
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment