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

Feature Request:Copy link title #2474

Open
JonahWong opened this issue Apr 14, 2017 · 16 comments
Open

Feature Request:Copy link title #2474

JonahWong opened this issue Apr 14, 2017 · 16 comments

Comments

@JonahWong
Copy link

JonahWong commented Apr 14, 2017

Like 'yf' key to copy link address, adding shortcut to copy link title would be a nice touch.

@sherwinWatson
Copy link

I would love to see that implemented too

@SimonAlling
Copy link

Please make this happen!

@smblott-github
Copy link
Collaborator

One way to do this might be:

set yt copyCurrentUrl title

And possibly, for symmetry:

set yt copyCurrentUrl url

@lydell
Copy link

lydell commented Aug 25, 2017

Just noting that in VimFx, you'd do this with yv. It lets you copy the text of any element, not just links.

@mrmr1993
Copy link
Contributor

@smblott-github won't that (confusingly) make bindings for both commands show up as bindings for a single command in the help dialog?

(Also, I think you may have meant LinkHints.activateModeToCopyLinkUrl, not copyCurrentUrl.)

@knobhead
Copy link

As one of the VimFx users forced to migrate in the wake of FF57, I'd also love to see this feature.

VimFx behaviour in element_text_copy mode is to also 'LinkHint' form fields (<input>, <textarea, even with their disabled attribute set...) and copy their content.

@protostork
Copy link

This would be wonderful (and presumably quite quick) to implement - it's the only feature from VimFx I now miss, after yank URL features have been recently implemented on the Firefox Quantum version.

@skating507
Copy link

really need this feature

@jefferyyuan
Copy link

+1 for this feature
@smblott-github @mrmr1993
I tried "map yv LinkHints.activateModeToCopyLinkUrl title", but it doesn't work...

@edrex
Copy link

edrex commented Sep 17, 2019

In qutebrowser ym copies the current URL/title as a markdown link, which is usually what I want.

@knobhead
Copy link

Hi, any chance to get this feature into the development roadmap? Unfortunately I can't help with coding, but I'll be happy to help with testing or anything else within my reach. Also, I'd be happy to donate, as vimium-ff is my daily driver...

@gdh1995
Copy link
Contributor

gdh1995 commented Oct 30, 2019

Just an advertisement: I have a customized Vimium C and it supports copyCurrentTitle and even a powerful copyWindowInfo which supports customizable text formats.

For example, if someone wants to copy tab info in Markdown form, then this helps:

map <f6> copyWindowInfo type="tab" format="[${title}](${url})"

@edrex
Copy link

edrex commented Oct 30, 2019

@gdh1995 why are you forking instead of pushing improvements upstream?

@gdh1995
Copy link
Contributor

gdh1995 commented Oct 30, 2019

I have lots of ideas and there're too many ones not liked by Vimium's main developers. So currently most of my PRs to Vimium are only to fix bugs.

@edrex
Copy link

edrex commented Nov 14, 2019

There is a rejected patch that implements ym: #2054

It seems like, with 69 open PRs and no commits in 6 months, this project isn't being actively maintained. Maybe the coffeescript legacy is dragging it down?

@usfkotb
Copy link

usfkotb commented Mar 29, 2020

I managed to overcome this by a custom keybinding:
map yf LinkHints.activateMode action=copy-text

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

No branches or pull requests