Slashdot Mirror


VIM 6.0 is Out

LinuxNews.pl writes "It's more then a year after releasing the first 6.0 alpha. Lot's of improvements (i.e. you can edit files via FTP!) - check them out on vim.org" Of course everyone knows that vim is the best text editor in the world. Anyone who tells you differently is either wrong, lying, or criminally insane. (Or an emacs user, in which case they are wrong, lying and criminally insane).

39 of 585 comments (clear)

  1. vi versus emacs by Rupert · · Score: 4, Funny

    Boy, the way Taco is trying to start a holy war here, anyone would think that he made money on ad impressions every time someone posted a comment.

    --

    --
    E_NOSIG
    1. Re:vi versus emacs by fobbman · · Score: 5, Funny

      Ugh, can we avoid the whole "Holy War" thing. I'm rather CNN'ed out right now.

      Call it "Infinite Debate" or something like that instead.

  2. CT's bias by sl70 · · Score: 5, Funny

    How come we can't mod CT's original post down as a troll?

    --
    Thank God I'm an atheist!
    1. Re:CT's bias by A+Commentor · · Score: 4, Interesting

      Making the editor's comments appear as a comment would actually be a great idea...

      It gives moderators the ability to mod them down, and ALSO, no one would be able to claim '1st post'.

      --

      Looking for any old 8-bit Heathkit/Zenith software/hardware - http://heathkit.garlanger.com

  3. Office Assistant? by mmontour · · Score: 5, Funny

    So did Vigor, the vi paperclip, make it into the 6.0 release?

    1. Re:Office Assistant? by anshil · · Score: 5, Funny
      Screenshot from vim-xp:


      +-
      |The quick brown fox jumps over the lazy dog._
      |~
      |~
      |~
      |~
      |~
      |~
      |~
      |~
      |~ ..................
      |~ . ..
      |~ . Try typing .
      |~ . ":help" .
      |~ ................
      |~ ..
      |~ .
      |~ /--\
      |~ | | |
      |~ |@ @
      |~ | \-
      |~ \
      |~ \--
      |~
      |-- INSERT -- 1,44 All
      --

      --
      Karma 50, and all I got was this lousy T-Shirt.
  4. because the 'announce' link doesn't work... by Si · · Score: 4, Offtopic

    here's the text of the latest 6.0ax announcement:

    From: Bram Moolenaar
    To: vim-announce@vim.org
    Subject: Vim version 6.0ax BETA is available
    Date: Fri, 21 Sep 2001 15:51:23 +0200
    Message-Id: Announcing: Vim (Vi IMproved) version 6.0ax BETA
    Author: Bram Moolenaar et al. Announcement
    ------------ This is a BETA test version of Vim. Vim 6.0 is a huge step from Vim
    5.x. Many, many new features and improvements have been included. For
    an overview, with a few screendumps, look here: http://vim.sf.net/whyvim.php The past two weeks many bugs have been fixed. This release is to check
    if no mistakes were made. If nothing important comes up, 6.0 will be
    released in a few days. Thanks to all people who reported problems and
    helped fixing them! If you notice a problem, please report it! It would be annoying if Vim
    6.0 will be released with a problem that could have been fixed if you
    would have reported it. If you are upgrading from Vim 5.x, please look out for problems you run into.
    Vim 6.0 is mostly backwards compatible, but not 100%. Check out ":help
    version6" for known incompatibilities. If you find a problem that can be
    solved, please report it to me. Details about changes since the first beta can be found in these messages:
    6.0aqhttp://groups.yahoo.com/group/vimdev/messag e/ 23413
    6.0arhttp://groups.yahoo.com/group/vimdev/messag e/ 23598
    6.0ashttp://groups.yahoo.com/group/vimdev/messag e/ 23730
    6.0athttp://groups.yahoo.com/group/vimdev/messag e/ 23941
    6.0auhttp://groups.yahoo.com/group/vimdev/messag e/ 24252
    6.0avhttp://groups.yahoo.com/group/vimdev/messag e/ 24546
    6.0awhttp://groups.yahoo.com/group/vimdev/messag e/ 24841
    6.0axhttp://groups.yahoo.com/group/vimdev/messag e/ 25061 You can find the most recent patches here: ftp://ftp.vim.org/pub/vim/unreleased/patches What is Vim?
    ------------ Vim is an almost 100% compatible version of the UNIX editor Vi. Many new
    features have been added: Multi level undo, syntax highlighting, command line
    history, filename completion, block operations, etc. Those who don't know Vi
    can probably skip this message, unless you are prepared to learn something new
    and useful. Vim is especially recommended for editing programs. Vim runs on almost any Unix flavor, MS-DOS, MS-Windows 3.1, MS-Windows
    95/98/ME/NT/2000/XP, OS/2, Atari MiNT, BeOS, VMS, RISC OS, Macintosh and
    Amiga. For more information, see http://vim.sf.net. New since version 5.8
    --------------------- The number of changes is huge. These are just the main new items: Folding - momentarily hide part of the text
    Vertically split windows - mixed with horizontal splits
    Diff mode - show and remove differences between files
    Easy Vim: click-and-type - for those who really don't like two modes
    User manual - learn to use Vim, reads like a book
    Flexible indenting - automatic indenting for any language
    Extended search patterns - more regexp power than you will need
    UTF-8 support - Unicode allows editing nearly all languages
    Multi-language support - translated messages and menus
    Plugin support - drop a script in a directory and you can use it
    Filetype plugins - an easy way to setup for editing a type of file
    File browser - browse directories, also on a terminal
    Editing files over a network - read and write a remote files directly
    command-line editing window - use any Vim command to edit an Ex command
    Debugging mode - debug your Vim functions and scripts
    Cursor in virtual position - edit tables and draw ASCII pictures
    Debugger interface - use Vim with Sun Visual Workshop
    Communication between Vims - let one Vim tell another Vim what to do
    Printing - print with syntax colors
    Quickfix extended - see error messages in a window and jump there
    Writing files improved - rename or copy to make a backup file
    Argument list - select groups of files to work on
    Restore a View - save the looks of a window and restore it later
    Color schemes - quickly switch between different color setups See this page for the details: http://vim.sf.net/htmldoc/version6.html Where to get it
    --------------- Information about which files to download for what system: http://vim.sf.net/download.php If you already know what to get, download it from here: ftp://ftp.vim.org/pub/vim/unreleased Or use one of the mirrors, see: ftp://ftp.vim.org/pub/vim/MIRRORS Mailing lists
    ------------- For user questions you can turn to the Vim mailing list. There are a lot of
    tips, scripts and solutions. You can ask your Vim questions, but only if you
    subscribe. See http://www.vim.org/mail.html. An archive is kept at
    http://groups.yahoo.com/group/vim. If you want to help developing Vim or get the latest patches, subscribe to
    the vim-dev mailing list. An archive is kept at
    http://groups.yahoo.com/group/vimdev. Subject specific lists:
    Multi-byte issues: vim-multibyte http://groups.yahoo.com/group/vim-multibyte
    Macintosh issues: vim-mac http://groups.yahoo.com/group/vim-mac Reporting bugs
    -------------- Send them to . Please describe the problem precisely. All the
    time spent on answering mail is subtracted from the time that is spent on
    improving Vim! Always give a reproducable example and try to find out which
    settings or other things influence the appearance of the bug. Try starting
    without your own vimrc file: "vim -u NONE -U NONE". Try different machines
    if possible. See ":help bugs" in Vim. Send me a patch if you can! If something needs discussing with other developers, send a message to the
    vim-dev mailing list. You need to subscribe first. Happy Vimming!

    --


    Why is it that many people who claim to support standards have such atrocious spelling and grammar?
  5. Real Programmers... by istvandragosani · · Score: 5, Funny

    ...use cat and od

    --
    Go not to the Elves for counsel, for they will say both no and yes
    1. Re:Real Programmers... by Smitty825 · · Score: 4, Funny

      Yea, I'm not quite that good yet. I'm still using sed :-)

      --

      Doh!
    2. Re:Real Programmers... by halftrack · · Score: 4, Insightful

      Real Programmers...:
      * Doesn't get mixed into /. flamewars.
      * Doesn't care how other people do their work - as long as they get it done.
      * Do care enough about how he/she does the job and makes his own choises.

      (I've currently only broken 1 of the aboves. Getting closer.)

      --
      Look a monkey!
    3. Re:Real Programmers... by Mike+Schiraldi · · Score: 5, Funny

      Real programmers use chmod +x /dev/random and cross their fingers.

    4. Re:Real Programmers... by Mike+Schiraldi · · Score: 4, Funny

      You should be using lowercase numbers.

    5. Re:Real Programmers... by WNight · · Score: 4, Funny

      /dev/zero already functions that way, but only for Battlefield Earth.

  6. The other Vim site by anonymous+cowpie · · Score: 5, Informative

    ... is at SourceForge. IMHO these pages are better organized and more helpful than the stuff on vim.org. Obviously not always up to date though, as the front page does not yet reflect the 6.0 release. :-|

  7. Nice to see... by Klaruz · · Score: 5, Insightful

    Don't expect great new features in a next version. Vim has grown into a complex program with so many features and options that there is nobody who uses them all. Stability and easy of use are the main goals for the future.

    I'm not a vi user, and this isn't intended to start a flame war, but it's nice to see vim sticking by it's one of it's principles - making a lightweight editor.

  8. Only v6.0? by gotroot801 · · Score: 5, Funny

    Bah - Emacs is already at version 20. Clearly this means Emacs is 333% better than vim!

    Wait, you mean version numbers aren't a measure of quality? Dang!

  9. You're all wrong. by Saint+Aardvark · · Score: 5, Funny
    From Ed, man! !man ed":

    From: patl@athena.mit.edu (Patrick J. LoPresti)
    Subject: The True Path (long)
    Date: 11 Jul 91 03:17:31 GMT
    Newsgroups: alt.religion.emacs,alt.slack

    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. They chose the most karmic editor of all. The standard.

    Ed is for those who can *remember* what they are working on. If you are an idiot, you should use Emacs. If you are an Emacs, you should not be vi. If you use ED, you are on THE PATH TO REDEMPTION. THE SO-CALLED "VISUAL" EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE FAITHLESS. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!!

    ?

  10. Bah. by ByteHog · · Score: 5, Funny

    Text editors are for wimps!! I use a very small magnet to write my files. and CMOS when I'm feeling up to it..

    --
    - This isn't the sig you're looking for. Move along, move along..
  11. Shocker by drodver · · Score: 4, Funny

    I recently installed a linux distro on a new hard drive. Imagine my surprise when I open up a config file in vi and (gasp) it was in color! The horror! I quickly turned off the monitor and haven't touched that computer since. Someday perhaps I will gather the courage to turn the monitor on again, but not anytime soon!

    Color text files! [[[shudder]]]

  12. Re:CmdrTaco, please... by RollingThunder · · Score: 5, Insightful

    I do believe it's called "humor", as in VIM vs EMACS is a geek injoke....

    Of course, the holy wars start because people have no sense of humor about this stuff. :(

  13. Re:Emacs emulation in vim? by DJerman · · Score: 5, Funny

    No, it's like asking a Ferrari to emulate a 60-story office complex, an employment agency, an aircraft manufacturer, a luxury yacht, and a Ferrari.

    --
  14. Re:Emacs emulation in vim? by Laplace · · Score: 5, Funny

    Do you know what they call that emulation mode?

    VILE (vi-like emacs)

    For vi emulation of emacs, just type ":sh emacs" (without the quotes)

    --
    The middle mind speaks!
  15. Edit files via ftp by Anonymous Coward · · Score: 5, Informative

    Nice anti-emacs rant, Taco. You also mentioned you're impressed that vim can now edit files via ftp. Well, let's take a look at the emacs changelog...

    GNU Emacs NEWS -- history of user-visible changes. 17-Aug-1988
    [snip]
    Changes in version 18.52.
    [snip]
    ** Visiting remote files.

    On an internet host, you can now visit and save files on any other
    internet host directly from Emacs with the commands M-x ftp-find-file
    and M-x ftp-write-file. Specify an argument of the form HOST:FILENAME.
    Since standard internet FTP is used, the other host may be any kind
    of machine and is not required to have any special facilities.


    So, emacs has been doing this for 13 years. You whining about how emacs users are crazy is like a Windows user in 1995 insulting Mac users, who had at the time been using the neat new Win95 features since 1984.

  16. Screen dumps??? by hawk · · Score: 4, Funny
    It's a text editor. Screen dumps? Ooh, look: a v, and an i, and an m. And all those vowels . . .


    :)


    hawk

  17. US Mirror by FredtheDead · · Score: 4, Informative

    Here the main us mirror site as vim.org is in Germany http://ftp.us.vim.org/vim/

  18. Re:Not to start a flame war;) by GypC · · Score: 4, Funny

    What if you're on some crusty old HP-UX machine in the back of someone's shop.

    "Oops, sorry Mr. Client, I can't help you. This machine only has vi and, well, I'm just too lazy to learn how to use it. Maybe I can ftp the files to this Windows box and edit them with notepad... excuse me? Yes, certainly, I'll leave right away..."

  19. Re:Emacs emulation in vim? by Xzzy · · Score: 5, Funny

    > Has anyone done an emacs emulation mode for vim?

    No, because they haven't figured out how to compress the 75 megs of diskspace a fuly featured emacs takes into the vim source, to give you that true "emacs feel".

  20. Re:what's the difference? by Mike+Schiraldi · · Score: 5, Funny

    as a novice linux user I ask what is the difference between Vi And EMACS.

    vi is like masturbation. It's not as good as the alternative, but it's always there.

  21. Re:what's the difference? by garett_spencley · · Score: 5, Interesting

    The two editors evolved differently. Vim started as 100% compatible vi clone with extra features, while emacs was an attempt to create a 100% free (as in speech) text editor when the alternatives were vi (closed source commercial implementations), pico etc.

    So in a nutshell here are the differences:

    o Emacs uses lisp to completely customize the editor. Vim uses it's own little scripting language to do syntax highlighting, create shortcuts etc...

    o Vim is just an editor. Emacs will do everything except pick your nose (ei: check e-mail, surf the net, even play games). You can also write Emacs extensions with emacs-lisp to get it to pick your nose if you really want it to.

    o The interface is quite different. Vim (like vi) has editing mode and command mode. Emacs just has editing mode. Both are command-driven though unless you use gvim or XEmacs - in that case you get an X11 user interface.

    There are lots of other differences feature wise but these are the big ones. The best suggestion I can give you is to just try both. They are both relatively hard to learn since you have to memorize a lot of commands. But once you have them down pat they easily become two of the best text editors available.

    One thing to note though: because they are hard to learn it's suggested that you only pick them up if you do a LOT of text-editing (programmers for example). They really are programmers editors and not for people who just want to create the odd ascii file. Do not use them expecting something like notepad for windows. If you do you will hate them.

    --
    Garett

  22. Re:what's the difference? by Mr.+Slippery · · Score: 5, Informative
    as a novice linux user I ask what is the difference between Vi And EMACS.

    vi - A VIsual editor. Older, smaller, and less full-featured. Newer vi-decendants, like vim, are larger and more feature-ruch. Mode-based editing - in insert more, typing "x" inserts an "x" into your buffer, while in command mode typing "x" deletes the character under the cursor. Commands are based on "ed", which is also the ancestor of sed. You can do some inserting stuff by feeding it ed commands, along the lines of ":%s/foo/bar/g" for global replacement. Pretty much tty based, some newer varients let you use the mouse directly.

    emacs. Editor MACroS. "The extensible self-documenting text editor." "Escape Meta Alt Control Shift." Modeless editing (mostly, sort of). Has a LISP interpreter built in, which means its big (some might say bloated) and can do anything you want it to - there are entire applications written in Emacs Lisp. Editing involves a lot of "control" and "alt" key combinations - Control-X Control-C to exit, Control-X Control-F to open a new file, and so on. Works ok in a tty, or under X with point-n-click, dropdown menus, etc.

    I like vi for small quick edits, and it's easier to run over a slow link. Emacs has a heck of a learning curve, but once you understand it, it'll be your best Unix friend. (Yes, there is a Windows version too.)

    --
    Tom Swiss | the infamous tms | my blog
    You cannot wash away blood with blood
  23. Re:what's the difference? by Rocky+Mudbutt · · Score: 5, Funny


    vi{m}? has 5 modes:

    Beep mode: everything you type rings the bell

    Disappearing text mode: everything you type vanishes

    Flash mode: everything you type makes the screen blink, scroll, and erase

    Escape mode: everything you type needs an ESC

    colon mode: all your text shows up at the bottom of the screen after a :



    Emacs has 5 modes:

    ESC

    Meta

    Alt

    Control

    Shift
    In all modes everything you type requires the depressing of more than one of the above keys
    in addition to a very-long-and-verbose-definition-that-you-look-up- regularly


    after 22 years of vi, I think hjkl instead of
    left down up right.

    --
    Ethics II Axiom 2. "Man thinks." B. Spinoza
  24. Get the Vim book by andy@petdance.com · · Score: 4, Informative

    Steve Oualline's book "Vi IMproved--Vim" is pretty good both as an introduction to vi, and to the vim-specific things as well. It's also released under the Open Publication License.

  25. Good lord... by Gruneun · · Score: 5, Funny

    then Windows 2000 must be absolutely fantastic.

  26. No matter what you use daily, you still need vi by Pinball+Wizard · · Score: 5, Insightful
    because one day you might need to restore your system from a boot disk, and vi is about the only thing that can fit along with the stuff you need to boot your system with. I suppose you could use edlin for this as well, but hardly anyone uses it. Additionally, vi is the one thing you can count on being on every system.


    Therefore, no matter what you use on a regular basis, you should still learn how to use vi.

    --

    No, Thursday's out. How about never - is never good for you?

  27. Re:vi for emacs by Jburkholder · · Score: 4, Funny

    Oh, that's great. The vi/emacs flamewar is settled in my mind once and for all!

    I mean, the cearly superior editor is the one which can be made to completely mimic the behavior of the other, lesser editor, right?

    I once tried to find an emacs reference coffe-cup just like the one I had seen for vi. It was only available in sets of 20.

  28. +1 Veracity on the MQR standard by MarkusQ · · Score: 4, Funny
    How do you mean 'start a holy war'... vi vs emacs stems from way back... it's the mother of all flamewars.

    You're quite right. I don't know why you got modded down for this (Offtopic?); I suppose it's just another example of the old adage "Those that don't remember history are doomed to misuse mod points."

    -- MarkusQ

  29. Not cat. by roystgnr · · Score: 5, Funny

    gunzip -c > executable

    That way you don't have to do nearly as much typing.

  30. Re:No, 6.0 is actually out by kdgarris · · Score: 5, Funny

    Stability and easy of use are the main goals for the future.



    Stability and what?!?

    -Karl
  31. America's New War: by richie2000 · · Score: 5, Funny
    Emacs vs. vi

    Emacs President Shrub today announced a new iniative in the war on user-friendlyness; Operation Infinite Swapspace.
    This can be seen as a direct response to vi's recent attacks on Emacs functionality when a flock of rabid vi supporters chanted "vi don't suck, vi is leet, vi can edit in ftp!" outside the Emacs embassy in Kaboom, capital of Afarawayistan.

    An Emacs representative commented the attack with "Those evil vi-llains will do anything to confuse the issues. The fact is that Emacs can solve the Towers of Hanoi problem faster than a vi user can learn to save a file and this bugs the hell out of them since most of them don't even know where Hanoi is. We are going to find their leader /vigor/bin/laden and make him pay for this atrocity."

    vigor himself just said that "Vi vill :q! them!"

    The Piconian ambassador was not available for a // comment, but rumours has it that he's busy compiling evidence.

    --
    Money for nothing, pix for free