remote-nvim.nvim icon indicating copy to clipboard operation
remote-nvim.nvim copied to clipboard

Offline mode - send .tar.gz of pre-built binary

Open 0xjairo opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe. I have access to multiple machines running Ubuntu 20.04 on arm64, and Neovim is not provided as a pre-built binary for this OS/CPU architecture. I have a built neovim binary on one of these machines (via the install process in remote-nvim) but I would like to re-use this binary when I launch remote-nvim in other machines.

Currently, when I start a new session on a new machine it downloads sources and builds nvim, which takes multiple minutes to complete.

Describe the solution you'd like It would be nice if I could specify a machine OS/CPU-arc and the version to use e.g.

{
  binary_urls = {
    "linux-arm64" = {
      binary_source = "~/.cache/nvim/remote-nvim.vim/nvim-10.1-aarch64.tar.gz"
    },
    "linux-amd64" = {
      binary_source = "github"
    }
  }
}

0xjairo avatar Aug 26 '24 22:08 0xjairo