Skip to content

After closing the diffview tab, sometimes some buffers retain the scrollbind/cursorbind settings #330

@yorickpeterse

Description

@yorickpeterse

Sometimes when I close the tab opened by :DiffviewOpen, some of the buffers I've reviewed appear to still have scrollbind and cursorbind set. The result is that if you split the window and scroll there, it also applies to the previous window. To fix this I then have to run set noscrollbind and set nocursorbind in the appropriate windows.

The most frustrating part is that it seems to not always happen, and when it does it's not clear what might've caused it, making it really tricky to reproduce. As I've been experiencing this issue for a while now I've decided to create this issue regardless, hoping that somebody might be able to shed some light on this. In the mean time I'll try to figure out how to reproduce this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions