Tuesday, May 29, 2012

Re: Weird cursors behaviour when using vim in terminal in insert mode

Enviado desde mi iPhone

El 29 May 2012, a las 20:45, Dominique Pellé <dominique.pelle@gmail.com> escribió:

> Pablo Giménez Pizarro <pablogipi@gmail.com> wrote:
>
>> Enviado desde mi iPhone
>>
>> El 29 May 2012, a las 19:26, Dominique Pellé <dominique.pelle@gmail.com> escribió:
>>
>>> Pablo Giménez <pablogipi@gmail.com> wrote:
>>>
>>>> Hi all.
>>>> I have an issue using vim in the termninal.
>>>> Every time I go to Indert mode and try to sue the cursor it just
>>>> begging to write the letter A,B,C,D and creates a new line.
>>>> I have been digging and seems it is because of the internal definition
>>>> of the termcap in Vim.
>>>> So I tried the next:
>>>> set term=builtin_ansi
>>>>
>>>> But then it is messing up the colors.
>>>> The term is xterm-256color by default.
>>>> Is there ane way to get the cursors working properly without changing
>>>> the termn, or using the xterm terminal?
>>>> I forgot to say I am using latest vim 7.3.
>>>>
>>>> Thanks
>>>
>>> Try...
>>>
>>> :set nocompatible
>> Thanks, I have already tried it.
>> I think it is the third line in my vimrc
>
>
> Then what about...
>
> :set esckeys
>
> I can reproduce the ABCD being inserted in insert mode
> when pressing cursor keys with :set noesckeys
I haven't tried this.
I'll try, thanks Dominique
>
> -- Dominique
>
> --
> 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

--
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: