Closed
Description
I want to be able to connect to a Neovim session on another computer.
On the remote server I ran the following:
NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim --headless
Then on the local machine I ran:
ssh -L /tmp/nvim.socket:/tmp/nvim.socket [email protected]
NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim
Unfortunately that doesn't work though. Connecting to the socket via NVIM_LISTEN_ADDRESS
is not possible. I've also tried it with NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim-qt
and NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nyaovim
.
Neovim-Qt has a --server
option. Using that on my local machine nvim-qt --server /tmp/nvim.socket
does work. So for now I can only connect to my remote nvim session with Neovim-Qt.
It would be great to see a --server
option for the nvim
binary too, so it's possible to also connect to remote Neovim sessions from the terminal.