" ~/.config/vscode/vscode.vimrc " New-Item -ItemType SymbolicLink -Path ~\.config\vscode\vscode.vimrc -Target ~\.dotfiles\vscode\vscode.vimrc " ln -sf $DOTFILES/vscode/vscode.vimrc $XDG_CONFIG_HOME/vscode/vscode.vimrc " And go to vscode vim setting: "vim.vimrc.path": "$HOME/.config/vscode/vscode.vimrc", " Arrow remap noremap n j noremap e k noremap i l " Switch between tabs noremap H :bprevious noremap I :bnext noremap N 5j noremap E 5k " Similar position to i noremap l i noremap L I " ne[k]st noremap k n noremap K N " [j]ump noremap j e noremap J E " Y to yank to end of line noremap Y y$ " 分词版本的w和b,支持中文,需要插件 " Comment if you don't use cjk or the plugin noremap w cjkWordHandler.cursorWordEndRight noremap b cjkWordHandler.cursorWordStartLeft " keep selection after indent (define in settings.json) " voremap < >gv " lsp noremap gi editor.action.goToImplementation noremap gpi editor.action.peekImplementation noremap gd editor.action.goToDefinition noremap gpd editor.action.peekDefinition noremap gt editor.action.goToTypeDefinition noremap gpt editor.action.peekTypeDefinition noremap gh editor.action.showDefinitionPreviewHover noremap workbench.action.quickOpen noremap : workbench.action.showCommands " q : +quit noremap qq :quit noremap qQ :qall noremap Q :quit " w : +write/window noremap ww :write noremap wa :wall noremap wq :wq noremap W :write noremap wh workbench.action.focusLeftGroup noremap wH workbench.action.splitEditorLeft noremap wn workbench.action.focusBelowGroup noremap wN workbench.action.splitEditorDown noremap we workbench.action.focusAboveGroup noremap wE workbench.action.splitEditorUp noremap wi workbench.action.focusRightGroup noremap wI workbench.action.splitEditorRight " f : +find/file noremap ff workbench.action.quickOpen noremap fF workbench.view.search noremap fc workbench.action.openSettings noremap fC workbench.action.openFolderSettingsFile noremap fe workbench.view.explorer noremap fr workbench.action.showAllEditorsByMostRecentlyUsed noremap fR workbench.action.openRecent noremap fs workbench.action.search.toggleQueryDetails noremap ft workbench.action.terminal.toggleTerminal noremap fx workbench.view.extensions " p : +project (requires Project Manager extension) noremap pp projectManager.listProjects noremap pP projectManager.listAnyProjects#sideBarAny noremap pc projectManager.openSettings#sideBarAny noremap pe projectManager.editProjects noremap pf projectManager.addToFavorites noremap pF projectManager.filterProjectsByTag noremap pg projectManager.listGitProjects#sideBarGit noremap pr workbench.action.openRecent noremap ps projectManager.saveProject " g : +git noremap gg workbench.view.scm noremap gS git.stageAll " j : +jump noremap jj workbench.action.gotoLine " l : +language (define in settings.json) " u : +ui noremap ui workbench.action.selectTheme noremap uw editor.action.toggleWordWrap noremap uz workbench.action.toggleZenMode " a : +ai/action noremap aa inlineChat.start noremap aA workbench.panel.chat noremap ae workbench.action.chat.openEditSession " r : +refactor " s : +search " t : +test noremap tt testing.runAll noremap tT testing.debugAll noremap ta testing.runAll noremap tA testing.debugAll noremap tf testing.reRunFailedTests noremap tF testing.debugFailedTests noremap tl testing.reRunLastRun noremap tL testing.debugLastRun noremap tc testing.runCurrentTest noremap tC testing.debugCurrentTest noremap tx testing.cancelTestRun " d : +debug " h : +help " c : +code noremap cr coderunner.run noremap cf editor.action.formatDocument noremap c editor.action.trimTrailingWhitespace noremap cs workbench.action.gotoSymbol noremap cS workbench.action.showAllSymbols " b : +buffer noremap bb workbench.action.showAllEditors noremap bd :bdelete noremap bh :bprevious noremap bi :bnext