Hi,

I've got a question about ViM, and didn't find an answer in the net,
so I'm asking you:

When I open a file in VIM, and then :vsplit the window, I expect that
the "left part" of the window doesn't change. But in VIM 7.2 (Debian
Squeeze), the left part always scrolls so that the current cursor-position
is in the 1st line when I use :vsplit, which is very annoying.
In VIM 7.1 of Debian Lenny, it worked as expected.

Here's the behaviour in ASCII-Art:

Open a file (longer than a page) and scroll down a bit:

+---------------------+
| 3                   |
| 4                   |
| 5                   |
| 6_cursor            |
| 7                   |
| 8                   |
| 9                   |
+---------------------+

Then, use :vsplit.

a) I expect to get (and this was what I got in VIM 7.1):

+----------+----------+
| 3        | 3        |
| 4        | 4        |
| 5        | 5        |
| 6_cursor | 6_cursor |
| 7        | 7        |
| 8        | 8        |
| 9        | 9        |
+----------+----------+

b) But with VIM 7.2 of Debian Squeezy, I get:

+----------+----------+
| 6_cursor | 3        |
| 7        | 4        |
| 8        | 5        |
| 9        | 6_cursor |
| 10       | 7        |
| 11       | 8        |
| 12       | 9        |
+----------+----------+

Can you tell me how to change this, so it works like (a) again?


regards,
Roland

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

Reply via email to