Friday, July 18, 2014

Shortcut Key for Snippets in Sublime Text 2

Im sorry but there is no shortcut to toggle snippet(insert snippet command)  . But I can teach you on how to enable it .

First , Open you sublime text 2 >> Go to  >> Preferences >> Key Bindings - User
then sublime text will open your configuration

next up , we will  now add the shortcut key


{ "keys": ["alt+insert"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}}


after adding these save it and you can now access your insert snippet pallete or whatever they call it by pressing 
alt+insert

P.S 

my whole configuration looks like these

[
{ "keys": ["alt+insert"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}}
]

No comments:

Post a Comment