Skip to content

Buffer navigation for splits don't work properly #690

@danielyangrbx

Description

@danielyangrbx

I usually have 2 or 3 vertical splits open and navigate between them. But the harpoon:list:prev/next navigation doesn't work relative to the splits. For example, I'll have my harpoon list arranged like this:

A.h
A.cpp
B.h
B.cpp

I'll then open one of the A.h/cpp files in one vsplit and one of the B.h/cpp files in the other vsplit and toggle between them. However, when I'm on say B.cpp in the right vsplit and just opened A.cpp on the left vsplit, I do the harpoon:list:prev() on the B.cpp expecting to open B.h since B.h is right next to B.cpp in the harpoon list but instead it opens A.h since the "current position" in the list is not based on the file currently open. This issue makes it almost impossible to work efficiently with split buffers.

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