Is there a way to avoid opening a nested neovim instance inside a terminal buffer and instead open it as a new buffer inside the already running instance? I’m thinking something like what Fugitive does, but more general and that works for any shell commands.

  • @[email protected]
    link
    fedilink
    31 year ago

    :tabnew would open a new tab inside the existing instance, you can also use vsplit and split for a split inside the current tab.

    • @rjooskeOP
      link
      41 year ago

      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