vim-yoink icon indicating copy to clipboard operation
vim-yoink copied to clipboard

Popup

Open medwatt opened this issue 4 years ago • 4 comments

First of all, thanks for this very useful plugin. I've been using it and it seems to be doing exactly what it claims to do. I just wonder if it's possible to have an option that enables a popup that shows the list of yanks in the text area immediately after you paste.

PS: I'm using coc.vim for autocomplete.

medwatt avatar Oct 09 '20 20:10 medwatt

+1 for awesome plugin!

Perhaps something like vim-peekaboo?

j-hui avatar Dec 24 '20 22:12 j-hui

+1 for popup on eg - with maybe option to use < 1 - 9> keys to select text to paste from popup list

JoseConseco avatar Aug 05 '21 19:08 JoseConseco

I miss the :YRShow from yankring, it shows the yanks, but you can also select which one to paste with a number, or navigate to the line and use p or P to paste after/before the cursor.

The cycling through past yanks behavior is not very intuitive to me (all modern yank plugins seem to do this), I don't use this a lot, I try to use yank/paste in a way that doesn't need this, but sometimes I know I yanked/deleted/changed what I want some time ago but then I have no clue how long ago this was usually, and selecting from a list is easier, probably fewer keypresses (have to press for each cycle and then evaluate if it was ok and decide if you need to press again), and I don't have to dedicate low-nr-of-keys keypress maps to forward/backward cycling (otherwise it is very unpleasant to cylce) which I don't use a lot, I just use one higher-number-of-keys keypress map to the list command and then it is usually just pressing one number to select what I want from the list.

But yeah, YankRing has it's own issues where it needs a bunch of maps that sometimes interfere with other plugins/functionality.

Frydac avatar Feb 27 '22 10:02 Frydac

I'm using cmp+NeoVim Lsp. Looking for something for these as well!

xinslu avatar Aug 09 '22 09:08 xinslu