Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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