Vimium: Feature Request:Copy link title

Created on 14 Apr 2017  路  16Comments  路  Source: philc/vimium

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

Most helpful comment

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

All 16 comments

I would love to see that implemented too

Please make this happen!

One way to do this might be:

set yt copyCurrentUrl title

And possibly, for symmetry:

set yt copyCurrentUrl url

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

@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.)

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.

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.

really need this feature

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

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

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...

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})"

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

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.

There is a rejected patch that implements ym: https://github.com/philc/vimium/pull/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?

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peter099 picture peter099  路  3Comments

ghost picture ghost  路  3Comments

Semro picture Semro  路  3Comments

finalfantasia picture finalfantasia  路  3Comments

everyonesdesign picture everyonesdesign  路  3Comments