Matt Wozniski wrote:
> >
> > Jürgen Krämer wrote:
> >
> >> this is VI-compatible behavior. In VI pressing on the command
> >> line executed the command. The only way to cancel a command was to
> >> press Ctrl-C. You should thus
> >>
> >> :nmap
> >>
> >> For more information
> >>
> >> :he
On Fri, Aug 28, 2009 at 6:00 AM, Simson Liu wrote:
>
> Jürgen Krämer wrote:
>
>> this is VI-compatible behavior. In VI pressing on the command
>> line executed the command. The only way to cancel a command was to
>> press Ctrl-C. You should thus
>>
>> :nmap
>>
>> For more information
>>
>>
John Beckett wrote:
> You might want to look over:
> http://vim.wikia.com/wiki/Esc
>
> which points out that Ctrl-[ is already Esc so mapping Alt-[
> might not be necessary.
>
> However, you do have a point, illustrated here:
>
> :cnoremap qq
> :echo helloqq
>
> As soon as the second '
Jürgen Krämer wrote:
> this is VI-compatible behavior. In VI pressing on the command
> line executed the command. The only way to cancel a command was to
> press Ctrl-C. You should thus
>
> :nmap
>
> For more information
>
> :help c_
> :help c_
>
> Regards,
> Jürgen
>
cnoremap
Hi,
Simson Liu wrote:
>
> I'm have trouble with the following command:
>
> noremap!
>
> In Insert mode, the mapping is OK. I can exit insert mode by Alt-[
> But in command-line mode, the mapping has some problems. Such as
>
> :ls "note the is Alt-[ key
>
> the 'ls' command is a
Simson Liu wrote:
> I'm have trouble with the following command:
> noremap!
You might want to look over:
http://vim.wikia.com/wiki/Esc
which points out that Ctrl-[ is already Esc so mapping Alt-[
might not be necessary.
However, you do have a point, illustrated here:
:cnoremap qq
:echo
Hi all,
I'm have trouble with the following command:
noremap!
In Insert mode, the mapping is OK. I can exit insert mode by Alt-[
But in command-line mode, the mapping has some problems. Such as
:ls "note the is Alt-[ key
the 'ls' command is always been exectued! The normal action