ideavimrc

This commit is contained in:
Christoph J. Scherr 2023-11-08 20:45:41 +01:00
parent 7b30f77ecc
commit 81fb6154e2
2 changed files with 27 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
# except: # except:
!.zshrc !.zshrc
!.vimrc !.vimrc
!.ideavimrc
!.config !.config
!.config/nvim !.config/nvim
!.config/nvim/** !.config/nvim/**

26
.ideavimrc Normal file
View File

@ -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 <Action>(ReformatCode)
"" Map <leader>d to start debug
"map <leader>d <Action>(Debug)
"" Map \b to toggle the breakpoint on the current line
"map \b <Action>(ToggleLineBreakpoint)
" Find more examples here: https://jb.gg/share-ideavimrc