Ruby logo

The RubyMine Blog

The Ruby on Rails IDE


RubyMine for Vim addicts

Despite our belief that RubyMine is the best we respect people’s favors with regard to the software they love. We are all geeks and ready to fight in holy wars about what’s best, right? 🙂

So, from the very beginning RubyMine has been providing a number of keyboard layouts: for NetBeans, Visual Studio, TextMate users, some nice color schemes and extensions. But what was missing until now is a decent support for Vim users.

Just yesterday we added so called ‘IdeaVIM’ plugin to RubyMine’s repository. You can install it from IDE Settings | Plugins panel. The plugin should work for RubyMine 1.1 and 1.5 EAP versions.

This plugin provides nearly complete vi/vim/gvim emulation while editing files in RubyMine. The following functionality is supported:

* Motion keys
* Deletion/Changing
* Insert mode commands
* Marks
* Registers
* VIM undo/redo
* Visual mode commands
* Some Ex commands
* Some :set options
* Full VIM regular expressions for search and search/replace
* Macros
* Diagraphs
* Command line history
* Search history
* Jumplists
* VIM help

Develop with pleasure of using your old habits in the best Ruby/Rails IDE ever!
-JetBrains RubyMine Team

Comments below can no longer be edited.

17 Responses to RubyMine for Vim addicts

  1. Avatar

    Jens-Christian Fischer says:

    August 26, 2009

    I was close on writing a comment about the i18n features, congratulation you guys.

    Now the Vim bindings have pushed me over the edge!

    You guys are just great, thank you so much for RubyMine.

  2. Avatar

    jonald says:

    August 26, 2009

    this is very nice!

    it doesn’t know about auto-unindenting (when you ‘end’ a block, for example,) but i’m sure that will come in time.

    i’ve been waiting for this feature since i started using rubymine!

  3. Avatar

    Keith Gaddis says:

    August 26, 2009

    God bless you, jetbrains…. relearning standard keymappings has been an exercise in pain management for me. Can’t wait to play with it!

  4. Avatar

    George says:

    August 28, 2009

    Awesome ^^ thx

  5. Avatar

    Paul O'Keeffe says:

    August 29, 2009

    This is a nice addition for making some converts. However, what I’d really like to know is how we can start creating and publishing plugins for RubyMine ourselves. There are currently only 3 plugins in the repository. How does the process compare to that for IntelliJ IDEA? How can plugins from IntelliJ IDEA be ported to RubyMine?

  6. Avatar

    Galen Taylor says:

    October 21, 2009

    Like the other poster said, this plugin also made me pick RubyMine.

  7. Avatar

    Andy Watts says:

    December 7, 2009

    Excellent plugin. I probably wouldn’t consider moving from VIM without this.

    However, in vim I use ctrl-r to ‘redo’, in rubymine this brings up ‘replace’.

    At least on the Linux version I can’t remove the replace=ctrl-r mapping.

  8. Avatar

    andywatts says:

    December 8, 2009

    Oh no’s….The following just failed silently on Linux.

    :w /tmp/asdf

  9. Avatar

    Eugene Toporov says:

    December 9, 2009

    @Andy: thanks for the feedback. There are some known issues in Vim plugin that we’re working on. You are welcome to put your issues to the tracker:

  10. Avatar

    Oleg Shpynov says:

    February 24, 2010

    @Andywatts: Have you configured RubyMine to use Vim keymap instead of default one?
    @all: New plugin version with several critical bug fixes is available to install via plugin manager

  11. Avatar

    kabe says:

    March 9, 2010

    i’m purchasing rubymine because of this plugin. i like the tool, but i need my vi, and this does it for me. thanks!

  12. Avatar

    Jakob says:

    March 25, 2011

    Very cool plugin, some bugs but I hope they´ll be fixed soon.
    Anyone knows how to turn off the automatic changing to VIM Keymap?
    I just want to use the VI commands and stick to my TextMate keymap for the IDE. Every time I start RubyMine 3.1 I get a hint that RubyMine switched to VIM´s keymap -.-
    Even if I delete the VIM keymap, the next restart RubyMine installs it and applys it :F

  13. Avatar

    Oleg Shpynov says:

    March 25, 2011

    Hello Jakob,

    Actually Vim keymap is required for ideavim plugin work, so you should probably change it’s bindings if you’d like to.
    Could you please describe your problems with detailed descriptions at:

    Moreover we have a public buildserver where you can download the latest nightly builds of the plugin:


  14. Avatar

    Jarrod says:

    February 15, 2012

    no visual block mode… bummer. Oh well, back to regular vim.

  15. Avatar

    Miguel Regedor says:

    October 25, 2012

    Looks like there is no visual block and also the Ruby Mine Alt+MOUSE visual editing doesn’t work! this is a big issue for me.

    • Avatar

      Andrey Vlasovskikh says:

      October 25, 2012

      Miguel, IdeaVim supports the blockwise visual mode. As in vim, you can toggle it using ctrl+v. Please make sure that in your keymap this shortcut is bound to IdeaVim (not to Paste action, for example). You can check it using File -> Settings -> Keymap -> Shortcut Filter (the filter icon).

  16. Avatar

    Kamal uddin says:

    June 5, 2020

    Very cool, I am Vim user but due to team have to use RubyMine and this plugin is great to use now I can use my favourite JKLM

Discover more