From b51261aeeda1acc423146d627d9a0fc750ff44fd Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 5 Jan 2023 07:16:29 -0500 Subject: [PATCH] Track ideavimrc --- home/.ideavimrc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 home/.ideavimrc diff --git a/home/.ideavimrc b/home/.ideavimrc new file mode 100644 index 0000000..f261a05 --- /dev/null +++ b/home/.ideavimrc @@ -0,0 +1,28 @@ +"" Source your .vimrc +"source ~/.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 + +" 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 \r (ReformatCode) + +"" Map d to start debug +"map d (Debug) + +"" Map \b to toggle the breakpoint on the current line +"map \b (ToggleLineBreakpoint) + +map / (Find) + +" Find more examples here: https://jb.gg/share-ideavimrc -- 2.20.1