Go to Sublime Text 2 > Preferences > Key Bindings - User and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}Go to Sublime Text 2 > Preferences > Key Bindings - User and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}| <?php | |
| /** | |
| * Image shortcode callback | |
| * | |
| * Enables the [kovshenin_image] shortcode, pseudo-TimThumb but creates resized and cropped image files | |
| * from existing media library entries. Usage: | |
| * [kovshenin_image src="http://example.org/wp-content/uploads/2012/03/image.png" width="100" height="100"] | |
| * | |
| * @uses image_make_intermediate_size | |
| */ |