remote-nvim.nvim
remote-nvim.nvim copied to clipboard
Offline mode - send .tar.gz of pre-built binary
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"
}
}
}