vimium-c icon indicating copy to clipboard operation
vimium-c copied to clipboard

Yanking and pasting shortcuts

Open ahmedeidand opened this issue 3 years ago • 4 comments

Is there any way to remap default yank and paste keys in Vomnibar mode ?

ahmedeidand avatar Apr 27 '22 15:04 ahmedeidand

What do you mean by yank and paste in Vomnibar?

gdh1995 avatar Apr 28 '22 10:04 gdh1995

If you want to map other keys to work as Ctrl+C/V on Vomnibar, then currently there's no way to do so.

I'll allow editText to run on Vomnibar in a next version of Vimium C, so you may add arbitrary editing actions you want.

gdh1995 avatar May 20 '22 16:05 gdh1995

Thank you so much 👏👏

ahmedeidand avatar May 21 '22 12:05 ahmedeidand

Now in Vimium C v1.99.0, Vomnibar uses Ctrl+C to copy a suggestion's URL, ~and Ctrl+Shift+C to copy title: URL~, if only there's no text selected.

Update: since v1.99.98, Ctrl+Shift+C will copy title + new line + URL

I've given up the idea to add a full-featured editText on Vomnibar, because it seems not powerful enough, and most of its current usages on Vomnibar can be implemented by mapKey.

gdh1995 avatar Aug 10 '22 10:08 gdh1995