chipsenkbeil / chipsenkbeil/distant.nvim

load file with command on remote to open in Neovim locally

Open
#130 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
1.4k
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I wonder if there would be a way to give a command to the server to load a file from the remote machine to a buffer in neovim on the local machine. I imagine semantics something like this:

```bash
# this is a remote server
pball@snowball🌐:~
❯ distant server nvim-open path/to/myfile
```
And a buffer for `path/to/myfile` opens in the local Neovim. This would be in some sense the inverse of distant spawn. [SublimeText has a version of this](https://github.com/randy3k/RemoteSubl) but it has the "hang while a synchronous copy happens"/sshfs issue. Following up #129.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.