Last active
May 19, 2018 00:10
-
-
Save 112KA/acfd03d6ac9edcd0154932fc055e6c0d to your computer and use it in GitHub Desktop.
output console.log() shortcut in Sublime Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "args": {"to": "word"}, "command": "expand_selection" }, | |
{ "args": null, "command": "copy" }, | |
{ "args": { "to": "eol" }, "command": "move_to" }, | |
{ "args": { "characters": "\n" }, "command": "insert" }, | |
{ "args": { "characters": "console.log('" }, "command": "insert" }, | |
{ "args": null, "command": "paste" }, | |
{ "args": { "characters": ": ', " }, "command": "insert" }, | |
{ "args": null, "command": "paste" }, | |
{ "args": { "characters": ");" }, "command": "insert" } | |
] |
🔥
So sick man.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file 'C:\Users[username]\AppData\Roaming\Sublime Text 2\Packages\User'.
And add following to .sublime-keymap.