-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Feature request: Keyboard shortcut to show all keyboard shortcuts #4695
Comments
Yeah, we should probably have something like this. Taking off triage since it makes sense as a backlog item |
How about something similar to what's done for vscode? We can have a PDF listing all the keyboard shortcuts in |
@abhijeetviswam The downside of that approach is that you will have to be connected to the internet to see them. VS Code has it built into VS Code as well, try pressing ctrl+s ctrl+k. I also feel forcing the user to leave the GUI is a bad UX experience. |
I believe that in general, discoverability of features that are only available under keyboard shortcuts could be better. As a personal example, I'm used to working with multiple panes in terminal as in Terminator it's as easy as right click -> "split horizontally / vertically". Trying to do that in Windows Terminal was like:
VS code has a great discoverability story in my opinion, as I can simply press Ctrl + Shift + P or click View -> Command Palette and then command search anything that I don't remember a shortcut for. I'm not sure how feasible is to do something similar in a terminal app. |
You sound like someone who'd be interested in:
|
Sure, I can try implementing that. |
What should the keyboard shortcut be to open this dialogue? |
I think something with question mark, since in web apps in browser the most common shortcut is the question mark shift+? on my Swedish keyboard at least. How about ctrl+shift+?? |
Yeah, that will be good.
|
Or just shift+?
|
How would you then just do a normal question mark? It is a terminal where you write after all 😆 |
ctrl+shift+? would probably be what I'd lean to (before doing any research on it), though we can always discuss what the default should be once we see a proof-of-concept. Changing the keybinding should be easy |
Oh yeah, good point.
|
Is there any way to get the keybinding data entered in the |
If there was a trivial way to do that, then this would probably already be done 😉 We do something similar in TerminalPage::_CreateNewTabFlyout, though I'd imagine for this dialog, we'd want something more efficient than manually creating every possible shortcut action to see i there's a key bound to it. We'd probably want |
Actually, I’m almost done with putting in every shortcut, I was just about to make a pull request. |
Looking up shortcuts in the defaults.json directly is searchable (Ctrl+F) and that is very vaulable. |
@zadjii-msft I am 50/50 on that. A pop-up ala Github, i.e. an overlay, just requires pressingEscape to close it. Great if you want to check something quickly, and most likely "not as heavy" to open. Surely a ctrl+shift+w works to close the Settings though. But I am not convinced myself. Maybe easier for you to just stick with opening the Actions page. |
After some team discussion, we came to the consensus of "yea, let's cut this". The SUI exists now, which serves this purpose (well enough). The SUI actions page is okay right now, and we should just make that better (which is tracked in numerous places from #10000). |
Description of the new feature/enhancement
GitHub, GitLab and many other tools have a keyboard shortcut to show keyboard shortcuts. E.g. on the main page of GitHub, try typing shift+? and you will get a pop-up with keyboard shortcuts.
I think it would be quite nice to have this feature for Windows Terminal. It would increase the discoverability of all keyboard shortcuts, helping developers become more productive. Becoming more productive with the terminal also most likely means sticking with it as a superior terminal.
The text was updated successfully, but these errors were encountered: