Created
March 12, 2025 16:21
-
-
Save adibhanna/41065a04480119f82187987cbe66ad42 to your computer and use it in GitHub Desktop.
vim keymaps - vscode
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
| [ | |
| "vim.easymotion": false, | |
| "vim.incsearch": true, | |
| "vim.useSystemClipboard": true, | |
| "vim.useCtrlKeys": true, | |
| "vim.hlsearch": true, | |
| "vim.enableNeovim": true, | |
| "vim.highlightedyank.enable": true, | |
| "vim.insertModeKeyBindings": [ | |
| { | |
| "before": [ | |
| "j", | |
| "j" | |
| ], | |
| "after": [ | |
| "<Esc>" | |
| ] | |
| }, | |
| ], | |
| "vim.normalModeKeyBindingsNonRecursive": [ | |
| { | |
| "before": [ | |
| "Y", | |
| "Y" | |
| ], | |
| "after": [ | |
| "v", | |
| "a", | |
| "{", | |
| "V", | |
| "y" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<leader>", | |
| "e" | |
| ], | |
| "commands": [ | |
| "workbench.action.toggleSidebarVisibility" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<leader>", | |
| "p" | |
| ], | |
| "commands": [ | |
| "workbench.action.gotoSymbol" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<leader>", | |
| "o" | |
| ], | |
| "commands": [ | |
| "workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<C-d>" | |
| ], | |
| "after": [ | |
| "<C-d>", | |
| "z", | |
| "z" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<C-u>" | |
| ], | |
| "after": [ | |
| "<C-u>", | |
| "z", | |
| "z" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<C-h>" | |
| ], | |
| "after": [ | |
| "<C-w>", | |
| "h" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<C-j>" | |
| ], | |
| "after": [ | |
| "<C-w>", | |
| "j" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<C-k>" | |
| ], | |
| "after": [ | |
| "<C-w>", | |
| "k" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<C-l>" | |
| ], | |
| "after": [ | |
| "<C-w>", | |
| "l" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "b", | |
| "n" | |
| ], | |
| "commands": [ | |
| ":tabnext" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "b", | |
| "p" | |
| ], | |
| "commands": [ | |
| ":tabprev" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "c" | |
| ], | |
| "commands": [ | |
| ":tabclose" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "h" | |
| ], | |
| "commands": [ | |
| ":noh" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "leader", | |
| "w" | |
| ], | |
| "commands": [ | |
| "workbench.action.files.save", | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "f" | |
| ], | |
| "commands": [ | |
| "workbench.action.quickOpen", | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "s", | |
| "t" | |
| ], | |
| "commands": [ | |
| "workbench.action.findInFiles", | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "l", | |
| "r" | |
| ], | |
| "commands": [ | |
| "editor.action.rename" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "l", | |
| "f" | |
| ], | |
| "commands": [ | |
| "editor.action.formatDocument" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "l", | |
| "a" | |
| ], | |
| "commands": [ | |
| "editor.action.quickFix" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "l", | |
| "A" | |
| ], | |
| "commands": [ | |
| "code-runner.run" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "g", | |
| "r" | |
| ], | |
| "commands": [ | |
| "editor.action.goToReferences" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "g", | |
| "D" | |
| ], | |
| "commands": [ | |
| "editor.action.goToDeclaration" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "g", | |
| "o" | |
| ], | |
| "commands": [ | |
| "editor.action.goToTypeDefinition" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "K", | |
| ], | |
| "commands": [ | |
| "editor.action.showDefinitionPreviewHover" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "g", | |
| "i" | |
| ], | |
| "commands": [ | |
| "editor.action.goToImplementation" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<Leader>", | |
| "l", | |
| "D" | |
| ], | |
| "commands": [ | |
| "editor.action.goToDeclaration" | |
| ] | |
| }, | |
| ], | |
| "vim.visualModeKeyBindings": [ | |
| { | |
| "before": [ | |
| "J" | |
| ], | |
| "commands": [ | |
| "editor.action.moveLinesDownAction" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "K" | |
| ], | |
| "commands": [ | |
| "editor.action.moveLinesUpAction" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| ">" | |
| ], | |
| "after": [ | |
| ">", | |
| "g", | |
| "v" | |
| ] | |
| }, | |
| { | |
| "before": [ | |
| "<" | |
| ], | |
| "after": [ | |
| "<", | |
| "g", | |
| "v" | |
| ] | |
| }, | |
| ], | |
| "vim.leader": "<space>", | |
| "vim.handleKeys": { | |
| "<C-a>": false, | |
| "<C-f>": false | |
| }, | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment