question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

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 šŸ˜¢

2018-04-10 09 58 53

Do any other vim users have this issue?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
despesetcommented, Apr 26, 2018

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.

set t_RS=

Ź…Ź•ā€¢į“„ā€¢Ź”Źƒ

0reactions
jesseleitecommented, Mar 8, 2019

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 šŸ¤”

Screen Shot on 2019-03-08 at 15-02-58

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I speed up pasting into vim? - Unix & Linux Stack Exchange
To save a lot of clipboard text to file quickly, you can run cat > file.txt , paste the contents, then press Ctrl...
Read more >
How to paste from the clipboard into vim when I type ... - Quora
If vim has ā€œclipboardā€ ( :echo has(ā€œclipboardā€) ) enabled, you can paste from the ā€œclipboard bufferā€ (within X, tere are actually two: +...
Read more >
How to make vim paste from (and copy to) system's clipboard?
You can paste into vim by gnome-terminal's shortcut for paste. Place the file in insert mode and use.
Read more >
Copy to system clipboard instead of vim buffer - Super User
If it has clipboard support, copying from and pasting into the * or + registers should use the system/X11 clipboards, so "*yy would...
Read more >
https://studmed.uio.no/elaring/voila/venv/lib/pyth...
... LISP pastebin at http://paste.lisp.org/ to cover as much syntax as possible. ... form vim 6.4 scheme.vim # syntax file. keywords = (...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found