16

I have a file that has decided to scroll synchronously when I open it in a second window and start scrolling. scrollbind and diff are set to off. (:set scrollbind? prints noscrollbind and :set diff? prints nodiff.)

What else can I try?

I'm using neovim.

8
  • what does the scrollopt say ?
    – nobe4
    Apr 21, 2016 at 10:49
  • scrollopt=ver,jump Apr 21, 2016 at 10:51
  • 1
    try set it to null, set scrollopt=, maybe it will solve the issue...
    – nobe4
    Apr 21, 2016 at 10:51
  • @Nobe4 That didn't work. :-/ Apr 21, 2016 at 10:52
  • 2
    set cursorbind? Apr 21, 2016 at 11:41

1 Answer 1

20

As Christian Brabandt suggested in a comment, this can be caused by the 'cursorbind' setting.

From :help 'cursorbind':

When this option is set, as the cursor in the current window moves other cursorbound windows (windows that also have this option set) move their cursors to the corresponding line and column.

You can use :verbose set cursorbind? to find out what is switching this setting on.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.