Open marwan-tanager opened 1 month ago
I was experiencing the same issue. I had my clipboard set to vim.o.clipboard = 'unnamedplus'
. When commenting this out, I was able to successfully use the gy
mapping.
The gy
mapping stores the diff to the "
register. You can validate that the diff is properly getting copied by running the :registers "
command. After copying with gy
, you need to validate the contents of the "
register. If it is empty, you may be overwriting the register in some way.
Hi, I couldn't get the
gy
mapping to yank the diff in the chat window to work. Also, it doesn't work if I assign any other key combination tomappings.yank_diff
.