1 of 11

IdeaVim

@claesmogren

2 of 11

Who am I

  • Programming since 1989
  • Using vim since 1999
  • Work with java
  • Play with go, scala and my two daughters

3 of 11

IntelliJ Idea - The best IDE

  • Good and fast global search
  • Great support for frameworks and libraries
  • Great refactoring tools
  • Great merge- and diff-tool
  • Good git integration
  • Lots of plugins and language support
  • Easily configurable keymap

4 of 11

IdeaVim plugin

  • https://github.com/JetBrains/ideavim
  • Last version 0.35 released in May
  • 12 open pull requests :-(

5 of 11

Installing IdeaVim

6 of 11

IdeaVim - What do you get?

  • ~/.ideavimrc (source ~/.vimrc)
  • Motion keys
  • Visual mode
  • Registers
  • Macros
  • Full Vim regexps for search and replace
  • Command and search history

7 of 11

IdeaVim - Favourite commands

  • All movement
  • ciw
  • ct)
  • ddp (alt-shift-↓)
  • #
  • ~
  • zz, z↵

8 of 11

IdeaVim - Quirks

  • Mixing visual mode and mouse selections
  • Mixing cmd-x, cmd-v and y, p
  • Text fields in popup windows
  • Undo/Redo uses IntelliJ undo

9 of 11

IdeaVim - Quirks

  • Avoid :%s///, use Refactor->Rename (shift-F6)
  • Keybindings might conflict or be missing

10 of 11

IdeaVim - Still worth it!

  • No more hjjjklll:wq in my code!

11 of 11

IdeaVim

  • Demo