NetBeans Vi Editor Module

I found there is vi keybinding module for NetBeans editor. The announcement can be found in nbusers mailing list. 0.8 is now available for download, it's the first verion to support NetBeans. Installation is easy, you can download zip file and install local two nbm files from Update Center Wizard. After restarting NetBeans, vi editor mode is enabled.To disable the module, you can use Module Manager but it will require to restart NetBeans in this version. See the documentation in zip file for functionalities and such limitations.

To run command and input something e.g. for text search,  another popup is brought up around the bottom of NetBeans editor.

Hi Anthony, thank you for comment. You can install this module by "Install Manual Downloaded Modules", which can be selected Update Center wizard (invoked from Tools > Update Center). There are two nbm files in zip file - com-raelity-jvi.nbm and org-netbeans-modules-jvi.nbm. You need to select both files and install on the wizard.

Posted by Masaki on February 19, 2007 at 12:33 PM JST #

Excellent! This is the greatest thing since tear off toilet paper. Better even then separate hot cold knobs in the shower.
A vi nut I am.

Posted by Joseph C Moreland on February 20, 2007 at 06:11 PM JST #

OK. I've downloaded and installed the two ".nbm" modules. How do I start editing like with vi? I restarted Netbeans 5.5 and notice no difference? I'd love to use the vi key-bindings if I could figure out how. Please help. Thanks.

Posted by Warren on February 21, 2007 at 12:19 AM JST #

Hi Warren, I didn't configure any special setting to use vi. After I restarted IDE, I can use vi key-binding on Editor for Java source files. What will happen when you edit something on Editor? How about using escape key?

Posted by Masaki on February 21, 2007 at 12:23 AM JST #

Oh, I get it. I need to be editing a Java class file. I had originally tried editing an html file. When I open a Java class file, then the new and cool vi key bindings can be used. Sweet vi goodness, this is beautiful. THANK YOU!!!!!!

Posted by Warren on February 21, 2007 at 12:45 AM JST #

I've done download and installed the two ".nbm" modules. How do I start? Because there is no response to start vi.. Help pls

Posted by Ary on February 21, 2007 at 08:02 AM JST #

Hi Ary, I'm not owner of this module so I don't know the detail how to use, but I didn't do anything for the setting to start vi, I could use vi on Java source file on Editor. According to Warren, it's not enable on html editor. How about you? Are you editing Java sources? I understand the detail docs in zip file.

Posted by Masaki on February 21, 2007 at 08:46 AM JST #

I am not sure I understand any need in vi-like plug-in. Instead of using NetBeans WISIWIG Editor with many nice features you suggest to memorize some funky keystrokes that came from the necessity of using command like editing capabilities. NetBeans is a mature product that does not need anything like that.

Posted by David Rozenberg on February 21, 2007 at 10:58 PM JST #

Hi David, I agree with you about not understanding the need. I'm not sure I understand the \*need\* either. I do understand this - my preference is to not take my hands away from the keyboard unless i really need to and vi/vim/jvi (and in this case, NetBeans) lets me do most of what I need to do from the confines of my keyboard. Does it require a higher level of understanding and practice? Yes, and for me it is worth it.
Anywho, YMMV.
If I could just convince someone to get some vi ability into Word...

Posted by Joseph C Moreland on February 21, 2007 at 11:40 PM JST #

Its true that the snapshot release only supports a limited number of filetypes. I've re-engineered how jVi attaches to the editor so the jVi keybindings are always available, independent of the type of file. It just started working in the "lab" this evening! And I think those JDK1.5 issues are taken care of. -ernie

Posted by Ernie Rael on February 22, 2007 at 06:10 AM JST #

Hi David. I (we) are not suggesting that you memorize funky keystrokes, or anything else for that matter. Many people have used vi for a long time and are quite accustomed to using it on a regular basis. I often find it inconvenient to switch back and forth between editing styles and frequently find myself accidentally using vi commands in a non-vi editor. This vi module is just yet another convenience for people who prefer the vi editing style and find themselves more productive using it. Thats all. No one says that you have to use it, but for those who would like to it is a nice and appreciated addition to Netbeans.

Posted by Warren on February 22, 2007 at 12:32 PM JST #

Thank you thank you thank you thank you. Support for multiple buffers, no less. I am so happy. And thank you once again. anil

Posted by Anil Pal on February 25, 2007 at 02:41 AM JST #

I'm not sure what's better: vi integration in NetBeans, or the fact that there are apparently enough happy vi users out there that it's worthwhile! (Sometimes I feel so old). Thanks very much to the fine person who offers this capability!

Posted by Chris Hermansen on February 26, 2007 at 08:04 AM JST #

I had to developed vi/vim for netbeans plug-in at early.

Posted by guest on February 28, 2007 at 06:36 AM JST #

Just to let you know, version 0.8.3 of jVi is now available. Lots of new stuff, see

Posted by Ernie Rael on March 10, 2007 at 05:20 AM JST #

Hi! This is really good news! I like a lot Netbeans, but I was planning to start using Eclipse just because it has a vi emulation... but now I have the perfect world: Netbeans + Vim. Thanks a lot to the creators of this plug-in!

Posted by Nando on April 04, 2007 at 09:44 PM JST #

Post a Comment:
Comments are closed for this entry.

NetBeans Globalization


« April 2014