Sublime Forum

Command Palette -> how to change keybinding?

#1

Hi All,

A default shortcut for the Command Palette is Ctrl+Shift+P. Is it possible to change this keybinding ? How?

Thank you!

0 Likes

#2

For example, if you want to change it to, idk, Ctrl+Shift+x, then you go to Command Palette - Preferences: Key Bindings, and add the following object to the list

{ "keys": ["ctrl+shift+x"], "command": "show_overlay", "args": {"overlay": "command_palette"} },

If you additionally want to remove Ctrl+Shift+p completely from showing the Command Palette, add the following object too:

{ "keys": ["ctrl+shift+p"], "command": "" },

Hope this helps!

1 Like