News for hackers. Stuff that matters.
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by cmsimike on Sunday January 03, 2016 @02:01AM (#10829811)
IdeaVim [0], a free plugin, is the best vim emulator I've ever used.

[0] https://github.com/JetBrains/ideavim

Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by innocentoldguy on Sunday January 03, 2016 @04:25AM (#10830037)
I agree. IdeaVim is the best Vim emulator I've used as well. However, it is still just an emulator and it lacks some Vim features that I use all the time. IdeaVim is very good, but not as good as having NeoVim embedded would be, I think.
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by cmsimike on Sunday January 03, 2016 @04:32AM (#10830049)
I'm curious, what features?
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by innocentoldguy on Sunday January 03, 2016 @03:32PM (#10832200)
I don't remember all of the issues I had with IdeaVim, but remapping the leader key was one (though I understand this has been fixed), issues with key mapping and the Dvorak keyboard layout, relative line numbering, etc. There were several other issues with key combinations I like using in Vim that didn't work in IdeaVim, but it has been a while and I don't remember what they were.

The Dvorak issue was specific to the JDK on OS X, according to JetBrains. Perhaps this is also fixed, now that they don't require Java 6. I don't know.

Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by echelon on Sunday January 03, 2016 @02:27AM (#10829840)
Seconded. IdeaVim is incredible. It's been close to 1:1 parity with the vim features I need.
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by therein on Sunday January 03, 2016 @07:05AM (#10830342)
It just ruins Command+C and Command+V for me. Yes, I understand I can go into visual mode and use 'y' and 'p' but what if I want to paste from the system clipboard rather than the IdeaVim clipboard? Command+V simply just doesn't work and 'p' obviously contains the IdeaVim clipboard buffer.
Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by jen20 on Sunday January 03, 2016 @07:23AM (#10830375)
$ cat ~/.ideavimrc

set clipboard+=unnamed

That sets IdeaVim to use the system clipboard by default. However, this has the same effects as making vim use the system clipboard by default: for example, executing ci" will pull the text between the quotes onto the system clipboard, overwriting whatever is there. Personally I prefer this behaviour in vim, emacs (with Evil, obviously), and IdeaVim though. YMMV, but it is possible!

Re:IntelliJ IDEA and the whole IntelliJ platform migrates to... by dustinleblanc on Sunday January 03, 2016 @10:44AM (#10830942)
Super helpful! Thanks for the tip