IdeaVim

My IdeaVim config.

Install

Clone this repo and symlink ideavimrc to your $HOME directory.

Windows installation

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

macOS/Linux installation

ln -s /path/to/repo/ideavimrc ~/.ideavimrc

Stuff to remember

Plugin settings

Shortcut Handler
^J IDE
^K IDE

Default commands

  • gd: Goto definition.

See all

Commands I always forget

  • '.: Goto line start of last change in buffer.
  • %: Goto end of bracket etc.
  • gv: Reselect last selection.
  • gr{motion}: Replace with registry

Source changes

Open up the vim terminal inside IDEA (by typing :), then execute:

source ~/.ideavimrc

Plugins

IdeaVim Plugins

Random plugins

Custom IDEA shortcuts

  • Editor Actions -> Down: Ctrl+j or ^j
  • Editor Actions -> Up: Ctrl+k or ^k

Editor config

  • Color Scheme: Dark
  • Editor Tabs: Tab placement: None

Editor styling

  • Font: Hack
  • Size: 12
  • Line spacing: 1.2