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

Adding keymapping for access to Settings #684

Merged
merged 6 commits into from
May 14, 2019

Conversation

timheuer
Copy link
Member

First stab at adding a key mapping to settings so I can quickly access it instead of using a mouse :-)

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little wary of binding Ctrl+S by default for this. Maybe Ctrl+Shift+S? But otherwise this looks good and righteous to me!

@timheuer
Copy link
Member Author

CTRL+SHIFT+S would work here as well. I thought about how CTRL+S is often thought of as 'save' and would it interfere with something that might have focus in conhost when a specific terminal was there but couldn't think of it. ALT+S was another option I thought of but I then was honestly just following CTRL+T pattern for tab to be consistent with the modifier key.

@factormystic
Copy link

Some thoughts

  • should the keybinding come from a setting (or is loading keybinding from config a separate effort)
  • personally I think that registering any type of mnemonic shortcut should be done with extreme caution because one man's settings is another mans save, as you already discovered
  • is there a shortcut from any other app you could crib instead? Not sure what VS uses by default, but VS Code is ctrl + ,

@DHowett-MSFT
Copy link
Contributor

Yeah, I think Ctrl+, is the industry standard for opening settings panels.

Bonus: it doesn't conflict with any VT sequences!

@mKay00
Copy link
Contributor

mKay00 commented May 13, 2019

@factormystic keybindings will be remappable in the settings, see #748

@DHowett-MSFT DHowett-MSFT merged commit 04c7b94 into microsoft:master May 14, 2019
@DHowett-MSFT
Copy link
Contributor

@timheuer Thanks!

ObsidianPhoenix pushed a commit to ObsidianPhoenix/Terminal that referenced this pull request May 15, 2019
This commit adds the keychord Ctrl+Comma, which launches settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants