# vim 学习路径

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75  { "vim.easymotion": true, "vim.incsearch": true, "vim.useSystemClipboard": true, "vim.useCtrlKeys": true, "vim.hlsearch": true, "vim.insertModeKeyBindings": [ { "before": [ "j", "j" ], "after": [ "" ] } ], "vim.normalModeKeyBindingsNonRecursive": [ { "before": [ "", "d" ], "after": [ "d", "d" ] }, { "before": [ "" ], "commands": [ ":nohl" ] }, { "before": [ "K" ], "commands": [ "lineBreakInsert" ], "silent": true }, { "before": [ "leader", "=" ], "commands": [ { "command": "editor.action.formatDocument" } ] }, { "before": [ "leader", "g" ], "commands": [ { "command": "go.test.generate.function" } ] } ], "vim.leader": "", "vim.handleKeys": { "": false, "": false }, "editor.lineNumbers": "relative" } 
  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71  "" Source your .vimrc "source ~/.vimrc let mapleader=" " "" -- Suggested options -- " Show a few lines of context around the cursor. Note that this makes the " text scroll if you mouse-click near the start or end of the window. set scrolloff=5 set so=5 "set ideajoin "set idearefactormode=keep "set relativenumber set nu set showmode set relativenumber set clipboard+=unnamed set clipboard+=ideaput set virtualedit=onemore "set cursorline set keep-english-in-normal " Do incremental searching. set incsearch " Don't use Ex mode, use Q for formatting. map Q gq set surround set multiple-cursors set commentary set argtextobj " set easymotion set textobj-entire set ReplaceWithRegister set exchange "" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t "" Map \r to the Reformat Code action "" Map d to start debug "map d (Debug) "" Map \b to toggle the breakpoint on the current line "map \b (ToggleLineBreakpoint) " map f (easymotion-s) " map e (easymotion-f) nmap d (Debug) " Debug 当前方法 map r (RenameElement) " 重命名变量 noremap c (Stop) noremap z (ToggleDistractionFreeMode) " 禅模式 map s (SelectInProjectView) map a (Annotate) map h (Vcs.ShowTabbedFileHistory) map (GotoNextError) map b (ToggleLineBreakpoint) " 打断点 map o (FileStructurePopup) " Editor nmap = (ReformatCode) " Find more examples here: https://jb.gg/share-ideavimrc " 全局查找 noremap g/ :action FindInPath noremap / :action Find noremap g :action Generate set ideajoin