Skip to content

Instantly share code, notes, and snippets.

@dkoloditch
Last active March 14, 2021 19:33
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 dkoloditch/be5220cf4960fabd2290a6574db2b217 to your computer and use it in GitHub Desktop.
Save dkoloditch/be5220cf4960fabd2290a6574db2b217 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaults
// atom-like additions for VSCode
[
// for quick console.log entries without a newline added
{
"key": "shift+cmd+l",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "console.log(${TM_SELECTED_TEXT}$1)$2"
}
},
// for toggling the sidebar
{
"key": "shift+cmd+e",
"command": "workbench.action.toggleSidebarVisibility"
},
// for toggling the explorer
{
"key": "cmd+e",
"command": "workbench.view.explorer"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment