Skip to content
/ spaceidea Public

A configuration for IdeaVim that makes it work like Spacemacs

Notifications You must be signed in to change notification settings

logc/spaceidea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A configuration for IdeaVim that makes it work like Spacemacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published