Copy a clickable link with a hint #208
Closed
RoscoeEH
started this conversation in
Feature requests / ideas
Replies: 1 comment 1 reply
|
You can do this directly in the config right now! Here's what that would look like glide.keymaps.set("normal", "ys", () =>
glide.hints.show({
selector: "[href]",
async action({ content }) {
const href = await content.execute((target) => (target as HTMLAnchorElement).href);
await navigator.clipboard.writeText(href);
},
}));This should definitely be a builtin feature though. edit: looks like the default keymap for this in vimium is |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Something similar to the LinkHints.activateModeToCopyLinkUrl functionality in vimium. When you press a something such as 'ys' it would bring up hints and instead of following the link it would just copy it to clipboard.
All reactions