AckslD / nvim-neoclip.lua

Clipboard manager neovim plugin with telescope integration
931 stars 19 forks source link

How to put like nvim-miniyank #86

Open khalidchawtany opened 1 year ago

khalidchawtany commented 1 year ago

I migrated from nvim-miniyank. When using the previous plugin I could yank 3 times and press p multiple times to cycle through pasted text. I have no idea how to achieve it using neoclip.

AckslD commented 1 year ago

If you open the telescope picker you can paste with <C-p> in insert mode or p in normal mode by default. Is that what you were looking for?

khalidchawtany commented 1 year ago

I want to make p paste the last yanked text and if I press p again, it should replace the pasted text with the previous yanked text. Like a ring

AckslD commented 1 year ago

I see, that's currently not a feature of neoclip but happy to receive a PR :)

khalidchawtany commented 1 year ago

Unfortunately I don't have lua experience. Even my config is a mess :) Feel free to close unless you want to keep the issue around.

AckslD commented 1 year ago

No problem, I'll keep it open if someone is looking for the same feature and/or feels like implementing it.

kohane27 commented 1 year ago

Seems like https://github.com/gbprod/yanky.nvim#%EF%B8%8F-yank-ring could be sth you're looking for