Skip to content

Instantly share code, notes, and snippets.

@spacepluk
Created October 21, 2018 11:10
Show Gist options
  • Save spacepluk/4c1a1b10fcd32dde5ee3574619c1d6c4 to your computer and use it in GitHub Desktop.
Save spacepluk/4c1a1b10fcd32dde5ee3574619c1d6c4 to your computer and use it in GitHub Desktop.
keybindings.json
[
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForwar"
},
{
"key": "alt+j",
"command": "workbench.action.nextEditor",
"when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "alt+k",
"command": "workbench.action.previousEditor",
"when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "ctrl+n",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpenNavigatePrevious",
"when": "inQuickOpen"
},
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+f",
"command": "-workbench.action.terminal.focusFindWidget",
"when": "terminalFocus"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen",
"when": "terminalFocus"
},
{
"key": "shift+alt+h",
"command": "-gitlens.showQuickRepoHistory",
"when": "gitlens:enabled && gitlens:keymap == 'alternate'"
},
{
"key": "d p",
"command": "git.stageSelectedRanges",
"when": "isInDiffEditor && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "d o",
"command": "git.unstageSelectedRanges",
"when": "isInDiffEditor && vim.active && !inDebugRepl && vim.mode != 'Insert'"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment