Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control-Backspace Does Not Work (Windows) #1913

Open
2 tasks done
dmaisano opened this issue Jun 7, 2017 · 23 comments
Open
2 tasks done

Control-Backspace Does Not Work (Windows) #1913

dmaisano opened this issue Jun 7, 2017 · 23 comments
Labels
🖼 Platform: Windows Issue pertains to Windows

Comments

@dmaisano
Copy link

dmaisano commented Jun 7, 2017

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • Windows 10 64bit (build 1607):
  • Hyper.app 1.3.3:
  • The issue is reproducible in vanilla Hyper.app:

Issue

I use Hyper on both my macOS device and my windows desktop, on Mac I am able to remove words with ease using alt-delete, on Windows trying to get the same results using ctrl-backspace instead does not delete the previous string of characters but instead places a 'w' character every time the combination is pressed (see gif attached). On both platforms, I am running the most update to date version of the app and have the same plugins installed.

(note) I have tried to see if running the app without plugins (vanilla) would resolve the issue, to which the issue persists regardless.

Plugins:
{
    'hypersixteen',  // theme
    'hyper-dark-scrollbar',
    'hyperpower',
    'hyper-blink',
    'hyperterm-clicky',
    'hyperterm-cursor'
}

ctrl-backspace

I don't recall if the ctrl-backspace functionality worked in a previous version or if this is something that will be fixed/added in a future update for Windows. If there is any way around this help would be appreciated!

@iamakulov
Copy link

@dmaisano Why did you close this? Is there a solution?

@dmaisano
Copy link
Author

dmaisano commented Jul 3, 2017

No solution as far as I am aware, I'm hoping this is something that may come to be fixed with the release of the next update, for now I am going back cmder as a terminal emulator so that I can have the desired functionality. Once Hyper is a bit more stable and usable on the Windows platform I will definitely switch back.

@whitelynx
Copy link

@dmaisano: Even if you're not using Hyper any more, there's at least a few other people who also want to see this fixed. (myself included) Could you reopen it?

@dmaisano
Copy link
Author

@whitelynx Sure thing (reopened issue)

@dmaisano dmaisano reopened this Aug 12, 2017
@mystcreater
Copy link

By the time Ctrl+Backspace will be operational again, you can use Alt+Backspace as a replacement. My fingers hate the shortcut but it's better than nothing.

As I can see in my settings, the parameter seems to be disabled for a reason that I don't know:
2017-08-16_11-58-06

@ppot ppot added the 🖼 Platform: Windows Issue pertains to Windows label Aug 18, 2017
@denengineer
Copy link

Do someone found any workaround? Almost year passed and it's still here

@albinekb
Copy link
Contributor

albinekb commented Jul 5, 2018

It looks like it should work 🤔: https://github.com/zeit/hyper/blob/canary/app/keymaps/win32.json#L45-L47

@denengineer
Copy link

Hmm, definitely doesn't work for me on Win 10 x64. Maybe I need to enable it somewhere?

@iamakulov
Copy link

Tested with Hyper 2.0 and different shells on Windows 1803:

  • In Powershell, Ctrl+Backspace inserts ^H
  • In cmd, Ctrl+Backspace deletes the previous letter
  • In Windows subsystem for Linux (launched with wsl), Ctrl+Backspace properly deletes the previous word

@rafaelbdb
Copy link

Same problem here (Windows 10). It works with Alt+Backspace (for some reason...)

@icharge
Copy link

icharge commented Oct 13, 2018

Same problem here (Windows 10). It works with Alt+Backspace (for some reason...)

Me too.

@andreipaz
Copy link

Same problem here (Windows 10). It works with Alt+Backspace (for some reason...)

Me too, too

@lmnogues
Copy link

As a workaround, in the settings i've remove the keymap settings :

  keymaps: {
      'editor:movePreviousWord': '',
      'editor:moveNextWord': '',      
      "editor:moveEndLine": "",
      "editor:deletePreviousWord": "",
      "editor:deleteNextWord": "",

  },

@eluchsinger
Copy link

Any fixes approaching?

@Rattkener
Copy link

Ctrl+Bkspc is a nonstandard shortcut, I think the solution lies in the fact that keymapping is an option in Hyper. Alt+bkspc is the widely accepted shortcut anyways, and ctrl+w taking even higher precedents it would seem, in everything other than windows.

@eluchsinger
Copy link

@Rattkener can you specify what you mean by "widely accepted shortcut"? Because in Windows it is Ctrl + Backspace and not Alt + Backspace and I believe Windows is the most used operating system by wide margins.

Why can't we make shortcuts adapt to the User System, if you think Keymapping is the option? For example on Chrome, on Windows Ctrl + Backspace is deleting the previous word, whereas on MacOS it will be something different.

@Rattkener
Copy link

Rattkener commented Oct 2, 2019 via email

@eluchsinger
Copy link

eluchsinger commented Oct 3, 2019

I am not sure when the discussion shifted to Ctrl - W, but I expect Ctrl - W to work on Windows aswell, because it is a widely used keymap. I won't go into your assumptions, but I can reiterate what I just said: I expect it to just work like on many, many other applications which work flawlessly on Windows, Mac and *nix systems (without having portability issues and disparities).

I think that is what this Issue is about. Making this tool better for everyone - without making unbased assumptions and stereotyping about different OS's..

@Rattkener
Copy link

Was likely miscommunication as I was saying alt - bkspc was common among the systems this app was originally intended for, but ctrl-W takes precedence due to standard.

Regardless of that, I still don't think this is an issue that needs to be "fixed" though I can see the complaint.

Despite attempts to diffuse my previous post with jabs about where it's based, I won't scope creep into where my "assumptions" lie. I'll at least stand by the fact that the application shouldn't be conforming across the board because one OS out of the group does things differently.

A good proposal would maybe be a toggle option? Or even to let the OS take precedence for "delete by word" applications side?

@eluchsinger
Copy link

Or even to let the OS take precedence for "delete by word" applications side?

This!

@AlessandroDiGioacchino
Copy link

AlessandroDiGioacchino commented Feb 3, 2021

Any news about this? Both Ctrl + Backspace and Alt + Backspace are translated to ^H for me.
I haven't defined any custom keymap:
image

I'm on Windows 7

@Zarainia
Copy link

Zarainia commented Nov 6, 2021

Same for me, and setting up

 "editor:deletePreviousWord": "ctrl+backspace"

doesn't help, which makes sense I suppose because it's apparently the default mapping for Windows.

@ezhupa99
Copy link

ezhupa99 commented Mar 10, 2023

Ctrl+Bkspc is a nonstandard shortcut, I think the solution lies in the fact that keymapping is an option in Hyper. Alt+bkspc is the widely accepted shortcut anyways, and ctrl+w taking even higher precedents it would seem, in everything other than windows.

@Rattkener
I tried Alt+Backspace and the same it prints out ^H (it prints the same on Ctrl + Backspace)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖼 Platform: Windows Issue pertains to Windows
Projects
None yet
Development

No branches or pull requests