>> This tip should do what you want:
>> http://vim.wikia.com/wiki/Avoid_scrolling_when_switch_buffers
>
> Thanks, this works perfectly.
Well, not quite perfectly... I used to use the above, and
frankly I have forgotten whether it helped avoid the irritation
of Vim's habit of scrolling a carefully-arranged window.
I removed the above because it caused problems when using diff
with text files containing long lines (which wrap on screen).
Jumping between from diff window1 to diff window2 caused the
windows to scroll to the position where I last left window2, and
that was even more irritating than Vim's default.
John
--
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:
Post a Comment