set clipboard=unnamed in my configuration. When I open nvim with
nvim, the clipboard is left unchanged but if I open with
nvim . the latest entry of the clipboard is always something unexpected.
For example, let's say I do the following:
- using Alfred, I run "Clear Clipboard History".
- using the terminal, I run
pbcopy < /dev/null.
- I add
3to my clipboard history. I can see those entries using Alfred
- I open nvim with
My clipboard history is showing:
4 3 2 1
4 isn't expected here. I don't always see a number like
4 but I always get something I don't want as the latest entry. I got the feeling nvim keeps some sort of history somewhere and populates the clipboard on startup.
I run the same experience with
gvim and I get:
3 2 1
What I see with
gvim is the behavior I expect. Here is my complete