How to copy a hyperlink on hover? #8218
Replies: 2 comments 5 replies
-
Open actions happen on click not hover. And you want something like
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Write a script that takes the first first argument and apsses it to
pbcopy over stdin and invoke that in open-actions
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zzhaolei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to copy a hover hyperlink (not a standard hyperlink), how can I copy it?
I have used this script (https://sw.kovidgoyal.net/kitty/open_actions/), but it does not work.
(Is it possible to customize the protocol?)
Answer
~/.config/kitty/_copy_action
:~/.config/kitty/open-actions.conf
:click
Copy This
textecho -e "\033]8;;copy://copy this msg\033\\Copy This\033]8;;\033\\"
cmd+v
copy this msg
Beta Was this translation helpful? Give feedback.
All reactions