Slashdot Mirror


Vim 6.4 Released

file cabinet writes to tell us that for the first time in more than a year Vim has released a new version. Version 6.4 stable was released yesterday and while there are no new features added they are touting dozens of bug fixes.

22 of 419 comments (clear)

  1. I just want to say thanks. by CyricZ · · Score: 5, Insightful

    I want to say thanks to all of the VIM developers who have helped create such an amazing piece of software. Indeed, I don't think we can even begin to consider how much other software has been written by developers using VIM.

    --
    Cyric Zndovzny at your service.
  2. Re:A Year? by Spit · · Score: 2, Insightful

    How many new features can you add to VI? VIM is near perfect software and has been for years. Free licence has done its work already with this software, troll.

    --
    POKE 36879,8
  3. That's not surprising. by CyricZ · · Score: 2, Insightful

    I mean, it is the 6.4 release. Many projects typically do not add features after a major release. It's the minor point releases that focus on fixing bugs. So in this case it's the fourth round of bugfixes.

    --
    Cyric Zndovzny at your service.
  4. Re:Yes, but is it better than emacs?? by rebug · · Score: 5, Insightful

    Anyway I've never understood why people feel this compulsion to use a mode-based editor when there are so many wonderful editors out there today.

    Uhm, because some of us like modal editors?

    --

    there's more than one way to do me.
  5. I thought Vim was a finished project by ravee · · Score: 2, Insightful

    I have been a ardent fan of this editor and have been using it consistently for over 3 years now. And I really feel that vim has reached a maturity level where no more development is necessary.
    And if it lacks a feature, just write a plugin for the same. If you ask me this is how softwares must be developed - in a fully modular manner.

    Kudos to vim developers :)

    --
    Linux Help
    for all things on Linux
  6. Maybe it is not interesting... by Pecisk · · Score: 3, Insightful

    When I first saw vi, I thought - WTF. It is suitable for text editing!? Vi, for my point of view, is one of underdogs of software world. And yes, it really truely shines when we talk about remotently editing 40K file over 2800 baud modem or even on system with space about...emm...four megabytes? :)

    Yes, there are Word, OO.o Writer, Gedit, Kedit, Pico, Nano, whatever...and there is vi. Freedom of choice does strange things, doesn't it?

    --
    user@ubuntubox:~$ stfu This server is going down for shutdown NOW!
  7. Re:Not only is it a fantastic editor... by Anonymous Coward · · Score: 1, Insightful

    So you're saying that you've never needed to paginate piped input?

  8. Re:Why are we hiding from the police, daddy? by Demerol · · Score: 5, Insightful

    No one says vim is user friendly. It's not supposed to be. It's supposed to be powerful, and it is. It's hard to learn and it probably always will stay with 1% of the market share but I don't think the developers really care for increasing market share. Remember...it's free in every sense.

    And in reply to the troll before you:

    vim does have mouse support (:set mouse=a) in both terminal and, obviously, gui modes.

    Also, :set wrap will solve your other qualm.

  9. Re:Intellisense #1 feature, pay Bram to add it by Anthony+Liguori · · Score: 4, Insightful
    People who know how to use VIM well find themselves really productive in it. But, that said, I end up being slightly more productive writing Java code in Eclipse, ONLY because of completion, even though all my other editing features from VIM aren't there (or are buried).

    Sorry, I don't mean to be a bastard here, but this is my biggest pet peeve. I *hate* Intellisense or whatever the hell it's called. I think syntax autocompletion is ruining a new generation of programmers.

    Here's my reasoning. Writing code that always works is hard. Writing code that works some of the time is easy. To write code that works all of the time you have to understand the exact behavior of every function you call and handle all possible scenarios properly. It's the difference between writing:
    read(fd, &myInt, 4);
    And then writing a wrapper around read that checks for EAGAIN, EINTR, performs endianness conversion, handles partial reads, and potentially implements this all asynchronously. Back to my original point though, it takes time to learn all of the sublities of an API. The best way to learn them is by studying the interfaces (reading manuals, man pages, whatever).

    If you cannot remember the name of a function, go back to the manual and study it. You're going to not handle the edge cases of it. If it's Java, you'll ignore a potential exception. If it's C, you'll miss a potential error code.

    I'm not against all the features in things like Eclipse. Some of the refactoring stuff is useful. It's just intellisense that drives me nuts.
  10. Re:Why are we hiding from the police, daddy? by hereticmessiah · · Score: 5, Insightful

    Have you read Neal Stevenson's "In the Beginning Was the Command Line"? If you had, you wouldn't be spouting this nonsense.

    Seriously, go read this section: http://tinyurl.com/9qukb

    In it, he compares two devices: a heavy duty industrial drill called the Hole Hawg, and your basic power drill. Both do the same thing--drill holes--but their intent is different. The Hole Hawg is designed to drill through anything, whereas the regular power drill is designed for household use. The power drill lacks the power of the Hole Hawg, but has safety features that the Hole Hawg can't afford to have because of this. Whereas the Hole Hawg will keep spinning if it hits something hard (and therefore requires a large amount of strength to keep steady), whereas the power drill will slow down if it encounters too much resistance.

    Similarly, Vim is the Hole Hawg of text editors, whereas notepad is a regular powerdrill. Both have different intentions, with the former being designed for heavy-duty text editing as a programmer or highly technical user would need, and the latter designed for occasional light editing, the kind most non-technical users do. The intent is different and so the interfaces differ.

    It's very, very difficult to create a deep, powerful interface that is easily discoverable. At best, you can make it as learnable as possible. This is what Vim attempts to do. Notepad goes for a shallow, easily discoverable interface at the expense of power.

    --
    I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
  11. Re:Intellisense #1 feature, pay Bram to add it by plastik55 · · Score: 5, Insightful
    Eh? When Eclipse offers completions of a function for me it shows me the javadoc! So when I 'm getting ready to call a function I can see all the edge cases and caveats documented for me on the screen. That's much better than being a macho/masochistic programmer and thinking I remember everything about a function from the last time I used in in a different context.


    No one remembers all the edge cases, especially people who think they've got it all so memorized that they don't bother to double-check the documented behavior while they're calling functions.

    --

    I have a positive modifier on Troll. When I mod someone Troll their karma should go UP!

  12. Re:Bugggg fix only. nice by m50d · · Score: 2, Insightful
    No no no. The features are being added in the 7.x branch, which you can get from CVS. 6.x is purely for maintenance (ie bugfixes). This is a mixed blessing... It means 6.x is extremely stable, but if you want new goodies like spellchecking and intelligent autocompletion, you have to switch to the CVS only branch.

    For a piece of basic system software, it's more important that there's a stable branch that's actually stable. Now if only Linus would see things this way.

    --
    I am trolling
  13. Re:Intellisense #1 feature, pay Bram to add it by tehshen · · Score: 2, Insightful

    If you cannot remember the name of a function, go back to the manual and study it.

    Don't think it's just for when you forget something - most of the time, I remember how to type gtk_menu_get_attach_widget(), and what arguments it needs; I just can never be bothered to type it over and over again.

    --
    Guy asked me for a quarter for a cup of coffee. So I bit him.
  14. Re:Why are we hiding from the police, daddy? by p2sam · · Score: 5, Insightful

    I'd disagree with you about the user friendlyness of vim. I think Vim is one of the most user friendly editors out there. It's highly ergonomic, and easy to use. BUT!! It is not easy to learn.

    That's right. Easy to use, and Easy to learn are two different things. Easy to use means that one can accomplish a task with minimal effort. Easy to learn means just that, easy to learn. The two are not necessary mutually exclusive, but I have yet to see a text editor that has both.

    Modern UI designers have fallen into the tar pit of designing ONLY for new users, so that tasks can be performed easily by new users, but becomes difficult to use for the power user. In that sense, most modern IDE's are easy to learn, but hard to use.

    In my opinion, I'd rather spend a few days learning to use a tool that will increase my long term productivity.

  15. Re:Why are we hiding from the police, daddy? by p2sam · · Score: 4, Insightful

    For a programmer, who spends 7.5 hours a work day using a text editor, it's probably worth it to use the most effective editor, even if it takes a couple of months to get to speed on the tool. (Note: most people learn enough vi to get by in a couple of days.)

  16. Re:emacs and vim are too difficult to use by oneandoneis2 · · Score: 5, Insightful

    Why do you have to have an insert mode? This "feature" came from vi but for me it is exactly like bolting primitive editing behaviors on to more or less

    Try this: Go into Microsoft Windows, press the "Alt" button once, and then try to type Hello, world.

    Funnily enough, instead of the key presses resulting in text going into the document, it'll navigate the menus. Why? Because it's just gone from Insert mode to a Command mode. It's exactly the same principle as Vi - sometimes you want key presses to result in text on the screen, and sometimes you want it to do something. It's not "primitive editing behaviour", it's exactly the same behaviour as is used in the most advanced word processors available. (And MS Word as well ;o) It's just not a visible, GUI-based Command mode in vi, is all.

    So for me people use vi(m) and emacs out of habit.

    I don't - I came to Linux a few years ago, needed a text editor, tried a few and settled on vi. Well, vim actually. It's a really good text editor once you learn it.

    --
    So.. it has come to this
  17. Re:Why are we hiding from the police, daddy? by HerrGoober · · Score: 2, Insightful

    Three words: Carpal Tunnel Syndrome

    The less you have to use the mouse the more opportunity you have for better posture at the desk all round.

  18. Re:Why are we hiding from the police, daddy? by Fledsbo · · Score: 3, Insightful

    Remap the (totally useless) CapsLock key to escape. Voila!

  19. Also, write code that can be understood. by Poromenos1 · · Score: 2, Insightful

    Autocompletion is not meant (at least as I perceive it) to help you remember the names of functions (although it's a big help there). It's meant to make you type the names faster, which can be a GODSEND if you use names like "intDocumentClassFontState" (overkill, but you get the meaning, and I know using prefixes in dynamically typed languages is wrong, but I like it). I want to be able to read my code when I look at it after having forgotten what it's about. Comments help, but they can only get you so far if your variable names are x, y, z.

    --
    Send email from the afterlife! Write your e-will at Dead Man's Switch.
  20. Re:Why are we hiding from the police, daddy? by QuestorTapes · · Score: 2, Insightful

    > ...Vim is the Hole Hawg of text editors, whereas notepad is a
    > regular powerdrill. Both have different intentions, with the
    > former being designed for heavy-duty text editing as a programmer
    > or highly technical user would need, and the latter designed for
    > occasional light editing, the kind most non-technical users do.
    > The intent is different and so the interfaces differ.

    Exactly correct. That's why a lot of people preferred WordStar to Word or WordPerfect. and we still remember the hotkeys for thos editors that do emulation (Borland's Turbo C++ editor, VB classic, tons of programmer's tools )

    > It's very, very difficult to create a deep, powerful interface
    > that is easily discoverable.

    True.

    > At best, you can make it as learnable as possible.

    Have to disagree; in addition to making it as learnable as possible, you need to make it, as you said, "discoverable". Discoverability is aided not by a shallow interface, but by making experimentation safe. It should be very easy to:

    - see underlying patterns in the UI, to consider what -might- be done
    - easily distinguish actions which did something from those which do nothing
    - undo anything, thus encouraging the user to try new things.
    - as modeless as possible, so that actions which do nothing -most- of the
        time do nothing destructive the other times

    This is one area where vi is not as good as some tools. Note that this is not an area where most tools are good, and vi is poor. This is an area where most tools are poor, and vi fails to rise significantly above the majority.

    > This is what Vim attempts to do. Notepad goes for a shallow, easily
    > discoverable interface at the expense of power.

    Yes; other tools attempt to increase both power and discoverability, with mixed success.

  21. Re:Last Of The Well Behaved Editors by TuataraShoes · · Score: 2, Insightful

    If I had the points, I'd mod you up. I'm not familiar with ZDE or Scite, but I work with data transferred between different companies with a variety of systems. We end up writing custom adapter scripts to correct this kind of data format. End of line and end of file characters and character sequences are not universally standard. But sometimes they are completely and uniquely querky.

    I don't mind that so much. What winds me up is when they ask us to write export adaptor scripts to screw the data up again to their preferred screwed-format as we return files to them!

    --
    Surely in vain the net is spread in the sight of any bird -- Proverbs 1:17
  22. Re:Why are we hiding from the police, daddy? by valintin · · Score: 2, Insightful

    I think most people in the know, have already remapped the "caps lock" to the Control key.

    I swap the mapping of the ESC and `~ keys to bring the ESC key closer.