Skip to content

Instantly share code, notes, and snippets.

@nateritter
Last active May 27, 2020 16:01
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 nateritter/493972a04af960781c94365643a44c69 to your computer and use it in GitHub Desktop.
Save nateritter/493972a04af960781c94365643a44c69 to your computer and use it in GitHub Desktop.
VSCode keybindings.json
[
/**
* Activity Bar
**/
{
"key": "cmd+k cmd+e",
"command": "workbench.view.explorer"
},
{
"key": "cmd+k cmd+v",
"command": "workbench.view.scm"
},
{
"key": "cmd+k cmd+d",
"command": "workbench.view.debug"
},
{
"key": "cmd+k cmd+x",
"command": "workbench.extensions.action.showInstalledExtensions"
},
/**
* File Explorer
**/
{
"key": "cmd+d",
"command": "duplicate.execute",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "cmd+n",
"command": "explorer.newFile",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "shift+cmd+n",
"command": "explorer.newFolder",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "cmd+r",
"command": "workbench.files.action.refreshFilesExplorer",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
/**
* Git Commit
**/
{
"command": "git.commit",
"when": "activeViewlet == 'workbench.view.scm'",
"key": "cmd+enter"
},
/**
* Terminal
**/
{
"key": "cmd+t",
"command": "workbench.action.terminal.toggleTerminal"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment