That’s not exactly what I want. If you run git commit
in a terminal buffer for example, git opens a new instance of neovim inside the terminal buffer (assuming you’ve configured git to do so), which is what I’m trying to avoid. I want git here to open a new buffer inside the currently running neovim instance as a place to edit the commit message. Sure, I can use Fugitive instead, but that doesn’t work for commands other than git
Thanks for the detailed answer! (or your attempt at answering 😅) I never knew neovim worked like that and that I could control it from outside. Definitely keeping this in my toolbox