hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Middle-clicking on selected text should paste it to the current input

Open perry-mitchell opened this issue 9 years ago • 12 comments

  • OS version and name: Ubuntu 16.04
  • Hyper.app version: 0.8.3 -> 1.0.0
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/perry-mitchell/e524335b722839b55ea6d09140648bc3
  • Relevent information from devtools: NA
  • The issue is reproducible in vanilla Hyper.app: Is vanilla

Issue

In other terminals middle-clicking pastes selected content, wherever you click in the terminal. Hyper will paste only if the middle click does not occur on top of the selected text:

Hyperterm middle click failing

When middle-clicking on the text itself, nothing happens.

perry-mitchell avatar Nov 22 '16 11:11 perry-mitchell

Does the normal paste command (cmd+v etc.) work -- it might require setting copyOnSelect: true in ~/.hyper.js

jamo avatar Nov 22 '16 11:11 jamo

@jamo When hovering over selected text, pressing the mouse wheel does nothing no matter what copyOnSelect is set to.

However, CtrlShiftV works while hovering over selected text when copyOnSelect is set to true, not when set to false.

(I’m on Ubuntu 16.04, too. Same Hyper version)

kleinfreund avatar Nov 22 '16 11:11 kleinfreund

This also occurs when middle-clicking anywhere on the same line, even if it's not exactly on the text.

perry-mitchell avatar Dec 01 '16 11:12 perry-mitchell

@perry-mitchell I will do a PR you will be able to test it when made

ppot avatar Dec 15 '16 05:12 ppot

Any update on this? Middle mouse click for paste is kinda staple in most terminals... got used to its convenience, hoping I can recreate it here too. Thank you!

working-name avatar Aug 20 '17 03:08 working-name

I've made a PR for middle click support https://github.com/zeit/hyper/pull/3069

philcaonz avatar Jun 05 '18 21:06 philcaonz

Any chance on reviewing and merging #3069?

lechat avatar Aug 15 '18 12:08 lechat

+1, this is a greatly needed feature

thetaurean avatar Sep 06 '18 18:09 thetaurean

Is it possible to have the choice between the middle-button or the right-button click for pasting ?

harmin-parra avatar Aug 09 '22 21:08 harmin-parra

Hello, Any news on this topic? The PR is "Awaiting Response" since 2019.

Konnichy avatar May 06 '23 22:05 Konnichy

+1

ixqbar avatar Oct 11 '23 02:10 ixqbar