[mini.git] tabmove in MiniGitCommandSplit with :Git commit/rebase
#2097
-
About
I understand that Perhaps for commands like these, it should fire once they are displayed in the tab, or it might make sense to introduce a separate event, such as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
It is an expected and documented behavior, yes. As those do not show Git's stdout, but act as a Could you please elaborate on the actual problem this is causing? |
Beta Was this translation helpful? Give feedback.
I initially discovered this when trying to move the
commit/rebasetab usingtabmove(-1):Currently:
After running
tabmove(-1):Note
So the problem is that after closing
:Git committab, neovim cycles to the next tab.See #2097 (reply in thread).
Later, I found that this issue can be handled more easily using theTabClosedevent together with the:tabprevcommand, although it still has a few edge cases:When a new split is created in thecommit/rebasetab, closing that window sends the wrong buf…