Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release of Nvim-remote #1

Open
mauricekraus opened this issue Apr 6, 2022 · 7 comments
Open

Release of Nvim-remote #1

mauricekraus opened this issue Apr 6, 2022 · 7 comments

Comments

@mauricekraus
Copy link

Hey,

I saw your post on Reddit (https://www.reddit.com/r/neovim/comments/qm9lf5/remote_containers_development_in_nvim/).

Do you plan to continue the project, especially now having nvim-remote integrated?

If you give me a good starting point, I'd be happy to contribute.

@GustavoKatel
Copy link
Owner

yes, I plan to continue this project, but I'm waiting a bit on this issue: neovim/neovim#10071

right now this project has the bare minimum and works ok, but if you see the readme in the root you see that there's some missing features, it would be nice to have that completed. Also it's been a while since I checked for new features in the official reference: https://code.visualstudio.com/docs/remote/devcontainerjson-reference

@sisrfeng
Copy link

sisrfeng commented Nov 17, 2022

I think the title should be release of nvim-remote-containers
see: https://github.com/jamestthompson3/nvim-remote-containers

@radwo
Copy link

radwo commented Jan 21, 2023

Hi!

Thanks for your previous work on this project!

Lately, neovim/neovim#10071 was merged in neovim/neovim#18375.

Do you still have plans to work on it?

@GustavoKatel
Copy link
Owner

yes, but I don't have a clear timeline to when I can start, I'm busy with another project atm. I'm open to contributions on this tho. happy to guide anyone interested in helping out.

@c3n21
Copy link

c3n21 commented Apr 30, 2023

yes, but I don't have a clear timeline to when I can start, I'm busy with another project atm. I'm open to contributions on this tho. happy to guide anyone interested in helping out.

I would really love to see such feature merged.

My idea would be bind mounting NeoVim's extracted AppImage and use it as a TUI server, so that locally we can run nvim --remote-ui to attach to NeoVim running inside the container.

Also this would also mean to bind mount come XDG_* directories, but with rootless containers shouldn't be a real issue no?

Also, such configuration I think that shouldn't be saved in project's .devcontainer.json but should be something local to the user, for instance a "global" ~/.config/devcontainer-rs/devcontainer.json that will integrate those configuration in project's configuration, and should only configure NeoVim's server instance (or other editor specific configuration for devcontainers integration) and does the bind mount of XDG_* directories.

@GustavoKatel
Copy link
Owner

GustavoKatel commented Apr 30, 2023

tbh I thinks this is already possible. it already supports loading a config from the home folder and merge with the project folder. see: https://github.com/GustavoKatel/devcontainers-rs#how-to

in 2.1 - Starting editor/ide after setting up containers: try replacing nvim-qt with the TUI

PS.: I haven't tested, so lmk if that works

@GustavoKatel
Copy link
Owner

what's missing is getting the spec reference for devcontainer.json up to date with the new features and breaking changes. so bc of that, the container might get a little weird when compared with vscode. not sure how far the diff goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants