Skip to content

Latest commit

 

History

History
125 lines (102 loc) · 4.95 KB

README.org

File metadata and controls

125 lines (102 loc) · 4.95 KB

A configuration for IdeaVim that makes it work like Spacemacs

Installation

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

Available Keymaps

Search

KeymapActionNotes
<space> /FindInPathSimilar to grepping over the whole project
<space> <space>SearchEverywhereAlready mapped to double right <shift> but this is faster

Files

KeymapActionNotes
<space> fsSaveAllThere is no save for a single file, apparently

Go Places

KeymapActionNotes
gdgo to definition, already built-in
gTGotoTest
giGotoImplementation
gnGotoNextErrorNext compilation error within file
gpGotoPreviousErrorPrev compilation error within file
grPreviousTabThis is a personal choice, because ‘r’ is ‘left of t’
gtNextTab
guShowUsages

Git

KeymapActionNotes
<space> gCGit.ResolveConflicts
<space> ggActivateVersionControlToolWindowWould be the same for other VCS, too …

Open

KeymapAction
<space> ooMoveEditorToOppositeTabGroup

Windows (Tabs)

KeymapActionNotes
<space> wdCloseContent‘Window delete’, closes the current tab
<space> wjVimWindowDown
<space> wsSplitHorizontally
<space> wuUnsplit
<space> wvSplitVertically
<space> wwVimWindowNextNice to cycle through windows
<space> wlVimWindowRight
<space> whVimWindowLeft
<space> wkVimWindowUp
<space> wjVimWindowDown

Comments

KeymapAction
<space> clCommentByLineComment

Refactor

KeymapActionNotes
<space> rrRefactorings.QuickListPopupAction
<space> riShowIntentionActionsDoes the same as ‘alt-Enter’

Types

KeymapActionNotes
<space> tiScala.TypeInfo