Skip to content

Instantly share code, notes, and snippets.

@Enzodtz
Last active May 14, 2021 14:58
Show Gist options
  • Save Enzodtz/f54384840a4a2587743074393d349ef1 to your computer and use it in GitHub Desktop.
Save Enzodtz/f54384840a4a2587743074393d349ef1 to your computer and use it in GitHub Desktop.
My VSCode keybindings.json
[
{
"key": "ctrl+j",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+k",
"command": "workbench.action.quickOpenNavigatePrevious",
"when": "inQuickOpen"
},
{
"key": "tab",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !vim.mode != 'Insert'"
},
{
"key": "shift+tab",
"command": "outdent",
"when": "editorTextFocus && !vim.mode != 'Insert'"
},
{
"key": "alt+j",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "alt+k",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl + .",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus"
},
{
"key": "ctrl+v",
"command": "-extension.vim_ctrl+v",
"when": "editorTextFocus && vim.active && vim.use<C-v> && !inDebugRepl"
},
{
"key": "ctrl+c",
"command": "-extension.vim_ctrl+c",
"when": "editorTextFocus && vim.active && vim.overrideCtrlC && vim.use<C-c> && !inDebugRepl"
},
{
"key": "ctrl+h",
"command": "-extension.vim_ctrl+h",
"when": "editorTextFocus && vim.active && vim.use<C-h> && !inDebugRepl"
},
{
"key": "ctrl+x",
"command": "-extension.vim_ctrl+x",
"when": "editorTextFocus && vim.active && vim.use<C-x> && !inDebugRepl"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment