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}"
}
}
/** | |
* Navigation toolbar experiment | |
*/ | |
@import url(http://fonts.googleapis.com/css?family=PT+Sans); | |
body{ | |
background: #111; |
/** | |
* Subtle icons | |
*/ | |
html { | |
background: #111;; | |
min-height: 100%; | |
} | |
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}"
}
}
<!DOCTYPE html> | |
<html> | |
<body> | |
<webview src="http://sau.no"></webview> | |
</body> | |
</html> |