Neovim terminal and @edit

It appears NVIM_LISTEN_ADDRESS has been deprecated: introduce $NVIM, unset $NVIM_LISTEN_ADDRESS by justinmk · Pull Request #11009 · neovim/neovim · GitHub

You’ll need to use NVIM instead. If I change my ~/.bashrc to this:

if [ -n "$NVIM" ]; then
    export VISUAL="nvr -cc split --remote-wait +'set bufhidden=wipe'"
else
    export VISUAL="vim"
fi

I’m able to use @edit to open in a horizontal split:

2 Likes