Keybindings to use with the vscode-neovim extension.
Last active
May 19, 2024 11:03
-
-
Save MunifTanjim/977b82b97a6fd9be58cdc24fe9025c67 to your computer and use it in GitHub Desktop.
VSCode Keyboard Shortcuts to use with vscode-neovim
This file contains hidden or 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
[ | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+p", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.switchWindow", | |
"when": "!neovim.init" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-workbench.action.switchWindow" | |
}, | |
{ | |
"key": "ctrl+w l", | |
"when": "!inputFocus && sideBarFocus", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "space e", | |
"when": "!inputFocus", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "[ c", | |
"when": "neovim.init && neovim.mode == normal && editorTextFocus", | |
"command": "workbench.action.editor.previousChange" | |
}, | |
{ | |
"key": "] c", | |
"when": "neovim.init && neovim.mode == normal && editorTextFocus", | |
"command": "workbench.action.editor.nextChange" | |
}, | |
{ | |
"key": "g g", | |
"when": "!inputFocus && filesExplorerFocus", | |
"command": "list.focusFirst" | |
}, | |
{ | |
"key": "shift+g", | |
"when": "!inputFocus && filesExplorerFocus", | |
"command": "list.focusLast" | |
}, | |
{ | |
"key": "h", | |
"when": "!inputFocus && filesExplorerFocus", | |
"command": "list.collapse" | |
}, | |
{ | |
"key": "j", | |
"when": "!inputFocus && listFocus", | |
"command": "list.focusDown" | |
}, | |
{ | |
"key": "k", | |
"when": "!inputFocus && listFocus", | |
"command": "list.focusUp" | |
}, | |
{ | |
"key": "l", | |
"when": "!inputFocus && filesExplorerFocus", | |
"command": "list.select" | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment