Home Download Buy Blog Forum Support

Snippets shortcut

Snippets shortcut

Postby marcomar on Wed Jan 18, 2012 11:35 pm

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!
marcomar
 
Posts: 2
Joined: Wed Jan 18, 2012 11:32 pm

Re: Snippets shortcut

Postby weslly on Wed Jan 18, 2012 11:48 pm

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

Code: Select all
{ "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.
weslly
 
Posts: 202
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: Snippets shortcut

Postby marcomar on Wed Jan 18, 2012 11:54 pm

Thanks!
marcomar
 
Posts: 2
Joined: Wed Jan 18, 2012 11:32 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 20 guests