Skip to content

blame window doesn't respect winfixbuf #58

@dlyongemallo

Description

@dlyongemallo

When I press <CR> to "show commit", I would like to open the commit in the window where the file was being edited, rather than in the "blame" window. There are several reasons for this, but the most important is that when I press <c-o> to return (from the commit) to the previous location in the jump list, it opens the file in the same (formerly "blame") window, and so I end up with two windows of the same file side-by-side. What's worse, if I open a "blame" window again, a third window is opened (and so on). I think the commit should either replace the file when <CR> is pressed in the "blame" window, or the "blame" window should close and return to the original file when <c-o> is pressed.

I tried to fix this by setting winfixbuf on the blame window (I'm on neovim 0.10), but it doesn't seem to respect the setting. I tried as well the older method of using stickybuf.nvim but that didn't work either.

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