Created
March 19, 2017 23:46
-
-
Save paulhandy/4dcdcaf24c4c521e4c41d04bb872855f to your computer and use it in GitHub Desktop.
neovim tunnel for shared vim sessions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -o ExitOnForwardFailure=yes -fNL $2:127.0.0.1:$1 ${@:3} | |
nvim-qt --server 127.0.0.1:$2 | |
#usage: | |
#$ ./nvim-tunnel 6668 6669 user@remote.url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment