From 81fb6154e2f56aaab320227edff672a001f397e0 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 8 Nov 2023 20:45:41 +0100 Subject: [PATCH] ideavimrc --- .gitignore | 1 + .ideavimrc | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .ideavimrc 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