Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



> 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://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/ad8a9a3b1112a48226ec3336fa981...


Netrw, 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


Open Vim or Emacs on the remote server. A strength about those two is they work from the terminal.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: