vimium icon indicating copy to clipboard operation
vimium copied to clipboard

[Feature] Copy text in element

Open otomist opened this issue 2 weeks ago • 0 comments

TLDR: command: c for copy or y for yank followed by element tag key for example c for code or s for span. After the yank and tag specifier key are pressed the, hints appear on each of that tag type just like how link hints appear after clicking "f". Typing the hint text will then copy the inner text from that element.

I've been using this feature on my fork for a while now.

The main inspiration came from needing to copy large code blocks on websites without having to move my mouse. However, abstracting it to any tag using * or specific tags for example "a" has made my workflow a lot smoother.

If this is something you think is a suitable enhancement to the project I will happily clean up my code and put a PR in. 🥳

otomist avatar Dec 04 '25 17:12 otomist