My IdeaVim config.
Clone this repo and symlink ideavimrc
to your $HOME
directory.
If you have to use Windows, you can symlink using the command example below. Run CMD as Administrator.
mklink C:\Users\your-username\.ideavimrc C:\Users\you-username\path\to\repo\ideavimrc
ln -s /path/to/repo/ideavimrc ~/.ideavimrc
gd
: Goto definition.
'.
: Goto line start of last change in buffer.nG
: Goto line n.%
: Goto matching pair.gv
: Reselect last selection.gr{motion}
: Replace with registry]}
: Goto unmatched }gc{motion}
: Comment or uncommentaf
andif
: Outer and inner function text objectsys{motion}{char}
: Surround motion with char
if
/af
: Inner/Outer function bodyiq
/aq
: Inside/Outside any quotesab
/ib
: Inside/Outside parentheses, curly braces, and square brackets
Open up the vim terminal inside IDEA (by typing :
), then execute:
source ~/.ideavimrc
Or, via the mapping space 9
Enable/Disable the plugin with the mapping space 8
Enable/Disable relative line numbers in the gutter with the mapping space tab
- Editor Actions -> Down: Ctrl+j or ^j
- Editor Actions -> Up: Ctrl+k or ^k
- Color Scheme: Dark
- Editor Tabs: Tab placement: None
- Font: Hack
- Size: 12
- Line spacing: 1.2