We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm having a bit of trouble getting kitty to paste a path without the lineumber part. Let's say I did this in a kitty terminal running bash:
$ echo ./.local/share/example.txt:1:2
then the regular path hint
map ctrl+f kitten hints --type path --program -
will paste ./.local/share/example.txt:1:2to the current terminal. I want it to paste just ./.local/share/example.txtwithout the 1:2 at the end.
./.local/share/example.txt:1:2
./.local/share/example.txt
1:2
I tried this mapping:
map ctrl+f kitten hints --type linenum --linenum-action self --program - {path}
Which does almost what I want, but not quite: i.e. the file path appears on the terminal, but also executes the line right away.
So, how do I past just the path without everything after the first colon? Maybe a new --linenum-action none or paste is needed?
--linenum-action
none
paste
The text was updated successfully, but these errors were encountered:
8cfb1ef
Thank you for your work.
Sorry, something went wrong.
No branches or pull requests
I'm having a bit of trouble getting kitty to paste a path without the lineumber part. Let's say I did this in a kitty terminal running bash:
then the regular path hint
will paste
./.local/share/example.txt:1:2
to the current terminal. I want it to paste just./.local/share/example.txt
without the1:2
at the end.I tried this mapping:
Which does almost what I want, but not quite: i.e. the file path appears on the terminal, but also executes the line right away.
So, how do I past just the path without everything after the first colon? Maybe a new
--linenum-action
none
orpaste
is needed?The text was updated successfully, but these errors were encountered: