"" Source your .vimrc "source ~/.vimrc "" -- 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 " Do incremental searching. set incsearch set easymotion let mapleader="\" " Don't use Ex mode, use Q for formatting. map Q gq map l (easymotion-lineforward) map j (easymotion-j) map k (easymotion-k) map h (easymotion-linebackward) map w (easymotion-w) map b (easymotion-b) nmap s (easymotion-s2) nmap t (easymotion-t2) let g:EasyMotion_smartcase = 1 " ==== 系统剪切板复制粘贴 ==== " v 模式下复制内容到系统剪切板 vmap c "+yy " n 模式下复制一行到系统剪切板 nmap c "+yy " n 模式下粘贴系统剪切板的内容 nmap v "+p "" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t "" Map \r to the Reformat Code action "map \r (ReformatCode) "" Map d to start debug "map d (Debug) "" Map \b to toggle the breakpoint on the current line "map \b (ToggleLineBreakpoint) " Find more examples here: https://jb.gg/share-ideavimrc map("i", "", "b") map("i", "", "l") map("i", "", "j") map("i", "", "k")