Skip to content

Instantly share code, notes, and snippets.

@i5on9i
Last active January 8, 2021 01:31
Show Gist options
  • Save i5on9i/b669f3a62c8beb3696d5ba9facc3d415 to your computer and use it in GitHub Desktop.
Save i5on9i/b669f3a62c8beb3696d5ba9facc3d415 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+r",
"command": "workbench.action.gotoSymbol"
},
{
"key": "ctrl+k ctrl+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus"
},
{
"key": "f4",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "f3",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+f4",
"command": "editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+f3",
"command": "editor.action.previousSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "alt+f2",
"command": "editor.action.dirtydiff.previous",
"when": "editorTextFocus"
},
{
"key": "alt+f7",
"command": "editor.action.referenceSearch.trigger",
"when": "editorTextFocus"
},
{
"key": "alt+f8",
"command": "editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+]",
"command": "editor.fold",
"when": "editorFocus"
},
{
"key": "ctrl+[",
"command": "editor.unfold",
"when": "editorFocus"
},
{
"key": "ctrl+shift+alt+]",
"command": "editor.foldAll",
"when": "editorFocus"
},
{
"key": "ctrl+shift+alt+[",
"command": "editor.unfoldAll",
"when": "editorFocus"
},
{
"key": "f8",
"command": "goToNextReferenceFromEmbeddedEditor",
"when": "inReferenceSearchEditor"
},
{
"key": "f7",
"command": "goToPreviousReferenceFromEmbeddedEditor",
"when": "inReferenceSearchEditor"
},
{
"key": "f8",
"command": "goToNextReference",
"when": "referenceSearchVisible"
},
{
"key": "f7",
"command": "goToPreviousReference",
"when": "referenceSearchVisible"
},
{
"key": "ctrl+alt+l",
"command": "numberedBookmarks.listFromAllFiles"
},
{
"key": "alt+,",
"command": "workbench.action.navigateBack"
},
{
"key": "alt+.",
"command": "workbench.action.navigateForward"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment