-
Notifications
You must be signed in to change notification settings - Fork 29
Description
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.