Yakov Lerner 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
GUI or console? Any colorscheme? Also with vim -u /usr/local/share/vim/vim71/vimrc_example.vim -N x.c (Unix) or gvim -u C:\PROGRA~1\vim\vim71\vimrc_example.vim -N x.c (Windows) ? Best regards, Tony. -- George Orwell was an optimist. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---