Last active
August 2, 2018 06:41
-
-
Save aroraayush/300f3a2a21164301f006419087169156 to your computer and use it in GitHub Desktop.
vs_code_keybindings
This file contains hidden or 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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ // console.log(#cursor) | |
"key": "alt+c", | |
"command": "editor.action.insertSnippet", | |
"args": { | |
"snippet": "console.log(${0:}$SELECTION);" | |
} | |
}, | |
{ // alert(#cursor) | |
"key": "alt+a", | |
"command": "editor.action.insertSnippet", | |
"args": { | |
"snippet": "alert(${0:}$SELECTION);" | |
} | |
}, | |
{ | |
"For_of_Loop": { | |
"prefix": "forof", | |
"body": [ | |
"for (const ${2:element} of ${1:array}) {", | |
"\t$0", | |
"}" | |
], | |
"description": "For Loop" | |
}, | |
}, | |
{ // PHP | |
//echo "$varName ":#cursor; | |
"key": "alt+e", | |
"command": "editor.action.insertSnippet", | |
"args": { | |
"snippet": "echo '$${0:}$SELECTION :'.$${0:};" | |
} | |
}, | |
{ // PHP | |
//var_dump(#cursor); | |
"key": "alt+v", | |
"command": "editor.action.insertSnippet", | |
"args": { | |
"snippet": "var_dump($${0:}$SELECTION);" | |
} | |
}, | |
{ | |
"key": "alt+shift+d", | |
"command": "editor.action.copyLinesDownAction" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment