Skip to content

path expanding on hints #2822

@sbeckeriv

Description

@sbeckeriv

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions