vercel / vercel/hyper

Add keyboard shortcut to insert from middle-click buffer in Linux

Open
#1,294 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🛠 Type: Feature Request
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • OS version and name: Ubuntu 16.04
  • Hyper version: Hyper 1.0.0
  • Link of a Gist with the contents of your .hyper.js: Default contents
  • Relevent information from devtools (CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere): NA
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Coming from gnome-terminal, I expected Shift+Insert to paste from middle-click buffer but instead it does exactly the same as Ctrl+Shift+V and inserts the contents of the clipboard.

I couldn't find another keyboard shortcut to do it either. Is there a way to edit keyboard shortcuts?

At least I can perform this action using the mouse (middle click) for now but that's inconvenient since I like to do most things without leaving the keyboard.

Anyway, I would like it if Shift+Insert would paste from middle-click buffer (also called primary or selection buffer) like it does in gnome-terminal. See for example http://unix.stackexchange.com/questions/178070/why-does-shiftinsert-paste-from-clipboard-in-some-applications-and-primary-in-o#answer-178401

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 locating Hyper's keyboard shortcut handling and its Linux middle-click or primary-selection behavior. Reproduce the issue on Ubuntu 16.04, then verify that Shift+Insert inserts the middle-click buffer while the existing clipboard paste shortcut continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.