> On Wed, Sep 8, 2010 at 4:09 PM, Tim Chase wrote:
>
>> On 09/08/10 14:24, albert kao wrote:
>>
>>> The Esc key running on gvim 7.2 does not work on a windows XP
>>> Professional SP3 computer.
>>> i.e. pressing the "Esc" key does not exit the current insert mode.
>>> "Ctrl-[" does not work either.
>>>
>>
>> This sounds suspiciously like a mapping interfering. First, try
>> starting vim with no startup processed:
>>
>> vim -u NONE
>>
>> and see if you get the same behavior.
>>
>> If so, check your various mappings:
>>
>> :map
>> :map!
>>
>> to see if something is mapped to <esc> or <c-[>
>>
>> -tim
>>
>>
>>
> vim -u NONE
>
> has no problem with the Esc key and
>
> :map
> :map!
> do not see anything mapped to <esc> or <c-[> .
Is that in the 'no problem' (vim -u NONE) or the problematic case?
If 'vim -u NONE' works properly and 'vim' doesn't, you should look for
what mappings are different between the two.
To make the comparison easier, you can try:
vim -u NONE
:redir > ~/vimnone.map.txt
:silent! map
:silent! map!
:redir END
vim (start how you normally start it)
:redir > ~/vim.map.txt
:silent! map
:silent! map!
:redir END
(Then compare the vim and vimnone .map.txt files.)
--
Best,
Ben
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment