1 Nov 2006 01:17
Bufnext and bufprev problem
Ryan Phillips <ryan-vim <at> trolocsis.com>
2006-11-01 00:17:28 GMT
2006-11-01 00:17:28 GMT
Hi all.
I have just noticed a problem with bufnext and bufprev with two
(plus+) different files open within (g)vim.
Attached my vim --version for review.
OS: Linux, Ubuntu Edgy
Steps to reproduce:
* Create a file ~140 lines long with A'S, TEST_A
* cp TEST_A TEST_A_2
* vim TEST_A TEST_A_2 --noplugins
* In buf #1 scroll to a line number > 30. I selected 38 to be at
the top of my terminal. (I have line numbers turned on)
* :bn # to go to TEST_A_2
* :bp # to return to Buf #1
The first buffer has jumped N lines forward within the file. N
appears to be a constant 22 for me. Can anyone else reproduce this?
Regards,
Ryan
VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 31 2006 14:19:56) Included patches: 1-153 Compiled by rphillips <at> rphillips Huge version without GUI. Features included (+) or not (-):(Continue reading)
RSS Feed