Skip to content

Instantly share code, notes, and snippets.

@sauron
Created August 28, 2020 13:32
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 sauron/48d1e36e961bf8ffd0738fbecc9a1611 to your computer and use it in GitHub Desktop.
Save sauron/48d1e36e961bf8ffd0738fbecc9a1611 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+y",
"command": "default:redo"
},
/**
* 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"
},
/**
* Terminal
**/
{
"key": "cmd+k 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