Random clipboard dumping / pasting into vim buffer when opening in Hyper?
See original GitHub issue-
I am on the latest Hyper.app version
-
I have searched the issues of this repo and believe that this is not a duplicate
-
OS version and name: MacOS High Sierra 10.13.3
-
Hyper.app version: Hyper 2.0.0-canary.16
-
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/JesseLeite/5a46d38452fba5e08e28627d2d0954d7
-
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
-
The issue is reproducible in vanilla Hyper.app: Yes, just tested and it happens with a freshly generated .hyper.js file in canary.
Issue
Randomly when opening vim, hyper seems to immediately paste whatās in my clipboard to the open buffer. It also seems to paste a random number of times. Sometimes itās 6 times, others itās only one time. I can then hold u
to undo everything, but itās quite annoying. It doesnāt always happen, but happens quite frequently when Iāve recently copied something to my clipboard. Iād also like to note that it has never happened with iTerm or Terminal.app, but has been happening for the last 6+ months since I started using Hyper š¢
Do any other vim users have this issue?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top GitHub Comments
Found this while debugging the same issue in a different terminal emulator. Seems to be a vim bug, some kind of race condition around interpreting terminal data as commands when interrogating it for cursor styles.
The best information I was able to find is on StackExchange here: Strange vim xterm interaction auto insertion of register when opening file
The relevant vim issue seems to be https://github.com/vim/vim/issues/2238
Adding this to your
.vimrc
does fix this problem by disabling the vim feature in question.Ź Źā¢į“„ā¢ŹŹ
Man, this is still a nagging issue for me. I mostly notice it when opening vim and quickly opening my fzf.vim fuzzy finder to open a file š¤