diff --git a/.gitignore b/.gitignore index 4a4b2ed..ea7b66e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # except: !.zshrc !.vimrc +!.ideavimrc !.config !.config/nvim !.config/nvim/** diff --git a/.ideavimrc b/.ideavimrc new file mode 100644 index 0000000..82baed7 --- /dev/null +++ b/.ideavimrc @@ -0,0 +1,26 @@ +"" Source your .vimrc +source /home/plex/.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 + +" Do the joining with the ide +set ideajoin + +"" -- 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