Update .ideavimrc
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 19 Apr 2023 18:07:50 +0000 (14:07 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 19 Apr 2023 18:07:50 +0000 (14:07 -0400)
home/.ideavimrc

index f261a05..a89d53a 100644 (file)
@@ -1,28 +1,38 @@
-"" Source your .vimrc
+" Source your .vimrc
 "source ~/.vimrc
 
-"" -- Suggested options --
+" -- 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 scrolloff=10
 
-" Do incremental searching.
+" Search
 set incsearch
+set hlsearch
+
+set highlightedyank
+
+" Use system clipboard
+set clipboard+=unnamed
 
 " Don't use Ex mode, use Q for formatting.
 map Q gq
 
 
-"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
-"" Map \r to the Reformat Code action
+" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
+" Map \r to the Reformat Code action
 "map \r <Action>(ReformatCode)
 
-"" Map <leader>d to start debug
+" Map <leader>d to start debug
 "map <leader>d <Action>(Debug)
 
-"" Map \b to toggle the breakpoint on the current line
+" Map \b to toggle the breakpoint on the current line
 "map \b <Action>(ToggleLineBreakpoint)
 
-map / <Action>(Find)
+"map / <Action>(Find)
+"map n <Action>(FindNext)
+"map N <Action>(FindPrevious)
 
-" Find more examples here: https://jb.gg/share-ideavimrc
+" Find more examples here:
+" - https://jb.gg/share-ideavimrc
+" - https://www.cyberwizard.io/posts/the-ultimate-ideavim-setup/
This page took 0.019759 seconds and 4 git commands to generate.