Created
November 18, 2021 21:47
-
-
Save tranquan/1aa05524607243b7d0103ee992412554 to your computer and use it in GitHub Desktop.
Key bindings for vscode with vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "ctrl+shift+k", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "-editor.action.deleteLines", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "workbench.action.focusActiveEditorGroup" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "-workbench.action.search.toggleQueryDetails", | |
"when": "searchViewletVisible" | |
}, | |
{ | |
"key": "f12", | |
"command": "editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+f12", | |
"command": "-editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+f12", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "alt+shift+up", | |
"command": "editor.action.copyLinesUpAction", | |
"when": "editorTextFocus && vim.active" | |
}, | |
{ | |
"key": "alt+shift+down", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && vim.active" | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment