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

193 comments

  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 stoolpigeon · · Score: 1

      Re-reading that and realize that it says Komodo Edit is closed source. That's not right, realized it after I hit submit. Komodo Edit is FOSS. Komodo IDE is closed.

      --
      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?
    3. Re:Netbeans ( or others ) by Draek · · Score: 1

      Actually, Komodo Edit was open-sourced a while ago, only the Komodo IDE continues being closed-source (and commercial as well). However, one of the features missing from Edit is debugger integration so it probably won't satisfy the original poster's criteria.

      Also, I'm pretty sure there are ways to use ViM as the editing component in VisualStudio as well, but I've never tried them so I don't know how they work.

      --
      No problem is insoluble in all conceivable circumstances.
    4. 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.

    5. Re:Netbeans ( or others ) by Saint+Stephen · · Score: 1

      http://www.vim.org/scripts/script.php?script_id=864

      It runs - I don't use VIM so I never ran it.

    6. Re:Netbeans ( or others ) by stoolpigeon · · Score: 3, Funny

      I don't think VS runs on Linux.

      --
      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?
    7. Re:Netbeans ( or others ) by BrianRoach · · Score: 1

      +1 for netbeans with the plug-ins you want.

      For years I kept trying IDEs ... and hating them. It always seemed like they got in the way more than they helped.

      I started using netbeans for some Java work I was doing when it was called the "Java One Studio" or something like that ... really liked it. Since then it's only gotten better and I pretty much use it for everything that isn't a 5 minute job.

    8. Re:Netbeans ( or others ) by rvw · · Score: 2, Funny

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

      Don't you need Emacs to do that?

    9. 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"
    10. 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 :-)

    11. Re:Netbeans ( or others ) by Thinboy00 · · Score: 1

      viPlugin isn't free as in speech or free as in beer either. :(

      --
      $ make available
    12. 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.

    13. Re:Netbeans ( or others ) by schnablebg · · Score: 1

      Also, make sure you are using a build of gVim for your window manager of choice. I see so many people using regular vim in a terminal. It is much more useful to use a GUI build as you get much nicer tabbed files and OS integration. It does not turn vim into a GUI app; it just wraps it up nice so your window manager can deal with it as a first class application.

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

       

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

    16. Re:Netbeans ( or others ) by bongey · · Score: 1

      Wow hate when I post to quickly. The grammar nazis are going to break down my door any minute.

    17. Re:Netbeans ( or others ) by poached · · Score: 1

      according to the wikia page for vim ole:

      "Disclaimer: This is NOT a tip on how to get Vim to run inside of MS Visual Studio .NET. I have not yet found anyone who can make that work, so this is the next best thing. VisVim.dll seems to only work with VS6."

      And that had been my experience as well - it is not possible to "embed" vim into the editor window like I had thought and wanted. It is not possible at the moment. The best I did was the create an external tools shortcut to vim and had a hot key assigned to it but I quickly found that to be more counter productive than helpful.

      I also tried the Komodo editor the grandparent mentioned and the vim mode is a bastardized version of vim. It is basically so stripped down that you only have the very basic like jklh working and i mode. Really not worth the effort.

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

    19. Re:Netbeans ( or others ) by Abcd1234 · · Score: 1

      Agreed, ViEmu makes Visual Studio *far* more pleasant to work with. You get all the advantages VS provides (IntelliSense, in particular), plus a fairly complete Vim emulation.

    20. Re:Netbeans ( or others ) by zuperduperman · · Score: 1

      But it's cheap (~USD$20) and made by a single developer who gladly will give you the source and accept bug reports directly and even fix them occasionally. It's a pretty good deal.

    21. Re:Netbeans ( or others ) by schnablebg · · Score: 1

      I prefer using Alt-tab or your window manager's equivalent to GNU screen. But to each his own.

    22. Re:Netbeans ( or others ) by Anonymous Coward · · Score: 0, Insightful

      The 1960's called and said they want their smelly hippy beards and antiquated programmer tools back.

      Some suggestions for future installments of Ask Slashdot:
      - How do I set up Microsoft Word 2007 to recognize the DOS WordPerfect key bindings?
      - Should I be feeding my dinosaur a vegan diet?
      - How can I make an mp3 player out of rocks?

    23. Re:Netbeans ( or others ) by Anonymous Coward · · Score: 0

      This is why I use XMonad, XTerm, and Vim and write tools for my environment.

    24. Re:Netbeans ( or others ) by carnicer · · Score: 1

      I love vim, but, the ability to highlight individual lines and give me specific errors,

      i am not sure if i understand you, but do you know the vim command line option "-q" that allows to follow up a compilation error list, also featuring navigation? if you knew or if i misunderstood you, my apologies.

    25. Re:Netbeans ( or others ) by knewter · · Score: 1

      Comments like this make me essentially certain that you edit text slowly and inefficiently.

      --
      -knewter
    26. Re:Netbeans ( or others ) by awkay · · Score: 1
      I use viPlugin for eclipse on a daily basis. It has the following pros/cons:
      • It is not an embedded copy of the real vim. Embedded versions of VIM do not benefit from IDE features (code sense, refactoring, completion, code warnings/errors updated on save, etc). On the whole, it supports most of the VIM command set that you use on a consistent basis.
      • It costs money...not much, and I think it is worth it, but you do have to pony up a little cash
      • Some plugins do not play well with it. specifically, it doesn't work with the JBoss visual web page editor, and you have to turn it off/back on if you refactor a class in a way that results in the underlying file being renamed. These are both minor annoyances, since it works fine with the regular JSP editor, and you rarely use the refactoring op.

      I find it to be indispensible, and the benefits of all the eclipse tools and plugins is awesome....I particularly like Mylin, refactoring, the intelligent code completion, and the code warnings/errors as you type.

    27. Re:Netbeans ( or others ) by ckaminski · · Score: 1

      vim file.1
      CTRL-Z
      vim file.2
      CTRL-Z

      %1
      CTRL-Z
      %2
      CTRL-Z

      I much prefer job control to screen or GUI or mouses. This is something that Windows still doesn't get right. A decent fork(), terminal emulation and job control.

    28. Re:Netbeans ( or others ) by X0563511 · · Score: 1

      You should check out ratpoison, if you haven't already. Basically it's a screen-like WM. Instead of ^A it uses ^T and the binds are almost identical.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    29. Re:Netbeans ( or others ) by Abcd1234 · · Score: 1

      Oh, I already use xmonad (switched around 2-3 weeks ago and haven't looked back), but I'm so used to GNU Screen for terminal management that I just stick with it.

    30. Re:Netbeans ( or others ) by doti · · Score: 1

      GNU screen provides many more features than just window-switching, like:

      * copy/paste without the mouse;
      * screen inside screen, for hierarchical window organization;
      * search the scroll history (and copy text from there);
      * protect your session from X session lockup;
      * access your session from another machine.

      --
      factor 966971: 966971
    31. Re:Netbeans ( or others ) by TheCarp · · Score: 1

      maybe six months ago? Admittedly I was a bit overwhelmed with trying to learn java and use eclipse for the first time with eclim

      I will have to give it another try.

      --
      "I opened my eyes, and everything went dark again"
    32. Re:Netbeans ( or others ) by Lord+Lode · · Score: 1

      These comments don't make me certain of that.

      I haven't used VIM that much. I grew up with text editors like QBasic in MS DOS and then notepad, gedit, kedit, text input boxes in web browsers, and such. So that's the style I'm used to, the kind of things like: selecting words / lines / multiple lines with either the mouse or a combination of shift key + arrow keys; searching for words with "ctrl+f"; saving with "ctrl+s"; undo with "ctrl+z", ... You know, the way of working in virtually every editor except VI(M) and Emacs.

      Now what I think Vim users are saying is, that working with Vim is faster than with the "normal" editors I described. I haven't used Vim often enough to be able to say whether that's true or not. But a few things make me think that this is not true. Some of those things that make me sceptical about Vim being faster to work with are: afaik no mouse; cursor movement keys don't have shape of arrow keys; key shortcuts and combinations that don't match those of most of todays software; no usage of graphical GUI in its interface. Interface designed in the 70's (nothing wrong with that but normally one would expect that todays interfaces have come together out of more research about UI's than those of the 70's). I think people who grew up with Vim in a time when today's UI standard of text editors didn't exist yet, find Vim faster to work with because they're used to it.

      So basically, to believe that Vim is faster to work than "regular" text editors, I'd have to see statistics that for most people, even those who have used "regular" text editors their whole life and never Vim, will be able to edit text faster with Vim after they learn Vim and used it long enough. Has any research been done about this?

    33. Re:Netbeans ( or others ) by tyroneking · · Score: 1

      I pride myself on being a know-it-all but in this case I want to thank you sincerely; I have never heard of NetBeans before but after you mentioned it I tried it and it is now my favourite Python IDE. Thanks!

    34. Re:Netbeans ( or others ) by knewter · · Score: 1

      I understand your skepticism. I will tell you, it's misplaced. I'm a professional developer (actually own a software co. now, but I still code much of the day). I've worked long days in text editors of all sorts (notepad++, notepad, Visual Studio, JEdit, TextMate, etc.). I did not grow up with vim. It took me ~3 months to learn it to the point where I was as effective in it as I was in other editors that I grew up with.

      You mentioned that you haven't used vim enough to know whether it's true or not. I have. I've used almost any editor you can think of. Multimodal text editors are win. There's no possible alternative to this statement.

      Anyone that's a vim/emacs expert can edit text easily many orders of magnitude faster than someone that uses something other than a mode-based editors. I promise I'm right. That's all.

      --
      -knewter
    35. Re:Netbeans ( or others ) by Anonymous Coward · · Score: 0

      I would very much recommand jvi (jvi.sf.net) since it tries to be a java port of the original vi code. This really makes it feel like you are working with vim within Netbeans.

    36. Re:Netbeans ( or others ) by erikdalen · · Score: 1

      Kdevelop 4 has vi editing mode (as does the other KDE text editors, KATE & KWrite)

      --
      Erik Dalén
  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 =)

    2. Re:Emacs! by Anonymous Coward · · Score: 0

      If you want tomake it more useful and include the editing capabilities of VIM and not just VI, install the vimpulse package, too. I've been happily using Emacs as my IDE of choice ever since siwthcing to REPLy things like Lisp gave me the impetus to look into it, but I'd be completely lost without viper and vimpulse.

    3. Re:Emacs! by Anonymous Coward · · Score: 1, Insightful

      Old joke. Stop using it. Now.

    4. Re:Emacs! by Splab · · Score: 1

      Well since it supports VI binding I guess it has a decent editor.

    5. Re:Emacs! by fermion · · Score: 0, Troll
      Exactly, Emacs is the answer to everything.

      That said, there does appear to be a VIM plugin for eclipse.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    6. Re:Emacs! by Anonymous Coward · · Score: 0

      It does... just run this command inside emacs:
      M-x term;vim

      or, for the more adventurous: http://billharlan.com/pub/emacs/

    7. Re:Emacs! by Gerzel · · Score: 1

      Its not a joke, you can run vi in it.

    8. Re:Emacs! by V!NCENT · · Score: 1

      But why does anybody still wants to run Vi?

      Ofcourse there are some die hards here that read /. with lynx, but anybody that views /. with a graphical web browser, like FireFox or Konqueror has a computer that's powerfull enough to run Emacs at insane speed...

      Back in the day Vi was lightweight and all that, but since that's no longer the problem... why? Why? For the love of God... WHY?!

      Must be the people that learned it Back In The Day (TM) and sticked to what they learned, but is there any reason why new kids on the block would even learn it?

      Disclaimer: I am not an Emacs user.

      --
      Here be signatures
    9. Re:Emacs! by Richard+Steiner · · Score: 1

      It's nice to learn vi if you use *nix systems because it seems to be installed on almost everything, making it very convenient. If that's all you have and you don't know it, hilarity ensues. :-) Or frustration. Whatever.

      --
      Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
      The Theorem Theorem: If If, Then Then.
    10. Re:Emacs! by DMUTPeregrine · · Score: 1

      VI is part of the POSIX standard. Knowing how to use VI is thus important, as any UNIX/Linux system will have VI, while Emacs might not be installed.

      Myself, I use Ed.

      --
      Not a sentence!
    11. Re:Emacs! by Anonymous Coward · · Score: 0

      Viper isn't perfect. That said, Emacs is a framework for developing text mode based applications, so writing a full port of Vim to to Emacs is mostly possible. In addition, Xembed should let you use Vim in Emacs. Or more on topic, you should be able to use Vim in whatever IDE you choose using Xembed.

      So the real question comes down to addressing the IDE developers. Can I use Vim(not keybindings or a clone or any other bullshit, but the actual Vim editor) as my editor in your IDE? If not, then why the fuck not?

    12. Re:Emacs! by Draek · · Score: 1

      Because it's the only editor thus far whose interface has been designed towards terseness. That everything in Vi can be done only with a few, short commands is not only a lifesaver when you're stuck with a slow-ass terminal, as it was originally designed to be, but also a great productivity boost in everyday usage once you learn to use it.

      Emacs gets often compared to it because, although its focus is clearly on power rather than speed, it's still far superior to modern-day editors that aim towards learnability and "user friendliness" at the cost of using up the programmer's time in navigating their cluttered interface over and over again. Sure keyboard shortcuts help, but they're still not even comparable to Emacs let alone Vi and its ilk in either speed or flexibility.

      --
      No problem is insoluble in all conceivable circumstances.
    13. Re:Emacs! by Anonymous Coward · · Score: 0

      never gets old

  3. Duh... by DoofusOfDeath · · Score: 1

    I think there's an app for that on the Emacs operating system.

  4. Qt Creator by vbraga · · Score: 2, Interesting

    Qt Creator has Vim bindings. It's possible to create non Qt applications messing with settings on the .pro file.

    --
    English is not my first language. Corrections and suggestions are welcome.
    1. Re:Qt Creator by Anonymous Coward · · Score: 1, Interesting

      Not only bindings, but Qt Creator has a built-in vi emulation mode.

      I really like Qt Creator, I just wish it wasn't so tuned for only creating Qt applications. It can be used for other apps but they don't make it easy because it assumes you're using Qt.

    2. Re:Qt Creator by StackedCrooked · · Score: 3, Interesting

      Qt Creator's Vim bindings are not complete yet. For example keystrokes like yiw or diw don't work. Recording macro's (which for me is Vim's killer feature) also doesn't work. That aside it's a great piece of software. Actually, it is the only IDE that I find usable on Linux.

    3. Re:Qt Creator by Anonymous Coward · · Score: 0

      I just recently discovered Creator myself... it quickly became the only IDE I use now. Windows, Linux, Mac... I develop for all three platforms... and can use this IDE in each... and on each, it runs faster than anything else I've played with or even used for years.

      You can tell there's much to come from Nokia/Troll Tech on this... as it's obviously not complete... but it's extensions are easy to understand, so you can build you're own if you're impatient. I've been digging through the code on it lately to do just this, and I can see where a lot of time and thought was put into Creator, and I expect to see it go far in the next couple years.

      As much as I like the _idea_ of Eclipse... it's just too damn slow for much of anything practical.

  5. Why not extend vim? by Paradigm_Complex · · Score: 2, Insightful

    Could anyone explain the reason why simply extending vim is being ruled out? Why is it considered a "mortal sin"?

    --
    "A witty saying proves nothing." - Voltaire
    1. Re:Why not extend vim? by Darkness404 · · Score: 1, Flamebait

      Because vim is supposed to be nice, lean and fast. Basically, this person wants emacs but doesn't want to admit it because he thinks that emacs is too bloated.

      --
      Taxation is legalized theft, no more, no less.
    2. Re:Why not extend vim? by frank_adrian314159 · · Score: 3, Funny

      Because, if you allow vim to be extended, it may accidentally become an operating system.

      --
      That is all.
    3. 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.

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

    5. Re:Why not extend vim? by stilldead · · Score: 1

      For the record, unless your monkey is washing its hands between throws, you will probably end up with crap on your candy.

      --
      You are lucky, Ed Gruberman. Few novices experience so much of Ti Kwan Leep so soon.
    6. Re:Why not extend vim? by just_another_sean · · Score: 1

      Doesn't emacs have a vi mode? IMHO that would provide both the full IDE and the familiarity of vi. I personally feel, as other posters have mentioned, that vi/shell/compiler/debugger are enough of an IDE but to each his own. What is that old saying? Unix doesn't need an IDE, it *is* an IDE. Or something like that.

      --
      Creationist Textbook Stickers Declared Unconstitutional by CowboyNeal
    7. Re:Why not extend vim? by joshbosh · · Score: 1

      > vim is more concerned with text editing.

      Vim users often state this, but when I last compared Vim and Emacs, the latter was vastly superior for editing plain text lists [1] and tables [2], which are used extensively in my notes and other non-code documents.

      With the exception of Vim being arguably more ergonomic, in what way is Vim superior to Emacs for editing text?

      [1] http://orgmode.org/manual/Plain-lists.html
      [2] http://orgmode.org/worg/org-tutorials/tables.php

    8. Re:Why not extend vim? by FreeBSD+evangelist · · Score: 2, Insightful

      If you wanted lean and fast, you'd run vi, not vim.

    9. Re:Why not extend vim? by Anonymous Coward · · Score: 0

      Especially in the "editor war" between Vim and Emacs, Vim is often considered to exemplify the Unix philosophy of "do one thing and do it well". For that reason, extending Vim with source code management features would be contrary to the spirit of the program.

    10. 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)

    11. Re:Why not extend vim? by Anonymous Coward · · Score: 0

      Is there no other common editor that can do macros as easily and powerfully as vim. That's one of the, if not the killer feature of vim.

    12. Re:Why not extend vim? by Maxmin · · Score: 1

      Could anyone explain the reason why simply extending vim is being ruled out? Why is it considered a "mortal sin"?

      Extending vim is normal practice -- where'd you get the idea that it's a sin?

      Check out some of the plugins for vim.

      That said, I've found vim plugins to be not unlike emacs extensions, in that when one fails, it's probably gonna be up to you to suss out why and patch it.

      --
      O lord, bless this thy holy hand grenade, that with it thou mayest blow thine enemies to tiny bits, in thy mercy.
    13. Re:Why not extend vim? by Anonymous Coward · · Score: 0
      "Mortal sin" may not be a good description of the problem. A better one is the second paragraph as http://eclim.org/

      Eclim is less of an application and more of an integration of two great projects. The first, Vim, is arguably one of the best text editors in existence. The second, Eclipse, provides many great tools for development in various languages. Each provides many features that can increase developer productivity, but both still leave something to be desired. Vim lacks native Java support and many of the advanced features available in Eclipse. Eclipse, on the other hand, still requires the use of the mouse for many things, and when compared to Vim, provides a less than ideal interface for editing text.

    14. Re:Why not extend vim? by Paradigm_Complex · · Score: 1

      where'd you get the idea that it's a sin?

      RTFS d:

      --
      "A witty saying proves nothing." - Voltaire
    15. Re:Why not extend vim? by jgrahn · · Score: 1

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

      1. out-of-source builds (having the sources in one directory, building to another) is not the responsibility of your text editor; it's the Makefile's job. I'm surprised that you think Emacs somehow prevents it from working.
      2. Online help? I prefer to read the sources, where the help surely originates. If you're talking about library help, you can read it as info or man pages. I admit that the tags feature (of emacs and vi) could work better for languages like C++ -- right now you can search for a find() method and get a dozens of different hits. Unfortunately that requires the editor to understand the language's type system.
      3. What about M-x cpp-highlight-buffer? Seems to be exactly what you ask for. On the other hand, if you need it regularly, I feel sorry for you. Ifdefs are a maintenance nightmare no matter what editor you use.
      4. Intellisense? I have never used it, but I'm sure M-x dabbrev-expand (an ancient Emacs feature, also available in Vim under a different moniker) is superior. Works everywhere, in any language -- I rely on it for all my writing.
    16. Re:Why not extend vim? by gerddie · · Score: 1

      out-of-source builds (having the sources in one directory, building to another)
      is not the responsibility of your text editor; it's the Makefile's job.
      I'm surprised that you think Emacs somehow prevents it from working.

      C'mon everybody knows that Emacs is an OS.
      But seriously, it's of course not the build itself that works or does not work, but when I edit a file, I want to hit whatever x-compile is bind to, run compile. with an out-of-source build Emacs does not know where to find the build files, so I would have to load a file (or switch to a buffer of a file) from within the build-tree first. Or I compile in a terminal, but then I lose the automatic location of error lines.

      Online help? I prefer to read the sources, where the help surely originates.
      If you're talking about library help, you can read it as info or man pages.

      Yes I can do both, but this is not the point, the point is, it's nice to just put the courser on a word, hit some key and have the help available.

      What about M-x cpp-highlight-buffer? Seems to be exactly what you ask for.
      On the other hand, if you need it regularly, I feel sorry for you.
      Ifdefs are a maintenance nightmare no matter what editor you use.

      Well, I didn't know this command, but it's not what I meant - in an IDE there is no unknown state of an #ifdef, because it scans the whole project plus build files.

      Intellisense? I have never used it, but I'm sure M-x dabbrev-expand (an ancient Emacs feature, also available in Vim under a different moniker) is superior.

      Since you never used Intellisense you are hardly to judge which is better, right? I for my part was not very happy with dabbrev-expand, and looking at what the Kdevelop4 beta provided I was really impressed.

      Well, I still use Emacs for most of my editing, but if Kdevelop 4 makes it easier to define custom indention styles then I might convert - at least when it comes to C/C++ programming.

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

  7. Eclipse plugins? by HenryKoren · · Score: 1

    what about GVIM? (stupid answer)

    Here are some VIM eclipse plugins:

    http://vimplugin.org/
    http://eclim.org/

    Though I tend not to like these since the native plugins for whatever you might be developing inside eclipse tend to be more complete.

    1. 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. Emacs by negrace · · Score: 1

    Sounds like you are ready for Emacs, son.

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

    1. Re:Vim has integration already by Abcd1234 · · Score: 2, Interesting

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

      Sorry, no. I absolutely adore Vim and use it as my primary editor, but when it comes to debugger integration, Vim sucks. Hard. Decent GDB integration with Vim requires patching Vim. Why? Because Vim has *terrible* support for multiplexing interaction between the user and external processes (well, unless you're willing to settle with gvim, in which case clewn can use the NetBeans interface). ie, Vim is simply not architected to properly handle the idea of managing an on-going, externally running application, instead only really supporting the idea of a command starting, then completing (:! works exactly that way).

      No, if there's one thing I desperately miss from Emacs, it's the more solid approach to handling external processes (and the better extension language... vimscript works, but, ugh, who wants to learn a new, special extension language when so many perfectly find embeddable languages are available?). Which is why you'll never see, say, embedded shell support in Vim: It's just not designed to be able to do that sort of thing.

    2. Re:Vim has integration already by Anonymous Coward · · Score: 0

      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.

      Hmm doesn't seem to work. jdb says: Input Stream closed.

  10. IDEs With VIM Text Editing Capability? by omar.sahal · · Score: 2, Interesting
    Will this do.
    I'm not entirely sure of not extending vim but "not wanting to give up the efficient text editing capabilities of VIM" could mean.

    PIDA is an IDE (integrated development environment). PIDA is different from other IDEs in that it will use the tools you already have available rather than attempting to reinvent each one. PIDA is written in Python with the PyGTK toolkit, and although is designed to be used to program in any language, PIDA has fancy Python IDE features.

    Its, a IDE and will allow you to use vim as well.

    1. Re:IDEs With VIM Text Editing Capability? by HTH+NE1 · · Score: 1

      IDE (integrated development environment)

      Congratulations on being the first (and apparently only) poster to define what IDE means in this context!

      But I'll have to penalize you a point for only doing it by quoting someone else defining it.

      I'll leave it to someone else to backronym eSATA to refer to a development environment.

      ("The term Advanced Technology Attachment is kept, but is an anachronism. The last IBM PC/AT is now nearly dead, and has been for many years.")

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  11. 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.

    1. Re:ViEmu + Visual Studio by Joseph+Lam · · Score: 1

      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.

      The OP explicitly asked for linux based IDE.

    2. Re:ViEmu + Visual Studio by Anonymous Coward · · Score: 0

      OK, I missed that, although from context I had already assumed a windows-only solution would probably be a non-starter anyway.

      Hopefully the link will be useful to some other vim-using readers, which is why I posted.

    3. Re:ViEmu + Visual Studio by Bigjeff5 · · Score: 1

      Read much? He mentions that.

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
  12. Komodo IDE by Utoxin · · Score: 1

    I haven't tested it thoroughly, so I don't know how much of the VI command set it implements, but Komodo IDE has a 'vi' mode, and I believe it would fulfill your other requirements as well. (As a plus, it's fully cross platform, so you can use it everywhere)

    --
    Matthew Walker
    http://www.tweeterdiet.com/ - My Diet Tracking Tool
    1. Re:Komodo IDE by Anonymous Coward · · Score: 0

      It has very limited command support (or did when I tried it about 8 months ago.) Stuff I can't live without like 'ci(' aren't in it, as well as most of the "good stuff" I love from VIM. I just added a few plugins and made VIM more IDE-like and it's been the best tool I've ever used to develop with.

  13. 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/
    1. Re:At the risk of starting a flame war by Fujisawa+Sensei · · Score: 2, 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.

      Been there, done that, emacs, x-emacs, emacs with the GTK stuff. Am sticking with vim. I've been using vim since 1992-1993, back on my Amiga.

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
    2. Re:At the risk of starting a flame war by Splab · · Score: 3, Insightful

      I've only been using VI for 10 years, but still is almost impossible for me to work in any editor now where there aren't modes.

      What made me choose VI over Emacs back in the day [tm] was the fact that my hands aren't build for the ctrl voodoo used in Emacs.

    3. Re:At the risk of starting a flame war by cstacy · · Score: 1

      Emacs was designed to be used optimally with a special keyboard (which has not been commercially available for about 12 years now, and was attached to a very expensive non-standard non-x86 computer...)

    4. Re:At the risk of starting a flame war by Anonymous Coward · · Score: 1, Insightful

      Have you tried swapping Caps Lock and Control?

    5. Re:At the risk of starting a flame war by martin-boundary · · Score: 2, Insightful
      People often say that the control key combinations are difficult in Emacs, but this is only so if 1) you don't touch-type and 2) your keyboard is older than 20 years. On a modern (=post 90s) keyboard, there are two control keys and two alt keys, one for each hand.

      Here's how you should type a typical Emacs chordal command: use both hands. For example, M-x is typed by pressing the x with the left hand, and the ALT with the right hand. This is touch typing 101. (Similarly, you would type a capital letter by pressing the letter with the nearest hand, and pressing shift with the other hand.)

      You can still reprogram your keyboard, and you can change the key combinations in your .emacs if you prefer something else, but if you think about it a little, all the commands you're likely to need can be typed comfortably if you use both hands simultaneously.

    6. Re:At the risk of starting a flame war by belmolis · · Score: 1

      Two control keys? Don't you mean three? Real programmers all redefine the evil Caps Lock as a control key.

    7. Re:At the risk of starting a flame war by xannik · · Score: 1

      That sounds like an absolutely horrible idea. :-)

      --

      Go Illini!!!
    8. Re:At the risk of starting a flame war by carnicer · · Score: 1

      are you pretending to be a reincarnation of the great Fujisawa Shuko?

    9. 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.
    10. Re:At the risk of starting a flame war by HalWasRight · · Score: 1

      Correction: Real Programmers redefine the Caps Lock as Rubout

      --
      "This mission is too important to allow you to jeopardize it." -- HAL
    11. Re:At the risk of starting a flame war by Domini · · Score: 1

      Interesting enough I knew Emacs (in the form of Micro Emacs) way back in 1987 on my Amiga, but after I understood what vi(vim) was about I've used that instead and never looked back.

      So much faster to run and edit, and installed everywhere.

      It does however suck at integrating a full development environment. Something Visual Studio and eclipse shines at (and even Emacs is know to handle better). Still when I have a lot of typing/editing to do and less debugging I'll use vim.

    12. Re:At the risk of starting a flame war by pongo000 · · Score: 1

      M-x viper-mode

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

      Sadly, it doesn't seem to do vim. For instance, C-v (for block edit mode) fails miserably.

    13. Re:At the risk of starting a flame war by Splab · · Score: 1

      Odd, I do touch type and my keyboard is about 2 years old, guess I'm not "people"... (rtard).

      While you might have no problem hitting ctrl with your girly hands, us guys with big hands will have to move and twist our wrist in order to get down to ctrl, key, which is a fairly uncomfortable thing to do, and doing it lots of times every hour is going to kill my wrist - having big hands means escape is in a natural position for me while alt and ctrl are far away from my fingers.

    14. Re:At the risk of starting a flame war by dwater · · Score: 1

      This brings up an interesting (to me) point...

      After I moved to Finland, I was amazed how many people here used Emacs compared to vi(m). I was trying to think of a good reason and the only thing I could think of was the arrangement of keys on the Finnish keyboards makes vi(m) much more awkward to use. For example, '/', which I use very often, is shift-7.

      I guess the same might be true of many other countries' keyboard layouts (there are quite a few German emacs users too).

      --
      Max.
    15. Re:At the risk of starting a flame war by Anonymous Coward · · Score: 0

      are you pretending to be a reincarnation of the great Fujisawa Shuko?

      Nope is a nick I was given about around 10 years ago for going to a 4 day convention and somehow managing to not sober up until Monday morning.

    16. Re:At the risk of starting a flame war by Anonymous Coward · · Score: 0

      a) I don't touch-type. I can type pretty fast, having been doing it for over half my life, but not in the way taught in keyboarding classes.
      b) My right alt and win keys are used for typing various squiggly characters.

      Looks like it's vim for me!

  14. screen ftw? by Anonymous Coward · · Score: 0

    How about using screen? You can have a command line, gdb, vim, $foo... and it's resource friendly as well!

    1. Re:screen ftw? by Anonymous Coward · · Score: 0

      Indeed. But I would prefer to use it in tandem with dvtm.

    2. Re:screen ftw? by CronoCloud · · Score: 1

      Gnu screen? It's for neckbearded, suspender wearing, curmudgeonly *nix grognards who still think that X is a fad and that it will never take off. They use screen to play nethack over telnet with vi keybindings for movement, run compiles, chat on IRC using irssi, IM using finch with jabber protocol only, twitter using ttytter, and browse the net with lynx.

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

    3. 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. ;-)

    4. Re:screen ftw? by geminidomino · · Score: 1

      Gnu screen? It's for neckbearded, suspender wearing, curmudgeonly *nix grognards who still think that X is a fad and that it will never take off. They use screen to play nethack over telnet with vi keybindings for movement, run compiles, chat on IRC using irssi, IM using finch with jabber protocol only, twitter using ttytter, and browse the net with lynx.

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

      And none of them would ever have to connect remotely to a competently-managed server (meaning no X).

      Tool.

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

  16. 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
    1. Re:Extending Vim is a mortal sin? What? by Anonymous Coward · · Score: 0

      Extending vim is a mortal sin because the core code would be corrupted to serve the interests for which it was never intended.

    2. Re:Extending Vim is a mortal sin? What? by Abcd1234 · · Score: 1

      ROFL! If you think OmniComplete, even with ctags or cscope, is anywhere *near* as capable as the intelligent completion available in Eclipse, VisualStudio, or any other comparable IDE, you're either horribly ignorant, or lying to yourself. And the idea that it's *better*? That's beyond laughable. And I say that as a diehard Vim user.

    3. Re:Extending Vim is a mortal sin? What? by Anonymous Coward · · Score: 0

      Last time I checked, omnicomplete wasn't context aware. So, I would press the shortcut for the list of whatever & everything would pop up rather than just what was possible in the current context like you'd get in eclipse or intellij.

  17. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  18. EMACS! by PedroKiefer · · Score: 0, Redundant

    Use EMACS!

  19. Expensive cake, but you can eat it by assertation · · Score: 0

    Buy a copy of Visual Slick Edit for Linux.

    1. 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/

    2. Re:Expensive cake, but you can eat it by xannik · · Score: 1

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

      You aren't kidding. $300 for a code editor? What features could this thing have that could possibly be worth that much money?! I read some of the "cool features" like: code navigation, syntax completion, and auto-completions. There are lots of IDEs and editors that are free that have these very same features, so I am at a loss as to why anyone would choose to spend hundreds of dollars for this.

      --

      Go Illini!!!
    3. Re:Expensive cake, but you can eat it by Griffon26 · · Score: 1

      Its vim emulation is not complete and consequently pretty annoying.

  20. old school command line IDE by fred+fleenblat · · Score: 1, Interesting

    when i get tired of typing i'll do a command line like

        vi +100 program.c ; make; ./program arg1 arg2 etc

    and then use command history (up arrow+return) to repeat it

    it ends up being as fast as an IDE and it's much more flexible.
    most importantly to me it works inside an ssh or telnet session with any old unix box.

    1. Re:old school command line IDE by shutdown+-p+now · · Score: 1, Flamebait

      it ends up being as fast as an IDE and it's much more flexible.

      A modern IDE isn't the same thing as "editor with a single button to build project". It also has things such as code reformatting, refactoring, integrated debugging, code completion...

      Using Vim to edit code today is like using ed to interactively edit text.

    2. Re:old school command line IDE by Anonymous Coward · · Score: 0

      Why is this modded flamebait? He's right. I'd call it informative.

    3. Re:old school command line IDE by geohump · · Score: 1

      its probably modded flamebait because he's not right. There is some support for each of those areas in vim, possibly excepting integrated debugging (depending on how you define integrated debugging, that is :) )

    4. Re:old school command line IDE by gdw2 · · Score: 1

      I've found it easier to make vim a good IDE than to try to make an existing IDE more vim-like. Vim has a great :make command which will compile your program and jump to any lines with errors. It's great. If you want to run the program after a build, just put that in the Makefile too, or create a "make run".

    5. Re:old school command line IDE by MathiasRav · · Score: 1

      Using Vim to edit code today is like using ed to interactively edit text.

      Huh... you can do that?

      To think that I'd been using cat all this time...

  21. Switching TO Vim by apharmdq · · Score: 2, Interesting

    I'm currently working on switching away from my IDE to vim. There are plenty of plugins to put it on par with most IDEs, and honestly, a lot of the stuff in modern IDEs is just fluff. As for loading down Vim with all the extra stuff, I don't have the plugins autoload, but rather load after I run a script to transition it to my own "IDE Mode." This keeps Vim small and fast when I'm doing ordinary editing. I'm still in the transition phase, so I may not have seen all the disadvantages yet, but as far as I can see, the advantages outweigh them.

    I'm also aware that Emacs does it quite well, but I'm more of a Vim user, so I'll stick with that unless I run into a wall and have to use Emacs in Viper Mode instead.

    1. Re:Switching TO Vim by Simon80 · · Score: 1

      You can save yourself from having to decide when to load these plugins by loading them for specific file types. You can make files like ~/.vim/ftplugin/filetype.vim (i.e. c.vim, cpp.vim, python.vim) that contain a few lines to source your script when those filetypes are loaded. You may need to set a variable to ensure that the sourcing happens only once.

  22. Extend Vim by __aalruu9610 · · Score: 3, Insightful

    Mortal sin? First, get over your ridiculous predisposition against extending vim. Vim is built to be extended, and extending it can make it much more useful as a tool and not just an editor. If you're good enough in Vim to prefer it as a text editor, then make it comfortable as an environment. There are some amazing extensions for vim, that for me at least, make me much more productive than using an "IDE". Fuzzy file finder, exuberant ctags with taglist, minibufexplorer...

    1. Re:Extend Vim by Anonymous Coward · · Score: 0

      Mortal sin? First, get over your ridiculous predisposition against extending vim. Vim is built to be extended, and extending it can make it much more useful as a tool and not just an editor. If you're good enough in Vim to prefer it as a text editor, then make it comfortable as an environment. There are some amazing extensions for vim, that for me at least, make me much more productive than using an "IDE". Fuzzy file finder, exuberant ctags with taglist, minibufexplorer...

      sounds like emas to me

    2. Re:Extend Vim by __aalruu9610 · · Score: 1

      Oh no, and as a vim user, I can't have anything like emacs. Thank you for pointing me to the error of my ways, I'll resume to prejudice against emacs and go back to basic vim. Thank you.

      I use vim because I like it, not to look cool and l33t and fight against emacs users. ;) There's nothing wrong with making yourself more productive, and sticking to the tools you enjoy while doing it.

  23. Sin by fm6 · · Score: 1

    Extending VIM with these capabilities is a mortal sin

    Then the worst sinners are the vim maintainers themselves. Even with just the default config, vim is full of IDE features.

  24. Palo by Anonymous Coward · · Score: 0

    Eclipse with VIM http://eclim.org/ . It can do what VIM is doing plus all what Eclipse can. Integrated debugger is just basics.

  25. Either VIM or an IDE by Anonymous Coward · · Score: 0

    IMHO, vim is not ideal to use in any IDE.

    Graphical IDEs like eclipse or netbeans are all about having nice clicki-like interfaces. That's the direct opposite of the vim interface, which is very flexible and heavily optimized for keyboard-only use.

    At the moment, I have to use eclipse for work and for me as a vim user, I think it's a PITA. Even with all the nice features and key bindings it has, I tend to be a lot slower when using eclipse - it's kind of frustrating.

    I tried the vim plugins for eclipse but then I realized that it was not what I expected it to be. If you use vim in an IDE, you loose many of the actual advantages of the IDE since its default editor is usually much better integrated. I'd be happy if there was a nice IDE which has vim as its default editor and integrates it well. But at the moment, I don't think there is one which could give you any benefit.

    You're probably better off just using all the tools individually, each in an seperate xterm, along with a decent window manager (like i.e. fluxbox) which lets you define some useful key bindings.

  26. Blasphemy! by Neuroelectronic · · Score: 0, Flamebait

    Vim emulation for Microsoft Visual Studio:

    http://www.viemu.com/

    1. Re:Blasphemy! by localman57 · · Score: 1

      I have been using this for years. Very nice plug in for Visual Studio. Note that you need the full version of Visual Studio, though, not the free-as-in-beer Express versions, as the Express versions don't support plug-ins.

  27. Moving in the wrong direction by testostertwo · · Score: 2, Funny

    Real men (still) use ed:

    http://www.gnu.org/fun/jokes/ed.msg.htm

    1. Re:Moving in the wrong direction by Anonymous Coward · · Score: 0

      dead link. put an 'l' at the end, like thisl.

    2. Re:Moving in the wrong direction by penguin359 · · Score: 3, Informative
    3. Re:Moving in the wrong direction by DMUTPeregrine · · Score: 1

      Ed is a perfectly good editor. And it IS the standard.

      (.)a is append mode, with the line address before it. eg: "25a" enters append mode at line 25.

      (.,.)c is change mode. the lines are deleted, new lines appended in their place. eg: "24,26c"

      d works like c, but just deletes the lines.

      i is insert mode.

      typing a single "." on a line alone exits the editing mode.

      w writes the file out.

      q exits.

      Ed does have a nice manpage, and can be powerful enough for most basic tasks.

      --
      Not a sentence!
  28. vimjuta by Anonymous Coward · · Score: 0

    There was a project to bring vim into anjuta. Though, I'm not sure if it was any successful.

  29. ed is the one true editor - use it instead! by Anonymous Coward · · Score: 0

    From: patl@athena.mit.edu (Patrick J. LoPresti?)
    Message-ID:
    Sender: news@athena.mit.edu (News system)
    Subject: The True Path (long)
    Date: 11 Jul 91 03:17:31 GMT
    Path: ai-lab!mintaka!olivea!samsung!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!patl
    Newsgroups: alt.religion.emacs,alt.slack
    Organization: Massachusetts Institute of Technology
    Lines: 95
    Xref: ai-lab alt.religion.emacs:244 alt.slack:1935

    When I log into my Xenix system with my 110 baud teletype, both vi
    *and* Emacs are just too damn slow. They print useless messages like,
    'C-h for help' and '"foo" File is read only'. So I use the editor
    that doesn't waste my VALUABLE time.

    Ed, man! !man ed

    ED(1) UNIX Programmer's Manual ED(1)

    NAME
    ed - text editor

    SYNOPSIS
    ed [ - ] [ -x ] [ name ]
    DESCRIPTION
    Ed is the standard text editor.
    ---

    Computer Scientists love ed, not just because it comes first
    alphabetically, but because it's the standard. Everyone else loves ed
    because it's ED!

    "Ed is the standard text editor."

    And ed doesn't waste space on my Timex Sinclair. Just look:

    -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed
    -rwxr-xr-t 4 root 1310720 Jan 1 1970 /usr/ucb/vi
    -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs

    Of course, on the system *I* administrate, vi is symlinked to ed.
    Emacs has been replaced by a shell script which 1) Generates a syslog
    message at level LOG_EMERG; 2) reduces the user's disk quota by 100K;
    and 3) RUNS ED!!!!!!

    "Ed is the standard text editor."

    Let's look at a typical novice's session with the mighty ed:

    golem> ed

    ?
    help
    ?
    ?
    ?
    quit
    ?
    exit
    ?
    bye
    ?
    hello?
    ?
    eat flaming death
    ?
    ^C
    ?
    ^C
    ?
    ^D
    ?

    ---
    Note the consistent user interface and error reportage. Ed is
    generous enough to flag errors, yet prudent enough not to overwhelm
    the novice with verbosity.

    "Ed is the standard text editor."

    Ed, the greatest WYGIWYG editor of all.

    ED IS THE TRUE PATH TO NIRVANA! ED HAS BEEN THE CHOICE OF EDUCATED
    AND IGNORANT ALIKE FOR CENTURIES! ED WILL NOT CORRUPT YOUR PRECIOUS
    BODILY FLUIDS!! ED IS THE STANDARD TEXT EDITOR! ED MAKES THE SUN
    SHINE AND THE BIRDS SING AND THE GRASS GREEN!!

    When I use an editor, I don't want eight extra KILOBYTES of worthless
    help screens and cursor positioning code! I just want an EDitor!!
    Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!! ED!
    ED! ED IS THE STANDARD!!!

    TEXT EDITOR.

    When IBM, in its ever-present omnipotence, needed to base their
    "edlin" on a UNIX standard, did they mimic vi? No. Emacs? Surely
    you jest.

  30. Use Vim Existing Plugins by thePsychologist · · Score: 1

    You don't have to extend VIM yourself. What's wrong with using plugins? There are many interfaces for debuggers and other things on the VIM website. Extending with plugins might just be easier.

    --
    "What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
  31. intellij has a nice vim plugin by ndunn · · Score: 1

    intellij has a nice vim plugin that I have been using since 7.

    Supports all of the modes, search / replace, etc.

    The only thing I miss is the fancy window-editing, but that is more the fault of intellij than the plugin author.

    1. Re:intellij has a nice vim plugin by patniemeyer · · Score: 1

      Intellij is the best. I regularly use the vim plugin for Intellij and the one for Eclipse. Intellij has much better integration. It does have some hurdles when there are new releases (it's a free plugin so no one is being payed to update it... though I keep hoping that JetBrains will adopt it formally).

      Intellij's key binding is also the most sophisticated in general.

      And with version 9 there is now a free community edition...

  32. vim addict searching ide drug upgrade by Anonymous Coward · · Score: 0

    give anjuta[1] a try, last i peeked it could embed and use both vim and emacs as editing components

    [1] http://projects.gnome.org/anjuta/index.shtml

  33. pico! by nomadic · · Score: 1

    pico!

  34. Vim as an External Editor by penguin359 · · Score: 1

    I use Vim with a large variety of small speciality IDEs and find that most IDEs properly detect changes made outside them and reload the file. While I am running a debugger, I am not modifying code and use the built-in debugger interface. When I need to make a change, I just hit Alt-Tab, modify the file and save, and hit Alt-Tab and the files reloaded in the IDE.

  35. Emacs by Anonymous Coward · · Score: 0

    Vim is so 1995

  36. Project Pane by rawg · · Score: 1

    I would be happy with just a project pane, like Textmate has, that doesn't look like ass. I love VIM, but that's pretty much the only thing holding me back from dropping Textmate.

    --
    The above is not worth reading.
    1. Re:Project Pane by schnablebg · · Score: 1

      Try NERDTree. It looks and operates better than project.vim and also handles tabs better.

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

  38. KDevelop by tajmorton · · Score: 1

    KDevelop has a VIM mode for its text editor, I believe. Under Settings|Editor|Text Editor. Or at least it used to, a long time ago. You might need to install it as a separate package, or your distro might not package it (silly thing).

    --
    Tell the truth and you won't have so much to remember.
  39. KILL THE HERETIC !! by wmbetts · · Score: 1

    KILL THE HERETIC !!

    --
    "Ubuntu" -- an African word, meaning "Slackware is too hard for me". - stolen from Dan C alt.os.linux.slackware
    1. Re:KILL THE HERETIC !! by Narcocide · · Score: 2, Funny

      Seriously! Why re-invent a wheel just to put it around your old wheel. EMACS already does everything and even comes with a psychotherapist plugin to help you cope with the debilitating side effects of C-x 2 C-x o C-u 25 C-x ^ syndrome.

    2. Re:KILL THE HERETIC !! by FeatherBoa · · Score: 0

      I know -- IDEs suck. I just do everything directly from VI -- shell out to various tools, pipe output back into a VI buffer to look at it. It really does all anyone could need.

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

  41. Not necessarily the silver bullet however... by icepick72 · · Score: 1

    Edit your files with VIM as per usual. Also keep them open in your GUI IDE of choice. Most IDEs detect file changes and will either ask you to reload the files or you can sometimes set options to automatically reload. Now you have the best of both worlds on top of the same source code files - you have all the features of each solution. Also set up your GUI IDE to launch VIM on a source file using a keystroke.

  42. well by Anonymous Coward · · Score: 0

    I'm pretty sure emacs can do this!

  43. Eat one's cake and gave it too by Anonymous Coward · · Score: 0

    You could start by learning what your expression means. It does not mean 'to have something and then something extra' but 'to want two mutually incompatible things.' The correct form of the expression as used by non idiots is 'to eat one's cake and have it too.'

  44. Don't need to use .pro files anymore by Prien715 · · Score: 1

    At least in 1.3, you can now use CMakefiles (which I use) or regular makefiles as well. The only downside is that it IS made for C/C++.

    That said, it is by far my favorite IDE...made the switch from a simple text editor a year ago and haven't looked back...and that's after trying Eclipse....

    --
    -- Political fascism requires a Fuhrer.
  45. Real programmers... by meuhlavache · · Score: 2, Interesting

    ... use butterflies ! http://xkcd.com/378/

  46. Read the title wrong... by CupBeEmpty · · Score: 1

    ... I was kind of wondering why the hell terrorists needed VIM on an *IED*

  47. Open 3 xterms ... by Anonymous Coward · · Score: 0

    Open 4 xterms ...
    1) vim - editor
    2) make/build
    3) gdb or xxgdb or whatever

    Ok, I was wrong, you only need 3 xterms for this "fancy IDE" that many have used since the early '80s effectively.

    Is this really that hard?

    Friends don't let friends run java desktop applications. NOBODY has that kind of RAM to waste.

  48. Code::Blocks or Eclipse by Anonymous Coward · · Score: 0

    I use Code::Blocks but I've heard that Eclipse is also great for C++ and other languages, including Java.

  49. command mode baby.. by tempest69 · · Score: 3, Insightful
    if I want line 200 I type in 199j from the top..

    if I want to change all of the X to - in an amino acid sequence line I type :s/X/\-/g

    yea.. I'm sure that emacs can do it too.. But once all that brainpower is invested, theres no way I'd bother with emacs.. It's like a secretary changing to dvorak after she's hit 200wpm

    vim is fast, powerful, user friendly, and quite picky about it's friends.

    Storm

    1. 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
    2. Re:command mode baby.. by frooddude · · Score: 1

      Better yet try :200 it works from anywhere in the file.

    3. Re:command mode baby.. by Anonymous Coward · · Score: 0

      I thought he said it is user friendly.

    4. Re:command mode baby.. by aiht · · Score: 1

      He did.
      He also said it is picky about its friends.

    5. Re:command mode baby.. by ranulf · · Score: 1

      And better still, 200gg which requires less hand movements than either of the other suggestions.

    6. Re:command mode baby.. by node159 · · Score: 1

      vim is fast, powerful, user friendly, and quite picky about it's friends.

      Don't you mean, vim has so few friends because its so difficulty, the social reject can pretend to be picky, but its just deluding itself :)

      --
      GPLv2: I want my rights, I want my phone call! DRM: What use is a phone call, if you are unable to speak?
    7. Re:command mode baby.. by Rufty · · Score: 1

      Ah, a notepad user.

      --
      Red to red, black to black. Switch it on, but stand well back.
    8. Re:command mode baby.. by Anonymous Coward · · Score: 0

      :200

    9. Re:command mode baby.. by Anonymous Coward · · Score: 0

      :200 also works.

    10. Re:command mode baby.. by Anonymous Coward · · Score: 0

      What's wrong with :200 ? ed ftw.

  50. geany ide by innocent_white_lamb · · Score: 1

    It seems to be little-known, but I discovered geany a few months ago and highly recommend it. (I do most of my programming with C and ncurses, and it's just absolutely ideal for what I want it to do.

    --
    If you're a zombie and you know it, bite your friend!
  51. Komodo is awesome by kallisti5 · · Score: 0

    Komodo edit has a nice VIM emulation feature.. It is a little slow with huge text files but works great for editing source. Too bad there's no Solaris version I can use at work though :( http://www.activestate.com/komodo_edit/

  52. jEdit by Anonymous Coward · · Score: 0

    http://jedit.org/

  53. Vim (+ plugins) + cgdb by Anonymous Coward · · Score: 0

    I use Vim (mostly gvim built with gtk2) with the following plugins:
    - bufexplorer: a quick way for changing buffers
    - cscope_maps: full access to cscope, inside vim.
    - taglist: by using (ex)ctags it gives you a window with all the tags in the opened files, with the possibility to quickly jump to any tag you want

    I also set shortcuts for building and cleaning projects (for instance F8 and F9), for checking errors (F3 to open build log, F4 and F5 to go to prev. and next error), for folding and for many other things.
    The only thing that I haven't tried yet is to integrate vim with gdb (I think I saw some plugins for this), and only because I already use cgdb, which is extremely useful. Basically you have a gdb with the extra benefit of having a special window for code listing.
    Also, I can use this combination over ssh, which is a big plus for me.

    Another option would be to go for xemacs, which is at least as powerful.

  54. restore the correct position of ctrl keys by SgtChaireBourne · · Score: 1

    While you might have no problem hitting ctrl with your girly hands, us guys with big hands will have to move and twist our wrist in order to get down to ctrl, key, which is a fairly uncomfortable thing to do, and doing it lots of times every hour is going to kill my wrist - having big hands means escape is in a natural position for me while alt and ctrl are far away from my fingers.

    It's probably yet another problem that can be traced back to Bill. I started seeing the mutant keyboards bundled with his "OS". The ctrl key, which gets used a lot, used to be where it could actually be reached, but that position defaults to the useless capslock key. Probably until 2003 or 2004, one of the first things for me to do on a new account with such a keyboard was to remap the position of the control keys.

    I get too much pain in the wrists to try it your way, by contorting the wrists, to reach the out of the way locations. If I am sloppy I can crease my hand to get at the ctrl key but that quickly causes very sharp pains there too. I hadn't thought about it for a while, now that I have I see that I usually slide my fingers a row down from the home keys (typing home not 'HOME') and do it that way, transferring the pain to the elbows...

    It's not so much a problem of what shapes the paint has on the damned keys but the problem that Linux distros now seem to follow the asinine, MBA-designed, One Microsoft Way of key mapping. Before all that stupidity there used to be a whole field called ergonomics and other fields and specialists streamlining tasks through time and motion studies. I bet I can get through a month, or longer, without hitting the capslock key on purpose.

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
  55. Pida by amjith · · Score: 1

    Pida lets you embed vim as your editor. So you get all the goodness of an IDE with Vim as your editor. http://pida.co.uk/

  56. cgdb by sshock · · Score: 1

    If you just need debugging, try cgdb. It's very lightweight.

  57. Watcom IDE? by kackle · · Score: 1

    I am not a Linux guy, but I learned vi using Watcom C/C++ under Windows. Now that that tool has gone open source, it seems there is a Linux version. Will this work?

    http://openwatcom.org/

    If I'm off, my apologies...

  58. KDevelop by Anonymous Coward · · Score: 0

    KDevelop 4 hasn't yet been released, but the beta version has all you seem to need and looks pretty decent to me.

  59. re: IDEs With VIM Text Editing Capability by Anonymous Coward · · Score: 0

    Why would you want to run a text editor on an IDE hard drive, they are designed for throughput, not processing power. You should try a hex editor on SAS or if you don't have the $, SATA.

  60. Re: Komodo Edit is actually open source by khanyisa · · Score: 1

    Correction, Komodo Edit is open source - free as in speech - the full IDE contains proprietary extensions to it

  61. Amish by Anonymous Coward · · Score: 0

    VN is for Amish developers