Update .ideavimrc
[khome.git] / home / .ideavimrc
... / ...
CommitLineData
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.
7set scrolloff=10
8
9" Search
10set incsearch
11set hlsearch
12
13set highlightedyank
14
15" Use system clipboard
16set clipboard+=unnamed
17
18" Don't use Ex mode, use Q for formatting.
19map Q gq
20
21
22" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
23" Map \r to the Reformat Code action
24"map \r <Action>(ReformatCode)
25
26" Map <leader>d to start debug
27"map <leader>d <Action>(Debug)
28
29" Map \b to toggle the breakpoint on the current line
30"map \b <Action>(ToggleLineBreakpoint)
31
32"map / <Action>(Find)
33"map n <Action>(FindNext)
34"map N <Action>(FindPrevious)
35
36" Find more examples here:
37" - https://jb.gg/share-ideavimrc
38" - https://www.cyberwizard.io/posts/the-ultimate-ideavim-setup/
This page took 0.029062 seconds and 4 git commands to generate.