-
Notifications
You must be signed in to change notification settings - Fork 20
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
Doesn't work with neovim from snap #82
Comments
The actual nvim binary has a -R option: https://neovim.io/doc/user/starting.html#-R I do not have snap (and the ubuntu docker container does not have systemd so I can not try it there) so you will have to figure out what snap does to the binary of neovim and why it does not pass on the switch. Maybe start with
|
Yes, of course, nvim has -R switch. But snap somehow intercepts this option when nvim is invoked through I really don't want to go in snap guts. It is simpler for me to download the appimage or the deb package. So it is just for your information. You may close this issue if you see fit. |
I spun up a VM with Ubuntu and found:
I conclude that snap uses symlinks and the "original name" that we can set with "exec -a" to figure out which application to start. I have to think about it, if I want to drop the |
Tools like snap rely on the name of the executable to determine which program to run. Using "exec -a nvimpager /snap/bin/nvim" breaks this expectation. Fixes #82.
Well, there is another problem. I removed all nvim directories with
Install nvimpager:
Then changed
I also moved away .vimrc and .vim from $HOME but the result was the same. Well, then I installed nvimpager into /usr/local/bin with |
Kubuntu 22.04.1:
The text was updated successfully, but these errors were encountered: