Hyper: Cannot paste on latest version 2.0.4 (Windows10)

Created on 25 Oct 2017  路  10Comments  路  Source: vercel/hyper

Could not paste on version 1.4~ upgraded to 2.0.4, still cannot paste. Shows up as "^V"
Having severe problems with copying too, works 1/10 of my tries
Windows 10 x64

High Bug Windows

Most helpful comment

That is normal behaviour on Windows platform. I think that this should not be labelled as a bug.

All 10 comments

on windows 10 x64, canary, I get a ^V when i press ctrl + v.
I get a paste when I press ctrl + shift + v.

I don't use windows frequently though, so limited experience.

That is normal behaviour on Windows platform. I think that this should not be labelled as a bug.

As @ineeve said, this isn't a bug, it's the default behavior. But if you like using ctrl+v, edit your .hyper.js file:

  keymaps: {
    'editor:paste': 'ctrl+v'
  }

You can find other re-mappable actions here.

@NomNuggetNom Thank you! Why is this the default behavior instead of ctrl+v?

I think it's to be consistent with copying, with uses ctrl+shift+v. ctrl+c is used to stop programs and such so they can't use that. Generally, it's to avoid conflicts with native uses.

Isn't it normal Windows behaviour to paste when you right-click inside the terminal?

With keymaps suggestion by @NomNuggetNom, ctrl+v is working, thanks @NomNuggetNom!

However, the following pattern doesn't work:

  • past some text and do NOT press [Enter] yet
  • press backspace till the beginning of line
  • paste again

doesn't work

till the beginning of line

if you paste something, backspace few times but not till the beginning of line, then paste, it works.
if you type something, backspace till the beginning, then paste, it works as well.
if you paste something, backspace till the beginning, then type something (even a single space), then paste, it still works.

Something goes wrong with {paste} -> {clear the whole line} -> {paste again}

That is normal behaviour on Windows platform

Sounds like normal behavior "of Hyper". In Windows 10 ctrl+v does the pasting in powershell and cmd natively. Would be nice if defaults are set accordingly.. principle of least surprise etc.

The keymap worked for me, thanks!

But to add to pasting woes in Windows 10, if I right click in a second tab Hyper switches over to the first tab (and pastes into the original tab fine).

Using Hyper 2.0.0 (stable) with:

  plugins: [
    'hyper-material-theme',
    'hyper-tabs-enhanced',
    'hyper-search'
  ],

Possibly a hyper-tabs-enhanced issue, but thought I'd check here first...

@drjonnicholson can you confirm with your plugins disabled? Happy to fix this if it's a core bug, but I don't have windows installed atm and don't want to bother until confirmed :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hxnt picture hxnt  路  3Comments

rauchg picture rauchg  路  3Comments

leo picture leo  路  3Comments

aem picture aem  路  3Comments

dbkaplun picture dbkaplun  路  3Comments