Editing files and running LSP servers on a remote machine

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 25

  • @someoneyouveneverheardof
    @someoneyouveneverheardof 3 года назад +6

    This seriously awesome! It's always nice to see the Neovim and the Open Source Community progress!

  • @287MdSahil
    @287MdSahil 3 года назад +3

    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

  • @eugenemedvediev
    @eugenemedvediev 3 года назад

    Looks great!!! You can rename window name in tmux with ,
    So you can have local and remote, something like this. Great content.

    • @senkwich
      @senkwich  3 года назад +1

      Good to know! Would have helped make the demo a little clearer. :) I'll do that next time.

  • @kartikeykushwah3926
    @kartikeykushwah3926 2 года назад

    Awesome plugin! Will try it for sure!

    • @senkwich
      @senkwich  6 месяцев назад

      Replying to old comment, but appreciate the nice words!

  • @艾曦-e4g
    @艾曦-e4g Год назад +1

    Cool! Can you demo how to use this in docker container? Maybe the container don't have ssh at all.

    • @senkwich
      @senkwich  6 месяцев назад

      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!

  • @vext01
    @vext01 2 года назад +3

    Do plugins that use the filesystem see the remote transparently, or does the plugin have to be "distant-aware"?

    • @senkwich
      @senkwich  5 месяцев назад

      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

  • @reminance5823
    @reminance5823 3 года назад +2

    cool video. what is the theme you are using in tmux ? it's nice

    • @senkwich
      @senkwich  3 года назад +4

      I'm using gruvbox-dark configured for tmux via github.com/egel/tmux-gruvbox

  • @HiAdrian
    @HiAdrian 3 года назад

    This is _really_ nice!

  • @williamboman5256
    @williamboman5256 3 года назад

    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?

    • @senkwich
      @senkwich  3 года назад +1

      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 :)

  • @NormTurtle
    @NormTurtle Год назад

    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

    • @senkwich
      @senkwich  6 месяцев назад

      Thanks for the nice comment! :D

  • @__agou-ops2691
    @__agou-ops2691 2 года назад +1

    Hey senkwich, I want your nvim dotfile, thankx.

    • @senkwich
      @senkwich  2 года назад

      My dotfiles are not public. Sorry!

  • @kjlw99
    @kjlw99 2 года назад

    Query...
    Does this mean nvim does not have to be installed on the remote servers?

    • @senkwich
      @senkwich  2 года назад +1

      Yes, that's right. :)

  • @ambuj.k
    @ambuj.k 2 года назад

    How do I connect using a private key?

    • @senkwich
      @senkwich  5 месяцев назад

      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!

  • @jeanrodrigues6249
    @jeanrodrigues6249 2 года назад

    LSP