hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Cannot remap editor:paste in Hyper 3.0.2

Open m4rkw opened this issue 5 years ago • 6 comments

Hyper 3.0.2 on windows 10

config: https://gist.github.com/m4rkw/caf261398f09b5acbffe5b0763c5f489

alt+c works for copy, alt+v for paste does nothing. it was working on 2.0.0.

m4rkw avatar Sep 12 '19 09:09 m4rkw

I tried toggling modifierKeys.altIsMeta but it made no different.

m4rkw avatar Sep 12 '19 09:09 m4rkw

If I map it to ctrl+v it works. but then i can't use ctrl+c for copy because that makes no sense in a terminal.

m4rkw avatar Sep 12 '19 09:09 m4rkw

If I don't bind alt+v and press it, for some reason it opens a vim session with a file in /tmp/bash-rc-. not sure what that is.

m4rkw avatar Sep 12 '19 10:09 m4rkw

Note that xterm 4 has a new paste API which enables proper pasting with custom keybindings, letting you leverage navigator.clipboard instead of document.execCommand('paste').

https://github.com/xtermjs/xterm.js/blob/4.0.0/typings/xterm.d.ts#L672-L677

Tyriar avatar Sep 12 '19 18:09 Tyriar

I'm suffering from this same issue and it's very annoying.

zeatful avatar Sep 26 '19 20:09 zeatful

I have same issue on Hyper 3.3.0 on Windows 10.

mihyaeru21 avatar Sep 08 '22 03:09 mihyaeru21