+117

Support "unbinding" of keys

Lorin Hochstein 13 år siden opdateret af tukusejssirs 5 år siden 5
If the user has a global keyboard shortcut defined that conflicts with a Sublime Text default binding, then Sublime Text will capture the keyboard shortcut. Currently, you need to edit the global key bindings file to disable these default shortcuts.

Allow the user to "unbind" a default key binding in the user key bindings file.

Agree. I like "Open Folder…" better than "Open File…" but I can't remap Cmd+O without editing the global file.
+9
I'm late to the party, but this is doable like so:

{ "keys": ["alt+shift+left"], "command": "unbound" }

Just use the command "unbound".
+5

@Trevor This does not work for ctrl+shift+u. This shortcut is used on linux to enter unicode charcter. See http://superuser.com/questions/510907/unicode-composition-in-sublime-text

+3

Better yet: Forbid use of "AltGr" on PCs and "Alt" unless the key combination contains an additional Ctrl/Super/… key (‘real modifier’), or at least make an option to forbid such destructive behaviour.

For me, this is one of the most annoying reasons to switch to other editors repeatedly whenever I need ‘special’ (letters not used in postclassical English or classical Latin). Mapping to a non-existing command presupposes that (1) the key is a normal non-modifying letter (not the case with ‘dead’ keys in general or Ctrl-Shift-U on Linux) and (2) that users do not switch to a different keyboard for typing different languages or getting special letters.

If (1) does not hold, there is no way to get the desired behaviour even temporarily (reda ABDI's case).

If (2) does not hold, the key will work with one keyboard layout as expected, but will be broken when switching.

I hope this issue is resolved. Sublime Text 3 should not intercept keybindings when they are unbound

Kundesupport af UserEcho