15

I have found a couple of Vim plugin for Eclipse, but some computers have performance issues with Eclipse.

So, what I want to know if there is any plugin for the Netbeans IDE, which runs smoother on weaker computers.

If it matters, I'm interested in support for Java, Python and C++. (any answer regarding to one of them in welcomed) .

coredump
  • 3,017
  • 6
  • 35
  • 53

4 Answers4

14

Found these, apparently they even have some features my eclipse plugin doesn't:

http://sourceforge.net/projects/viex/

http://sourceforge.net/projects/jvi/

From: Is it possible to use VI or VIM keymap in NetBeans?

Community
  • 1
  • 1
Breno Salgado
  • 1,922
  • 1
  • 20
  • 26
12

I got jVi for my NetBeans 8.1 and 8.0.2 on Mac OS this way:

  1. Download nbvi-1.5.3.zip from http://sourceforge.net/projects/jvi/.
  2. Unzip it somewhere.
  3. Tools > Plugins > Downloaded
  4. Click "Add Plugins..." button.
  5. Navigate to the folder where those *.nbm reside and select all of them.
  6. Install the *.nbm files and restart.
Daniel Li
  • 151
  • 2
  • 7
  • 1
    I couldn't get this to work in the traditional way, but this worked on NetBeans 8.1. Thank you! – JamesB41 Mar 24 '16 at 05:11
  • 2
    Thanks! +1. Worked on Netbeans 8.0.2 on Mac OS :) – aashah7 Oct 26 '16 at 03:57
  • i fiddled with other solutions for the Mac for hours, you can get your plugin state irreversibly messed up. This solution is much cleaner. You can't double-click the zip file in certain new MacOS configurations, you have to start a terminal window and manually unzip the file. Then add all the .nbm files that appear in the resulting folder. Then everything works. – vwvan Mar 07 '17 at 07:26
  • It works but I was unable to show line numbers in Netbeans 8.2 after removing the plugin. I had to remove the folder ~/ .netbeans/8.2/config/Editors folder to show the numbers again – caiofior Feb 10 '18 at 07:10
  • If I were you, I would not care about that because the plugin always shows the cursor position in the lower right corner in line:column format. However, you can turn on the numbers this way: NetBeans -> Preferences -> jVi Config -> General then check 'number' 'nu'. – Daniel Li Feb 11 '18 at 15:42
10

Tools -> Plugins -> Available Plugins -> Search: vi

The plugin is called "jVi for NB". If you search for vim, the results will be empty.

The truth is that it's really that easy to find and install a vi[m] emulator for NetBeans. You don't even have to type the whole three letters.

enter image description here

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
romainl
  • 186,200
  • 21
  • 280
  • 313
  • 1
    In other words -- there aren't any? – tadasajon Aug 12 '13 at 22:57
  • 2
    If you search for "vim", nothing comes up. – tadasajon Aug 13 '13 at 13:23
  • It's a valid question, vim style editing is expected in all editors.. I still can't believe there's nothing for netbeans.. – Breno Salgado Sep 30 '13 at 05:42
  • 1
    @breno-salgado: it is not a valid question to ask to random people on the internet because it is freaking easy to find the answer yourself. That question is almost as dumb as "what is the shortcut for cut?". – romainl Sep 30 '13 at 05:59
  • 16
    So why then was your answer wrong? See mine. This is a QA site, it's precisely about asking stuff to random people on the internet, it's also a resource for people looking for these answers(how I got here), I saw yours and almost thought of it as true and went to sleep so it tells me that if you wanted this question answered, you'd also not be able to find the answer yourself easy like this, so it's not dumb plus the answer is misleading and useless. – Breno Salgado Sep 30 '13 at 12:44
  • @BrenoSalgado, yes it's super dumb and super lazy to ask people to do something that you can do yourself. Especially something as simple and trivial as looking for a vim plugin for NetBeans. Asking questions is perfectly fine as long as you do a little bit of work on your side. – romainl Sep 30 '13 at 13:07
  • Your answer is wrong because it misleads the reader that there are no such plugins while there are. – nuoritoveri Mar 06 '14 at 12:37
  • 1
    I wasted time following this advice thinking I could install a vim plugin this way. This search does not result in any plugins. – James Marble Jun 30 '14 at 16:33
  • @MidoriKid, you are blind. – romainl Jun 30 '14 at 20:03
  • Nonsense. Typing in `vi` results in 85 plugins, most of which are irrelevant. Do you expect the user to plough through all of them or what. That's definitely not "freaking easy". Not to mention your quite arrogant tone... – xji Feb 17 '15 at 05:04
  • 7
    Note that adding this "jVi for NB 7.0 update center" did not work for me. It's possible that version 8 of NetBeans broke its behavior. I had to download the plugin manually from http://sourceforge.net/projects/jvi/, and go to Tools -> Plugins -> Downloaded panel, and then click on "Add Plugins..." to add them from my disk manually. – xji Feb 17 '15 at 05:12
  • Doesn't work for me – Steven Eckhoff Aug 30 '18 at 22:52
10

I got vim editing mode on NetBeans IDE 8.0.2 on Windows 10 by doing the following:

  1. Tools > Plugins > Check for Updates
  2. Click Available Plugins Tab
  3. Search "jVI"
  4. Install "jVi for NB-7.0 Update Center"
  5. Click available plugins tab
  6. Click "Check for Newest"
  7. Search "jVI"
  8. Install jVI, and restart NetBeans
  9. hjlkhjlhlkjhlkjhkjlh
Janac Meena
  • 3,203
  • 35
  • 32