-
I have ctrl+right enabled for copying to clipboard. But for git hashes, I only want to copy the first 12 characters even if I selected the entire thing. Basically, Is there a way to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Use the hints kitten, it can do arbitrary things to pices of text on the
screen. You will trigger it with keyboard but once triggerred you can
click on matches to select them.
|
Beta Was this translation helpful? Give feedback.
-
I achieved this with the following kitten:
And then mapped it using I didn't use triplepress since it also includes the single press which I have mapped to copy, so initially the entire text gets copied which I didn't want to do. |
Beta Was this translation helpful? Give feedback.
I achieved this with the following kitten: