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?"

23 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 Anonymous Coward · · Score: 1, Informative

      On the eclipse side, there's also a plugin to embed VIM into Eclipse and even a plugin to embed Eclipse into VIM.

    2. 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.

    3. Re:Netbeans ( or others ) by oren · · Score: 3, Informative

      There's also http://www.viemu.com/ (it costs $$$, but if you are forced to use VisualStudio...) and http://ideavim.sourceforge.net/ (free plug-in for IntelliJ IDEA). And for people who use EMACS as their IDE, there's http://www.emacswiki.org/emacs/ViperMode :-)

    4. 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.

    5. Re:Netbeans ( or others ) by Anonymous Coward · · Score: 3, Informative

      For highlighting current lines and specific errors (Assuming you mean compile time errors), read up on quickfix (:help quickfix). It's more for C apps, but I've found a few references for getting it to work with java (in the help file even!)

      For the pop up list of methods, look into autocomplete (:help i_CTRL_X You may have to download the javacomplete.vim file, search vim.org for it) and possibly ctags (:help ctags) (or :help jtags for a java specific version of ctags) Your distribution probably already has ctags on it, if not get Exuberant ctags from http://ctags.sourceforge.net

       

    6. Re:Netbeans ( or others ) by bongey · · Score: 2, Informative

      I must ask when did your try eclim? Because the features you like that are in eclipse are in eclim. I use eclim in mostly headless mode. It provides auto complete for java, ant, c++. Ctrl+X Ctrl+U . I changed the key bindings to have window next match the vim bindings. The latest versions also fill the quickfix list. So you clist, can cn cn cn to all your compile errors. I also use ctags along with eclim, ctags gives you the jump to declarations. Omni complete plugin I have tried eclim, visual slickedit , pida, vim plugin for eclipse and I find eclim to be the best for vim+IDE for java at least. C/C++ would be great if the dam indexer work better in eclipse , it just blows for c/c++ Only ding is debugging doesn't really work with eclim and the outline doesn't load for the current buffer you are using.

    7. Re:Netbeans ( or others ) by Abcd1234 · · Score: 3, Informative

      Funny, I don't find gvim provides any major advantages over regular vim. After all, I'm using vim... I've already chosen to use the keyboard for most things, so the improved mouse integration is basically useless. Meanwhile, I can embed vim in GNU Screen, which makes for a much more convenient environment, as you can spawn and switch between new terminals quickly and easily, right from the keyboard.

  2. KDevelop4 by DMiax · · Score: 3, Informative

    I know it's not out yet, but the katepart (the editor widget) already has a VI mode that supports most of the original commands and modal editing. Worth giving a try: the betas are getting better and better...

  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. ViEmu + Visual Studio by Anonymous Coward · · Score: 1, Informative

    Normally, I'm a vim+make guy, but I occasionally have to use Visual Studio. The ViEmu plugin was the best $99 I've ever spent on windows software. Doesn't embed vim, but it does support all of the vim extensions I use on a regular basis. It's actually pretty impressive how much of vi/vim they manage to implement - you quickly forget that you're not in the "real thing".

    They also have plugins for Word,Outlook,etc but I don't use those programs so I haven't tried their plugins.

    One minus: I don't think it works on the free version of VS (which I believe lacks plugin support in general) so this only applies if you have the full VS distro.

    As a UNIX partisan, I can't recommend VS as your primary environment (so I guess I'm not answering the posters question, really) but if you're like me and just need a windows environment occasionally, I highly recommend checking it out.

  5. Extending Vim is a mortal sin? What? by diablo-d3 · · Score: 2, Informative

    A lot of people use stuff like MiniBufExplorer or Taglist or Vim 7's built in OmniComplete. Everything an IDE can do, Vim itself can do a lot better.

    --
    Patrick "Diablo-D3" McFarland || http://AdTerrasPerAspera.com
  6. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  7. Re:Eclipse plugins? by SirPrize · · Score: 2, Informative

    After having tried vimplugin and not being happy with it, I'm now trying out vrapper: http://vrapper.sourceforge.net/home/ and having a better experience with it.

  8. Re:Expensive cake, but you can eat it by MadKatAlpha · · Score: 2, Informative

    Buy a copy of Visual Slick Edit for Linux.

    Great piece of software. But yes, quite expensive cake. http://www.slickedit.com/

  9. Re:Why not extend vim? by Anonymous Coward · · Score: 1, Informative

    As the OP, I definitely do not want to learn the EMACS keystrokes. I admit I don't want emacs because it is an essentially an operating system, not a method of inputting text. EMACS developing interests are concerned with it making it larger and putting its name on totally unrelated widgets. vim is more concerned with text editing.

  10. Re:Moving in the wrong direction by penguin359 · · Score: 3, Informative
  11. Wing IDE by SkelVA · · Score: 2, Informative

    If you're doing web work, primarily python, Wing IDE has great VIM support. It supports custom vim configurations and all of the good stuff. It has a free version, but I threw down some cash (d to get a sweet integrated debugger and test-running capabilities. I found it superior to both Netbeans and pydev on Eclipse, but both of those also support VIM text editing (with plugins). Basically, pretty much every decent python editor I've tried has supported vim either natively or via plugins.

  12. GNU Screen and vim is all you need by patrikas · · Score: 2, Informative

    Vim has so many IDE features (autocompletion, ctags, syntax), hundreds of plugins that let you customize your environment.. snippets, Doxygen, debugging, compiling.. I'll only suggest you one thing: better concentrate on improving your Vim environment than searching for any other tool that embeds it. Use Vim with GNU Screen after all, that'll give you true IDE experience.

  13. Re:screen ftw? by value_added · · Score: 2, Informative

    Non-neckbearded non-grognards would just use mrxvt tabs, because frankly, it has gnu screen beat on ease of use hand down.

    First, there are multiple ways to get graphical "tabs". Second, tabs work best in limited-use scenarios (you'll quickly run out of real estate, for example). And third, screen has a good number of useful features not available to any implementation of tabs, including the ability to detach/re-attach, logging, monitoring, and split views.

    There is the overhead of having to repeatedly type ^C-a (or ^C-SPACE, in my case), but that's hardly a problem if you've got real work to do.

    For the record, I shave regularly and have never worn suspenders. ;-)

  14. Re:At the risk of starting a flame war by Bluesman · · Score: 2, Informative

    M-x viper-mode

    That's the only emacs command string you ever need to know.

    --
    If moderation could change anything, it would be illegal.
  15. Re:Why not extend vim? by gerddie · · Score: 2, Informative

    Basically, this person wants emacs but doesn't want to admit it because he thinks that emacs is too bloated.

    I don't think so. I really love emacs, but there are four things that I really would like to have and that you can find in most IDEs: proper support for out of source builds, on-line help for functions/classes, contest based highlighting of #ifdef blocks and something like Intellisense (there is something available in emacs,but is still in development, didn't try it for a while though).

    Kdevelop 4 will provide all of this and kate finally supports binding TAB to emacs like automatic indentions (*) for most cases which makes it a good candidate for emacs replacement. I think they also provide vim bindings.

    (*)for me the TAB feature is one of the killer feature of emacs - the other being able to define the indention style of the file in the first two lines or based on the source directory in .emacs)

  16. Re:command mode baby.. by ilikejam · · Score: 3, Informative

    if I want line 200 I type in 199j from the top..

    Try 200G instead - works from anywhere in the file.

    --
    C-x C-s C-x k