| 1 | "" Source your .vimrc |
| 2 | "source ~/.vimrc |
| 3 | |
| 4 | "" -- Suggested options -- |
| 5 | " Show a few lines of context around the cursor. Note that this makes the |
| 6 | " text scroll if you mouse-click near the start or end of the window. |
| 7 | set scrolloff=5 |
| 8 | |
| 9 | " Do incremental searching. |
| 10 | set incsearch |
| 11 | |
| 12 | " Don't use Ex mode, use Q for formatting. |
| 13 | map Q gq |
| 14 | |
| 15 | |
| 16 | "" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t |
| 17 | "" Map \r to the Reformat Code action |
| 18 | "map \r <Action>(ReformatCode) |
| 19 | |
| 20 | "" Map <leader>d to start debug |
| 21 | "map <leader>d <Action>(Debug) |
| 22 | |
| 23 | "" Map \b to toggle the breakpoint on the current line |
| 24 | "map \b <Action>(ToggleLineBreakpoint) |
| 25 | |
| 26 | map / <Action>(Find) |
| 27 | |
| 28 | " Find more examples here: https://jb.gg/share-ideavimrc |