-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Can't open files in vim #68
Comments
Can’t tell what’s wrong. Can you try to debug? Without it can’t fix it) |
I have the same issue for Could you please instruct me where to look or which file I should monitor for debugging the events that are not behaving as expected? $ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
$ fish -v
fish, version 3.3.1 |
We need to add debug logs in cmd section. On opening there should be some error. |
I was experiencing the same when installing the package via snap.
|
Had same issue with |
Wame problem here, can't open files with any editor (tried vim, nvim, subl). |
One cause might be the difference between shell variables and environment variables. If ~ echo $EDITOR
nvim
~ env | grep EDITOR # notice there is nothing returned
~ snap run --shell walk
# we drop down into snaps shell here
user@host:/home/user$ echo $EDITOR # notice there is nothing returned
user@host:/home/user$ env | grep EDITOR
user@host:/home/user$ exit
# back to normal shell
~ export EDITOR=nvim
~ snap run --shell walk
user@host:/home/user$ echo $EDITOR
nvim The next thing to figure out is how to expose the editor. My default snap doesn't have access to vi let alone neovim or my dotfiles. From inside the snap shell: user@host:/home/user$ vi
bash: /usr/bin/vi: Permission denied |
I don't think this issue should be closed @antonmedv. I've pointed out how to get the environment variable into walk but in the isolated snap environment the editor can't be launched with the current configuration. |
It worked for me, thanks! I think it's worth adding this to the BKM section somewhere |
Yeap. it looks like this is a restriction of snap platform. And getting So I'm thinking to delete snap distribution of walk. |
This might be a user error but it's not obvious to me from the documentation how to open a file.
I have added both exports below to my bashrc.
I am assuming we navigate to a file and hit enter? Nothing seems to happen thought when I hit enter.
I am using Ubuntu v18 if that might have an impact.
Thanks in advance!
The text was updated successfully, but these errors were encountered: