Update .ideavimrc
[khome.git] / home / .ideavimrc
CommitLineData
477b82bb 1" Source your .vimrc
b51261ae
SK
2"source ~/.vimrc
3
477b82bb 4" -- Suggested options --
b51261ae
SK
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.
477b82bb 7set scrolloff=10
b51261ae 8
477b82bb 9" Search
b51261ae 10set incsearch
477b82bb
SK
11set hlsearch
12
13set highlightedyank
14
15" Use system clipboard
16set clipboard+=unnamed
b51261ae
SK
17
18" Don't use Ex mode, use Q for formatting.
19map Q gq
20
21
477b82bb
SK
22" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
23" Map \r to the Reformat Code action
b51261ae
SK
24"map \r <Action>(ReformatCode)
25
477b82bb 26" Map <leader>d to start debug
b51261ae
SK
27"map <leader>d <Action>(Debug)
28
477b82bb 29" Map \b to toggle the breakpoint on the current line
b51261ae
SK
30"map \b <Action>(ToggleLineBreakpoint)
31
477b82bb
SK
32"map / <Action>(Find)
33"map n <Action>(FindNext)
34"map N <Action>(FindPrevious)
b51261ae 35
477b82bb
SK
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.028975 seconds and 4 git commands to generate.