Skip to content

Instantly share code, notes, and snippets.

@dingo-d
Last active February 2, 2019 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dingo-d/135fbaa24bfb04124dd1514e6cf9f0bf to your computer and use it in GitHub Desktop.
Save dingo-d/135fbaa24bfb04124dd1514e6cf9f0bf to your computer and use it in GitHub Desktop.
Some keybindings that help me develop in visual studio code editor
[
{
"key": "cmd+shift+[Period]",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "error_log( print_r( , true ) );"
}
},
{
"key": "cmd+shift+m",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "print_r('<pre>');\nprint_r( );\nprint_r('</pre>');"
}
},
{
"key": "cmd+shift+l",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "console.log( ${0} );"
}
},
{
"key": "cmd+shift+-",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "<?php ${1} ?>"
}
},
{
"key": "cmd+shift+[Comma]",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "?>${1}<?php"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment