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

path expanding on hints #2822

Closed
sbeckeriv opened this issue Jul 1, 2020 · 0 comments · Fixed by #2824
Closed

path expanding on hints #2822

sbeckeriv opened this issue Jul 1, 2020 · 0 comments · Fixed by #2824

Comments

@sbeckeriv
Copy link

Is your feature request related to a problem? Please describe.
for hints i would like to expand the path this is my current hint config

map kitty_mod+p>n kitten hints --type=linenum --linenum-action=tab nvim {path}
and my term text is

/home/becker on  master [⇡»!?] via C base 
✦ ❯ vi ~/.config/kitty/kitty.conf:5
/home/becker on  master [⇡»!?] via C base took 16h49m54s 
✦ ❯ /home/becker/.config/kitty/kitty.conf:5

the full path opens correct
the ~ path opens.. im not sure. when i try and write it vim says "E212: Can't open file for writing: no such file or directory"

If i run just

vi ~/.config/kitty/kitty.conf the activity shows nvim loading the full path.

Describe the solution you'd like
maybe an {expanded_path} ?

Describe alternatives you've considered
maybe {path} passed to nvim i just receiving the wrong thing?

Additional context
the running vim commands from manual vs the hint.

image

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

Successfully merging a pull request may close this issue.

1 participant