distant.nvim
distant.nvim copied to clipboard
load file with command on remote to open in Neovim locally
I wonder if there would be a way to give a command to the server to load a file from the remote machine to a buffer in neovim on the local machine. I imagine semantics something like this:
# this is a remote server
pball@snowball🌐:~
❯ distant server nvim-open path/to/myfile
And a buffer for path/to/myfile
opens in the local Neovim. This would be in some sense the inverse of distant spawn. SublimeText has a version of this but it has the "hang while a synchronous copy happens"/sshfs issue. Following up #129.