sebastiandaschner blog
Using IdeaVim with IntelliJ
monday, may 04, 2020I’ve been a VIM user for a few years and I’m also using the IdeaVim plugin in IntelliJ. The following configuration and features helped me a lot.
-
You can configure the same keymappings that you have in your regular VIM in the
~/.ideavimrcfile. -
Setting
idearefactormodetokeepmakes the behavior of refactorings such as renamings more deterministic. -
In a dialog hitting
<Esc>won’t work since it closes the dialog, but if your cursor is caught in selection mode, pressingCtrl+]works without moving your hands off the home row. -
The GitHub repository provides helpful guidance on configuration and which features are supported.
-
The ideajoin mode is a nice feature that can “smart-join” strings, control structures, and others.
This is how ideajoin works, when joining with Shift+J:
You can find my .ideavimrc config file in my Dotfiles on GitHub.
Found the post useful? Then you might enjoy my Developer Productivity Masterclass.