4 ms·
Does neovim, or vim for that matter, offer any out of the box support for remote work like Emacs has with tramp-mode? Asking because maybe it's time to try Neo
by dangom 5y ago
Does neovim, or vim for that matter, offer any out of the box support for remote work like Emacs has with tramp-mode?
Asking because maybe it's time to try NeoVim out, but it'd be a limitation for my work if I had to go through extra hops for editing remote files and running remote jupyter kernels.
I suppose it does, so I'd be grateful if vimmers out there would share their favorite solutions.
- Scarbutt 5y agoOpen Vim or Emacs on the remote server. A strength about those two is they work from the terminal.
- dangom 5y agoI like to mix and match local and remote files in the same Emacs frame. I know they work remotely, but that'd require me to configure them in the remote - and sometimes that's a pain because Emacs versions differ, or because the keybindings I press in the terminal sometimes coincide with Emacs commands.
- e12e 5y ago> Does neovim, or vim for that matter, offer any out of the box support for remote work like Emacs has with tramp-mode? Not really like tramp mode (doesn't magically (s)ftp files around), but there's headless and tcp connect support, like: https://github.com/Kethku/neovide#remote-tcp-support https://github.com/Kethku/neovide#remote-tcp-support https://neovim.io/doc/user/remote.html https://neovim.io/doc/user/remote.html However - this looks closer? "Seamlessly editing remote files in (Neo)Vim with Netrw and scp" https://gist.github.com/RRethy/ad8a9a3b1112a48226ec3336fa981224#seamlessly-editing-remote-files-in-neovim-with-netrw-and-scp https://gist.github.com/RRethy/ad8a9a3b1112a48226ec3336fa981...
- qu4z-2 5y agoNetrw, as a sibling comment mentions, does this for a number of common protocols (and is built-in). So you just open an file with a URL starting with sftp or whatever. https://www.vim.org/scripts/script.php?script_id=1075 https://www.vim.org/scripts/script.php?script_id=1075