Sublime Forum

Snippets shortcut

#1

Hello folks! I tried to use the snippets but I can’t found a method to open the snippets window without got to menu Tools > Snippets. Is possible to open the window with a shortcut? Thanks!

0 Likes

#2

Yep, open the command palette, find a item named “Preferences: Key Bindings - User”, open it and add this:

{ "keys": "ctrl+y"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}}

You can change the “ctrl+y” for anything you like to be the shortcut.

0 Likes

#3

Thanks!

0 Likes

#4

add this:
{ "keys": ["ctrl+alt+s"], "command": "new_snippet"}

0 Likes