Skip to content

Instantly share code, notes, and snippets.

@satetsu888
Created October 5, 2022 01:45
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 satetsu888/95d8ce032a74536e119f189c110bf7a5 to your computer and use it in GitHub Desktop.
Save satetsu888/95d8ce032a74536e119f189c110bf7a5 to your computer and use it in GitHub Desktop.
keybindings.json
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+k",
"command": "git.stage",
"when": "workbench.scm.active"
},
{
"key": "ctrl+j",
"command": "git.unstage",
"when": "workbench.scm.active"
},
{
"key": "ctrl+l",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+h",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+c",
"command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek"
},
{
"key": "ctrl+c",
"command": "closeReferenceSearch",
"when": "referenceSearchVisible && !config.editor.stablePeek"
},
{
"key": "ctrl+b v",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+b b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b j",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+z",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+b a",
"command": "go.toggle.test.file"
},
{
"key": "ctrl+g",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+c",
"command": "workbench.action.closeQuickOpen",
"when": "inQuickOpen"
},
{
"key": "ctrl+c",
"command": "workbench.action.closeActiveEditor",
"when": "!editorTextFocus && !inQuickOpen"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment