Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming Software IT Technology

Vim 6.4 Released 419

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.
This discussion has been archived. No new comments can be posted.

Vim 6.4 Released

Comments Filter:
  • by CyricZ ( 887944 ) on Monday October 17, 2005 @12:00AM (#13807024)
    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.

  • Re:A Year? (Score:2, Insightful)

    by Spit ( 23158 ) on Monday October 17, 2005 @12:04AM (#13807053)
    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.
  • by CyricZ ( 887944 ) on Monday October 17, 2005 @12:05AM (#13807059)
    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.

  • by rebug ( 520669 ) on Monday October 17, 2005 @12:16AM (#13807104)
    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?
  • by ravee ( 201020 ) on Monday October 17, 2005 @12:48AM (#13807229) Homepage Journal
    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 :)
  • by Pecisk ( 688001 ) on Monday October 17, 2005 @01:23AM (#13807353)
    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?
  • by Anonymous Coward on Monday October 17, 2005 @01:23AM (#13807357)
    So you're saying that you've never needed to paginate piped input?
  • by Demerol ( 306753 ) on Monday October 17, 2005 @01:48AM (#13807428) Homepage
    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.
  • by Anthony Liguori ( 820979 ) on Monday October 17, 2005 @02:17AM (#13807497) Homepage
    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.
  • by hereticmessiah ( 416132 ) on Monday October 17, 2005 @02:25AM (#13807522) Homepage
    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 [tinyurl.com]

    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.
  • by plastik55 ( 218435 ) on Monday October 17, 2005 @03:01AM (#13807616) Homepage
    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.

  • by m50d ( 797211 ) on Monday October 17, 2005 @03:30AM (#13807678) Homepage Journal
    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.

  • by tehshen ( 794722 ) <tehshen@gmail.com> on Monday October 17, 2005 @04:25AM (#13807813)
    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.
  • by p2sam ( 139950 ) on Monday October 17, 2005 @04:45AM (#13807867)
    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.
  • by p2sam ( 139950 ) on Monday October 17, 2005 @04:51AM (#13807881)
    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.)
  • by oneandoneis2 ( 777721 ) * on Monday October 17, 2005 @06:19AM (#13808056) Homepage

    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.

  • by HerrGoober ( 743280 ) on Monday October 17, 2005 @07:41AM (#13808232)

    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.

  • by Fledsbo ( 11673 ) <[oystein] [at] [fledsberg.com]> on Monday October 17, 2005 @07:49AM (#13808251)
    Remap the (totally useless) CapsLock key to escape. Voila!
  • by Poromenos1 ( 830658 ) on Monday October 17, 2005 @07:56AM (#13808270) Homepage
    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.
  • by QuestorTapes ( 663783 ) on Monday October 17, 2005 @09:32AM (#13808639)
    > ...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.

  • by TuataraShoes ( 600303 ) on Monday October 17, 2005 @10:41AM (#13809083)
    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!
  • by valintin ( 30311 ) on Monday October 17, 2005 @02:17PM (#13810723)
    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.

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...