OptimusCrime / ideavim

For my ideavim setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  • gUiw: Uppercase inner word (lowercase u for lowercasing).
  • m[A-Z]: Create mark (using IDEA marks).
  • '[A-Z]: Goto mark.
  • '.: Goto line start of last change in buffer.
  • %: Goto end of bracket etc.
  • gv: Reselect last selection.

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

About

For my ideavim setup