Fork me on GitHub
#vim
<
2020-11-26
>
practicalli-johnny17:11:27

Are there any recommended approaches to using Vim/NeoVim to edit file on a remote server and connect to a Clojure repl also running on that server (Ubuntu server on AWS) I'm running a virtual pairing session and would like to support Vim users (I have Emacs working already), someone else is working on VSCode users. Do people ssh onto the remote server and start vim/neovim. Or are there vim packages to add to a local Vim/Neovim setup and connect to the remote machine?

Jan K18:11:54

you can connect to a remote nREPL using :Connect <host>:<port> with vim-fireplace

Jan K18:11:17

editing remote files can be done with vim ... or eg. sshfs to mount them locally

orestis20:11:10

Conjure also supports remote nrepl (I use it all the time, with ssh port forwarding though)

nate23:11:07

I run neovim remotely, connected to a local (for it) nrepl port. All in tmux so that local machine reboots don't impact my dev context.

nate23:11:09

It's a really lovely way to work.