Skip to content

Instantly share code, notes, and snippets.

@kensleDev
Created April 10, 2023 22:50
Show Gist options
  • Save kensleDev/cb9c27d6ae12f9e73bb96f187a226cfe to your computer and use it in GitHub Desktop.
Save kensleDev/cb9c27d6ae12f9e73bb96f187a226cfe to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to override the defaultsauto[]
[
// Which key
{
"key": "space",
"command": "whichkey.show",
"when": "editorTextFocus && neovim.mode != insert"
},
{
"key": "ctrl+shift+;",
"command": "whichkey.show"
},
{
"key": "ctrl+shift+space",
"command": "whichkey.show",
"when": ""
},
// Focus
{
"key": "alt+;",
"command": "workbench.action.terminal.focus"
},
{
"key": "alt+j",
"command": "workbench.action.focusActiveEditorGroup"
},
// Views
{
"key": "alt+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+alt+;",
"command": "macros.terminalView"
},
{
"key": "ctrl+alt+j",
"command": "macros.fileView"
},
{
"key": "ctrl+shift+d",
"command": "macros.debugView"
},
{
"key": "f5", // Triggers debugView before starting debugging
"command": "macros.startDebugging",
"when": "debuggersAvailable && debugState == 'inactive'"
},
{
"key": "ctrl+shift-x",
"command": "macros.extensionView"
},
{
"key": "ctrl+shift+g g",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+shift+g p",
"command": "workbench.view.scm",
"when": "workbench.scm.active"
},
// {
// "key": "ctrl+shift+alt+p",
// "command": "vscode-nvim-bridge.toast",
// "args": {
// "msg": "Testing!",
// "logLevel": "warning"
// }
// },
{
"key": "shift+ctrl+a",
"command": "copilot-labs.use-brush-picker",
"when": "editorTextFocus"
},
{
"command": "vscode-neovim.compositeEscape1",
"key": "j",
"when": "neovim.mode == insert && editorTextFocus",
"args": "j"
},
{
"command": "vscode-neovim.compositeEscape2",
"key": "k",
"when": "neovim.mode == insert && editorTextFocus",
"args": "k"
},
{
"key": "ctrl+h",
"command": "vscode-neovim.send",
"args": ":call Test()<cr>",
"when": "editorTextFocus && neovim.mode != insert"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment