gbprod / yanky.nvim

Improved Yank and Put functionalities for Neovim
Do What The F*ck You Want To Public License
802 stars 22 forks source link

YankyPutAfter vs YankyGPutAfter #167

Closed davidsteinberger closed 6 months ago

davidsteinberger commented 6 months ago

I've been playing around w/ yanky and really like it. Well done!
I'm not sure if this is the right place to ask but I do not get the difference between YankyPutAfter and YankyGPutAfter. I initially thought that the latter would preserve the selected text, but for me it looks like as if both are doing the same thing in normal and visual mode. What am I missing?

gbprod commented 6 months ago

Hey! If you read :help gp : Just like "p", but leave the cursor just after the new text. :)