A configuration for IdeaVim that makes it work like Spacemacs
git clone https://github.com/logc/spaceidea.git ./spaceidea
ln -s ./spaceidea/.ideavimrc ~/.ideavimrc
In IntelliJ Idea (not needed if starting or restarting):
:source ~/.ideavimrc
Keymap Action Notes
<space>
/FindInPath Similar to grepping over the whole project
<space>
<space>
SearchEverywhere Already mapped to double right <shift>
but this is faster
Keymap Action Notes
<space>
fsSaveAll There is no save for a single file, apparently
Keymap Action Notes
gd go to definition, already built-in
gT GotoTest
gi GotoImplementation
gn GotoNextError Next compilation error within file
gp GotoPreviousError Prev compilation error within file
gr PreviousTab This is a personal choice, because ‘r’ is ‘left of t’
gt NextTab
gu ShowUsages
Keymap Action Notes
<space>
gCGit.ResolveConflicts
<space>
ggActivateVersionControlToolWindow Would be the same for other VCS, too …
Keymap Action
<space>
ooMoveEditorToOppositeTabGroup
Keymap Action Notes
<space>
wdCloseContent ‘Window delete’, closes the current tab
<space>
wjVimWindowDown
<space>
wsSplitHorizontally
<space>
wuUnsplit
<space>
wvSplitVertically
<space>
wwVimWindowNext Nice to cycle through windows
<space>
wlVimWindowRight
<space>
whVimWindowLeft
<space>
wkVimWindowUp
<space>
wjVimWindowDown
Comments
Keymap Action
<space>
clCommentByLineComment
Keymap Action Notes
<space>
rrRefactorings.QuickListPopupAction
<space>
riShowIntentionActions Does the same as ‘alt-Enter’
Keymap Action Notes
<space>
tiScala.TypeInfo