mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.3k stars 186 forks source link

Using the "mark" keys yank the underlying selection-letter into the unnamed ("quotequote") register #467

Closed ELLIOTTCABLE closed 3 years ago

ELLIOTTCABLE commented 3 years ago

In my vim (with 'clipboard' set to "unnamedplus"), every batchmode key I hit in a Startify buffer writes to the unnamed — and thus, system — register.

For instance, if I have the entry [a] .gitignore, position my cursor over the a, and hit b (for "open in same window"), then a gets written to the unnamed register. Further, if I then hit b again (to un-mark "open in same window"), then b gets written to the unnamed register.

This quickly leads to my system clipboard being overwhelmed with single characters:

image

mhinz commented 3 years ago

Should be fixed now. Thanks! ✨