Monday, February 18, 2013

Re: noscrollbind ignored (kind of)

On Monday, February 18, 2013 9:43:43 AM UTC-5, Ben Fritz wrote:
> On Sunday, February 17, 2013 6:09:54 PM UTC-6, AndyHancock wrote:
> > When I diff two files with scroll binding, then set nodiff and noscrollbind on each window, the files still seem to track each other. However, they are not completely in sync. One seems to be a screen or two behind the other. The only way to get rid of this quasi-scroll-binding is to close both windows, then re-open them. This can be very disruptive when juggling lots of files.
> >
>
> Maybe 'cursorbind' is still set.
>
> Instead of manually setting 'nodiff' and 'noscrollbind', try the :diffoff command, or :diffoff! for all windows in the tab page.

Wow. This is awesome. I've never heard of diffoff and cursorbind before, but cursorbind does seem to cause similar behaviour and diffoff gets rid of it. Thanks!

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: