Skip to content
New issue

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

copy current tab url with 'yy' #173

Open
arjenzhou opened this issue Jul 22, 2020 · 5 comments
Open

copy current tab url with 'yy' #173

arjenzhou opened this issue Jul 22, 2020 · 5 comments

Comments

@arjenzhou
Copy link

Thanks for this great extension!

It is a convenient way to copy current tab's url into clipboard with hotkey 'yy', will this be supported?

@floydj
Copy link

floydj commented Sep 16, 2020

I would love this, too. Use it constantly when using Vimium on Chrome.

@nikitavoloboev
Copy link

Alternatively you can use some text expansion program, I use Typinator and make this snippet:

image

{/AppleScript
tell application "Safari" to return URL of front document
}

The applescript code: tell application "Safari" to return URL of front document will return the URL of the currently open Safari tab. I have it bound to :s to expand. This way there is never even a need for yy to copy a URL.

@srikat
Copy link

srikat commented Sep 26, 2020

+1.

@codycodes
Copy link

codycodes commented Nov 7, 2020

While less fancy, another solution that doesn't require any external programs is to use ⌘ + L to jump to the URL bar and then ⌘ + C to copy the link. Yes, it takes more keyboard shortcuts, but it is baked into Safari by default and also works on other platforms/browsers (e.g. ⌃ + L then ⌃ + C on Windows in Chrome to achieve the same result).

@rk1
Copy link

rk1 commented Mar 12, 2021

Something else I really like in vimum is yf, which is kind of similar, but instead of copying the current tab url it shows the links and you can copy a target url. Maybe it should be classified as a different feature request though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants