Slashdot Mirror


IDEs With VIM Text Editing Capability?

An anonymous reader writes "I am currently looking to move from text editing with vim to a full fledged IDE with gdb integration, integrated command line, etc. Extending VIM with these capabilities is a mortal sin, so I am looking for a linux based GUI IDE. I do not want to give up the efficient text editing capabilities of VIM though. How do I have my cake and eat it too?"

10 of 193 comments (clear)

  1. Netbeans ( or others ) by stoolpigeon · · Score: 5, Informative

    Netbeans with the Vi Vim for netbeans plugin.
     
    Netbeans is FOSS, runs on Windows, Linux and OS X. It handles Java, C/C++, PHP, Python, Ruby, Groovy and does a bunch of other stuff.
     
    There is the viPlugin for Eclipse as well - I just happen to like Netbeans better.
     
    The ActiveState folks list VI key bindings as a feature for their Komodo and Komodo Edit products. These are closed source though Komodo Edit is free as in beer. It is cross platform - covering the win/lin/mac world.
     
    I'm sure there are other options but those are the largest projects I know of that do what you want.

    --
    It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    1. Re:Netbeans ( or others ) by iMaple · · Score: 5, Informative

      And if you want to use Visual Studio then visit the main download page
      http://www.vim.org/download.php and get:
      ftp://ftp.vim.org/pub/vim/pc/gvim72ole.zip
      (OLE GUI executable, A GUI version with OLE support. This offers a few extra features, such as integration with Visual Developer Studio. But it uses quite a bit more memory.)

      And you can safely disregard the more memory part, if you are already using visual studio :D

      http://vim.wikia.com/wiki/Integrate_gvim_with_Visual_Studio for tips if you need help setting it up.

    2. Re:Netbeans ( or others ) by TheCarp · · Score: 4, Interesting

      I tried eclim and found, pretty quickly, that I reverted to the eclipse built in editor.

      The problem that I had was that well, it didn't add the capabilities to vim, as much as add vim to the IDE.

      I love vim, but, the ability to highlight individual lines and give me specific errors, especially as I am new to java and tend to make silly errors still. More than that, just the ability to have it cleanly (mostly, I have issues with eclipse's built in editor too) pop up a list of what methods are available on an object as I go serves both to help me refer to docs less, but also to remind me of what I am doing.

      Overall, I do prefer vim because I am so used to it. The ability to switch modes, and run a quick regex over a whole document, or do it from here to the end of file, or just do it on the next 10 lines... so handy! I really wish I could get the best of both worlds, but, for now... I need the other features more.

      --
      "I opened my eyes, and everything went dark again"
    3. Re:Netbeans ( or others ) by schnablebg · · Score: 4, Informative

      This is not informative to anyone who wants to use a recent version of Visual Studio (ie, anything since VS2003) because it does not work. There is a lame workaround to open the file externally in vim and save it back. You need to use ViEmu if you want a vi mode in VS. It is commercial software, but worth it. If you are stuck on VS5 or 6, god help you; a vi mode is not going to save you.

      In any case, what the OP is looking for is actually just vim and the knowledge to use it to its full potential. Extending vim is not a "mortal sin," it is very useful and done all the time. There are plugins and examples for everything the OP wants to do, and if he likes vim he will probably like these better than clicky IDE.

  2. Emacs! by Saint+Aardvark · · Score: 5, Funny
    1. Re:Emacs! by rainmaestro · · Score: 4, Funny

      Yeah, it's a great operating system. If only it had a decent text editor =)

  3. Vim has integration already by Anonymous Coward · · Score: 5, Informative

    Umm vim supports plugins, and there is of course a GDB one.

    Also there is an integrated command line called :!
    or if you want to get more fancy you can open multiple buffers and :%!whatever to replace it with output

    Vim easily integrates with the shell. You just have to know how to use both.

  4. At the risk of starting a flame war by dkleinsc · · Score: 5, Insightful

    Try Emacs.

    Seriously. The integration with gdb, gcc, etc is where Emacs really shines. Yes, the Control-Meta-cokebottle commands are a bit annoying, but there's worthwhile tradeoffs there.

    The first post was also quite useful. And to be fair, I like vim too.

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  5. Gvim by theinvisibleguy · · Score: 4, Insightful

    Gvim is pretty good, it might still be too lean for what you are asking for, I would say it's more an intermediary step between vim and a big gui ide.

  6. Re:Why not extend vim? by Subliminalbits · · Score: 4, Insightful

    The poster probably doesn't want to have to learn keybindings for a new editor. He may even already know them but just prefers vim keybindings. What he really probably wants is the luxuries of of a full IDE without having to give up the editing flexibility and familiarity he has with vim.