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

Change default shortcut #10

Open
kdemidov opened this issue Dec 22, 2015 · 4 comments
Open

Change default shortcut #10

kdemidov opened this issue Dec 22, 2015 · 4 comments

Comments

@kdemidov
Copy link

I think to be more consistent with some other "Expand selection to ..." commands, it makes sense to change the default shortcut from Ctrl+' to Super+Shift+'. What do you think?

@heaversm
Copy link

You can change this yourself by going (in ST3) to - preferences > key bindings. This should open two files - the default mac file, and a user file (.sublime-keymap - user). In that file, add an entry:

{ "keys": ["command+'"], "command": "expand_selection_to_quotes"}

@kdemidov
Copy link
Author

Thanks, I already use that shortcut. I just wanted to suggest you to change a default shortcut if you think it makes sense.

@kek
Copy link
Owner

kek commented Jun 26, 2021

It does sound like a reasonable suggestion if it would be more in line with other "expand selection to" commands. The plugin did originally have a similar shortcut (Super-Shift-Q etc) but changed it in 7ee0528 for a reason I can't remember.

@kek kek reopened this Jun 26, 2021
@kek
Copy link
Owner

kek commented Jun 26, 2021

Opening again as it is a valid suggestion. My worry is to change the shortcut that some people might have gotten are used to, since it seems that the plugin actually does have a few users. Perhaps to keep Ctrl+' and add Super+Shift+'? And put the new shortcut last in the list as it seems that is what will be shown in the menu. After a while perhaps remove the old shortcut. I'm not sure if it's possible to pop up a message to users when a Sublime plugin is updated informing of a removed or deprecated shortcut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants