ideavim
ideavim copied to clipboard
For my ideavim setup
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.
Commands I always forget
gUiw: Uppercase inner word (lowercaseufor 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
- IdeaVim-Quickscope
- IdeaVim-Sneak
- Optional: Which-Key
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