Inability to press default shortcut (⌘\) due to non-US keyboard layout
Closed this issue · 2 comments
Here's possibly a dumb newbie question, but I'm using a Swedish keyboard layout and because of that, I'm unable to press ⌘\
. I'm installing VAlign via Package Control.
Q: How and where do I change this shortcut? If I locate the Default (OSX).sublime-keymap
file and edit it, will it stay the same after Package Control updates VAlign?
Request: As a small request, I'm thinking it would be nice to have a command assigned for this plugin as well, as invoked via ⌘-Shift-P
that says something like "Align vertically" or similar.
Ah, sorry the default shortcut doesn't work for you. The keybinds files inside the plugin will most likely get overwritten when the package is updated. Rather than editing those, you can add a shortcut to your own user-defined shortcuts. Open up Sublime Text > Preferences > Key Bindings - User
and you can your own custom keybind like this: { "keys": ["super+shift+a"], "command": "valign" }
.
Adding a command to the command palette is a good idea -- I'll add that the next time I update the plugin.
Great, that settles it! Thanks.