-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Consider adding support for win
in key bindings?
#3184
Comments
The Windows key is owned by the OS Shell, unfortunately, so we won't have terribly much luck in re-binding it inside Terminal. Our current solution is "bind Ctrl+Shift", because the standard set of control sequences doesn't contain serializations for ctrl+shift+(letter). |
win
in key bindings?
For the record, ConEmu supports this. Switching between tabs with Win+number combinations works just fine. |
I strongly support a feature like this. Visual Studio Code allows this too, and I use it extensively.
If the OS catches a keystroke before Terminal can, no harm done right? |
Would love to be able to reimplement i3 keybindings (would require win modifier as well). |
I think this is a very important topic to allow people to customize there shortcuts the way they are used to from Cmder or ITerm. And the documentation is not clear that windows is not an option so far. I had to search hard for it. |
Note to self, re the changes to |
## Summary of the Pull Request Does what it says on the can. People can now use `win` in a keybinding to indicate that the chord needs <kbd>win</kbd>. ## References * Done for #653 * See also #8888 ## PR Checklist * [x] Closes #3184 * [x] I work here * [ ] Tests added/passed * [ ] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments For the record, I hate this. But it's great for quake mode, so _meh_. There's shockingly more win keys claimed then you think - many more than the shortcut guide even shows. * `win+b`: Focus the tray? * `win+t`: Focus the taskbar * `win+p`: Project... * `win+c`: The powertoys color picker * `win+v`: cloud clipboard So the list of valid combos is vanishingly small. It's all about that <kbd>win+~</kbd> ## Validation Steps Performed Bound ```json { "keys": [ "win+`" ], "command": "commandPalette" }, ``` and yea, it works as expected
## Summary of the Pull Request Does what it says on the can. People can now use `win` in a keybinding to indicate that the chord needs <kbd>win</kbd>. ## References * Done for microsoft#653 * See also microsoft#8888 ## PR Checklist * [x] Closes microsoft#3184 * [x] I work here * [ ] Tests added/passed * [ ] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments For the record, I hate this. But it's great for quake mode, so _meh_. There's shockingly more win keys claimed then you think - many more than the shortcut guide even shows. * `win+b`: Focus the tray? * `win+t`: Focus the taskbar * `win+p`: Project... * `win+c`: The powertoys color picker * `win+v`: cloud clipboard So the list of valid combos is vanishingly small. It's all about that <kbd>win+~</kbd> ## Validation Steps Performed Bound ```json { "keys": [ "win+`" ], "command": "commandPalette" }, ``` and yea, it works as expected
🎉This issue was addressed in #9783, which has now been successfully released as Handy links: |
Description of the new feature/enhancement
Support more keystroke on keybinding like: meta (win) key.
In most UNIX terminal, Ctrl, Alt and Shift are captured by the program, if we use these modifiers to bind keybinding, we cannot send these keys into the program.
Like most terminal emulators in macOS, they most use command (cmd) key to bind shortcuts to avoid prevent occupying sending these modifiers into terminal, IMO, Terminal should support capturing Win (Meta) as modifier and allowing to bind shortcuts.
Proposed technical implementation details (optional)
It seems that
Windows::System::VirtualKeyModifiers
supportsWin
key, so is this feature possible?The text was updated successfully, but these errors were encountered: