On 8/27/07, Yakov Lerner <[EMAIL PROTECTED]> wrote:
>
> I get weird up/down behaviour when cursor traverses the braces. vim 7.1.87
> ,
> no custom plugins. This is apparently somehow related to matchparen.
>
> The testfile is x.c below.
> Here is what happens if I press down starting from the beginning of file,
> position 1:
>
> 1. Down. instead of going to line 2, cursor shows at line 4 !!!
> 2. Down. cursor is at line 3
> 3. Down. cursor is at line 2 !!!
> 4. Down. cursor is at line 5
> 6. Up. Cursor is at line 2!!!
> 7. Up. Cursor is at line 3.
> 8. Up. Cursor is '}' line 4!!!
> 9. Up. Cursor is at line 1.
>
> ----------- x.c ----------------
> int foo()
> {
>     return 0;
> }
> /* */
>
>
> Yakov



The problem is related to TERM set to vt200 and it being black-and-white,
and syntax off.
When TERM is xterm and color, everything is fine, problem does not appear.

Yakov

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui