This looks really awesome. I used to ssh into my remote host and run nvim there, but network lag really hurts that experience.... Really really excited for this one
Replying to an old comment, but today you'd have to run ssh or the distant server in the container. There's an open item to work with docker containers directly, but you could also check out one of the competing remote dev plugins to see if they support it these days!
Late reply here :) Plugins need to be distant-aware at the moment. There's an open discussion about having distant overwrite Lua filesystem calls so distant can determine if they should be local or remote: github.com/chipsenkbeil/distant.nvim/discussions/119
Cool stuff! How would one for example handle version control on the remote fs? Would you do that through a different ssh connection, or can this be multiplexed through distant's connection?
Today, you can run the cli program like git by hand using DistantRun or the equivalent Lua function. I've got an open issue to offer shell integration with distant so you wouldn't need another connection, but that isn't implemented yet. Separately, I could imagine building a plugin on top that acts like magit or fugitive. If those plugins call out to the cli directly, then it'd be really easy to wrap those in distant using `distant action run -- git blah blah` I need to fix a plugin bug that is discarding run results first, though: github.com/chipsenkbeil/distant.nvim/issues/2 Alpha software, after all :)
awesome i been lookign for something like this for so long , snice neovim had --remote , thing, i thought why don't the other vps can't be connected to my instance so i can use my current neovoim configin nice
Very late reply :) The latest version of the plugin acts as an ssh client, so whatever you have configured should be picked up. If you're using key authentication, it should be leveraged by the plugin. There are limitations that are being refactored in later releases, so you may still hit problems, though!
This seriously awesome! It's always nice to see the Neovim and the Open Source Community progress!
This looks really awesome.
I used to ssh into my remote host and run nvim there, but network lag really hurts that experience....
Really really excited for this one
Looks great!!! You can rename window name in tmux with ,
So you can have local and remote, something like this. Great content.
Good to know! Would have helped make the demo a little clearer. :) I'll do that next time.
Awesome plugin! Will try it for sure!
Replying to old comment, but appreciate the nice words!
Cool! Can you demo how to use this in docker container? Maybe the container don't have ssh at all.
Replying to an old comment, but today you'd have to run ssh or the distant server in the container. There's an open item to work with docker containers directly, but you could also check out one of the competing remote dev plugins to see if they support it these days!
Do plugins that use the filesystem see the remote transparently, or does the plugin have to be "distant-aware"?
Late reply here :) Plugins need to be distant-aware at the moment. There's an open discussion about having distant overwrite Lua filesystem calls so distant can determine if they should be local or remote: github.com/chipsenkbeil/distant.nvim/discussions/119
cool video. what is the theme you are using in tmux ? it's nice
I'm using gruvbox-dark configured for tmux via github.com/egel/tmux-gruvbox
This is _really_ nice!
Cool stuff! How would one for example handle version control on the remote fs? Would you do that through a different ssh connection, or can this be multiplexed through distant's connection?
Today, you can run the cli program like git by hand using DistantRun or the equivalent Lua function. I've got an open issue to offer shell integration with distant so you wouldn't need another connection, but that isn't implemented yet. Separately, I could imagine building a plugin on top that acts like magit or fugitive. If those plugins call out to the cli directly, then it'd be really easy to wrap those in distant using `distant action run -- git blah blah`
I need to fix a plugin bug that is discarding run results first, though: github.com/chipsenkbeil/distant.nvim/issues/2
Alpha software, after all :)
awesome i been lookign for something like this for so long , snice neovim had --remote , thing,
i thought why don't the other vps can't be connected to my instance so i can use my current neovoim configin
nice
Thanks for the nice comment! :D
Hey senkwich, I want your nvim dotfile, thankx.
My dotfiles are not public. Sorry!
Query...
Does this mean nvim does not have to be installed on the remote servers?
Yes, that's right. :)
How do I connect using a private key?
Very late reply :) The latest version of the plugin acts as an ssh client, so whatever you have configured should be picked up. If you're using key authentication, it should be leveraged by the plugin. There are limitations that are being refactored in later releases, so you may still hit problems, though!
LSP
yep