Sublime Forum

Many shortcuts fail on non-US keyboard

#1

Hello.

I’m using Sublime Text with a Spanish keyboard, in which various symbols are in shift positions to leave room for Spanish letters. Forward slash, for example, is Shift+7.

Now, as you know, the keyboard shortcut for commenting or uncommenting a line is Ctrl+/, and block comments are toggled with Shift+Ctrl+/. The second one is of course impossible to enter on a Spanish keyboard, and regarding the first one, neither Ctrl+Shift+7 nor Ctrl+(numeric keypad /) does anything at all.

This has been tried on both Windows 10 and GNU/Linux (64 bit) installs, and it works the same on both — or rather, doesn’t work.

What’s happening and what can I do about it?

0 Likes

#2

Open: <Key Bindings - User>
Here can you define your own bindings, i.e.
[size=85]{ “keys”: “ctrl+q”], “command”: “toggle_comment”, “args”: { “block”: false } },
{ “keys”: “ctrl+shift+q”], “command”: “toggle_comment”, “args”: { “block”: true } },[/size]

User settings overwrites the default settings.

0 Likes

#3

See also my comment elsewhere: viewtopic.php?f=3&t=18993#p69664

0 Likes