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}"
},
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
<?php | |
/** | |
* Example usage (using jQuery): | |
* var url = "/path/mantisconnect_json.php?name=mc_project_get_issues&project_id=0&page_number=1&per_page=10"; | |
* $.getJSON(url, function(data) { | |
* $.each(data, function() { | |
* console.log(data.id + ': ' data.summary); | |
* }); | |
* }); | |
*/ |