vercel / vercel/hyper

Hyper adds extra spaces on copy/paste in vim

Open
#3,720 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

I use vim a lot. When I select a line (see screenshot), press cmd+c and then cmd+v it copy/pastes only the text that's on the line (in the screenshot "foo"), but after a few hours or days of usage, cmd+c will copy "foo" + as many extra spaces as there are until the end of the line on the screen. I don't know how to trigger this intentionally, it just happens after sometime. Quitting and re-opening Hyper fixes the issue.

Screenshot 2019-06-05 at 08 00 23 Screenshot 2019-06-05 at 08 01 31

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the copy/paste behavior in Hyper 3.0.2 on macOS with vim, using the reported cmd+c and cmd+v sequence and checking whether restarting Hyper clears it. Trace the selection and clipboard behavior around the point where extra spaces are copied; done means copying a selected line consistently copies only its text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.