Closed 9mm closed 3 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
this definitely still happens, and is definitely extremely annoying still
absolutely based
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.2
Operating system/version
OSX 13.5.2 (22G91)
Describe the bug
This took me awhile to isolate this down to which-key, however when the plugin is disabled the problem disappears, and re-appears when plugin is enabled again.
The problem is... if you delete into system clipboard, and immediately delete into vim clipboard/buffer, and then paste out of system clipboard... it will paste the buffer output instead of system output. See below for reproduction steps.
I don't have much plugin configuration... this is it:
Steps To Reproduce
Put the following in a file:
Press
<S-v>
and highlight apple.Press
"+d
to delete into system clipboard.Now immediately (without pressing movement or other keys) press
dd
to delete a line into standard bufferNow... press
"+p
to put whats in the system clipboard. It will be the wrong text... what you just deleted withdd
.Now, do this again, but instead of pressing
dd
... pressj
ork
to move around, now go BACK to the same line, pressdd
(so basically instead of deleting right away, move around, THEN delete)Now when you press
"+p
it will have the CORRECT outputExpected Behavior
The standard vim buffer should never interfere with the
+
system bufferThe following "repro" below illustrates the issue
Repro