> AK wrote:
>>> 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
>
I don't use diff that often, if I did I would probably set up a mapping
to toggle this on/off.
-ak
--
People who have given us their complete confidence believe that they have a
right to ours. The inference is false, a gift confers no rights.
Friedrich Nietzsche
--
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