Search code examples
macoskeyboard-shortcutssublimetextsublimetext2

Change keyboard shortcut for sidebar in sublime text 2


Currently the shortcut to hide or show the sidebar is cmd K, cmd B.

I would like it just be cmd K.

Is there a way to do this? Thanks!!


Solution

  • Sure, you can edit it like any other keyboard shortcut from Sublime Text 2 > Preferences > Key Bindings - User:

    [
        { "keys": ["super+k"], "command": "toggle_side_bar" }
    ]
    

    Note that this will disable all the other shortcuts with a ⌘K prefix, such as the ones for converting case and folding, even though they'll still show up in the menus.