- If you can
sshinto the server then Unison should work.
- Install the same version on the client and on the server.
To sync the contents of
dir b into
unison -batch -color true <dir-a> ssh://<user>@a<host>/<dir-b>
- Download the binary file with
chmod +x <file>
- copy the executable somewhere on your path like
unison -doc tutorial>
remote shell method
- use a filewatcher to sync on change, or use cron to sync every n minutes
You can also use unison to sync files on the same computer.
Recently I needed to work on a codebase that was on a remote machine whilst still using my local workflow and developer tools.
Vim’s built in
scp:// functionality isn’t versatile enough - i wanted to use
fzf.vim to search for text across the code base. This led me to