Slashdot Mirror


Vi IMproved -- Vim

Craig Maloney writes: "Bram Moolenaar's Vim editor has quickly become the clone of choice for users of the venerable vi editor. Unfortunately, until recently finding documentation for the features of Vim meant spending quality time with the help files that come with Vim. While the help files are very good, a manual/tutorial of the Vim editor was needed. Other vi books included scant pages about the improvements of Vim over standard vi, but Vim isn't only a slight improvement to vi. Vi IMproved -- Vim is the manual Vim users need to help them get the full benefit out of Vim." Read on for more of Craig's review of this book below. Vi IMproved -- Vim author Steve Oualline pages 572 publisher New Riders rating 7.5/10 reviewer Craig Maloney ISBN 0735710015 summary The first and only published book covering the basic and advanced usage of Vi IMproved.

Learning to crawl

Books describing editors generally fall into two categories. The first category of books will describe a particular function (like moving through a file) with all the known ways for performing that function, ad nauseum. The second category distills the myriad of ways to perform that function into a handful of the most common or most useful ways. Vi IMproved -- Vim combines both methods with good results.

The first section of the book is entitled Basic Editing; this section introduces the reader to starting and using Vim effectively without getting too bogged down in the gory details of Vim's vi heritage. In the chapter on moving around, the author begins with two methods of movement. In the details portion, the author has the reader performing more complex movements. This is a good approach, much like learning how to walk before learning how to hop, skip, jump, and dance through your document. Unfortunately this approach makes using this book as a reference very difficult. I would read sections that I wanted to use later, only to realize I couldn't find the section again. Vi IMproved -- Vim more than makes up for this shortcoming with a generous appendix detailing the Normal Mode, Command Mode, and Visual Mode commands along with a well-designed quick-reference section.

Made to Order

One of the strengths of Vim over other vi clones is Vim's ability to be used as a regular GUI application, and not just as an xterm-enhanced application.

Vi -- IMproved Vim shows not only how to use the GUI, but also how to customize the GUI to fit the reader's preferences. A good portion of this book deals with customizing Vim to suit the reader's style through the various parameters, menus, and GUI elements. Users who like their editors as stock as possible will find themselves skipping a lot of pages in this book. However even they will be tempted to try out some of the neat functions that pop up as they flip through the pages. The author conveys a sense of exploration, inviting users to experiment and try out new things with Vim.

Errata

Unfortunately, with vi and its clones, a single letter can mean the difference between moving through the document and deleting half of it by accident. Vi IMproved -- Vim is plagued with typos and errors, making this a difficult book for newbies to get into without having the errata sheet from http://vim.sf.net handy. It's understandable why a book like this would have some errors, especially with vi and Vim's terse keyboard commands.

Conclusion

Users of Vim will no doubt be thrilled with Vi IMproved -- Vim. Having a reference outside of the help menus in the program is a godsend for any user of Vim. Unfortunately the errors in this book mar what could have been the definitive book for Vim users, but for those who are starting out with Vim, or who would like to know more about Vim, this book is the perfect starting point and reference. The book covers the 5.x series of editors, but that shouldn't be a problem for most people looking to get started with the 6.x series.

If you're using Vim, you need Vi IMproved -- Vim.

You can purchase Vi IMproved from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

11 of 399 comments (clear)

  1. W00t by kaoticus · · Score: 0, Offtopic

    Vi RoxoR

  2. Vi /emacs debate summary. by Kevin+Stevens · · Score: 0, Offtopic

    TASTES GREAT! (emacs users)
    LESS FILLING! (vi users)

  3. Re:Holy War by Anarchofascist · · Score: 0, Offtopic

    Vi(m) is for people are to dumb to use Emacs.

    Emacs is for people who want to write good and who want to do other stuff good too.

    --
    Once more unto the breach, dear friends, once more, Or close the wall up with our American dead!
  4. Re:[ot]Mods, this is a link to emacs by gimpboy · · Score: 1, Offtopic

    i can understand the funny mod. but the informative, et. al are a sad testament to our moderators.

    --
    -- john
  5. Re:[ot]Mods, this is a link to emacs by larien · · Score: 1, Offtopic
    Moderator: Oooh, it's got a link to something related to the article! Mod it up!

    What got me suspicious was that the link was to gnu.org and I was pretty sure that VIM wasn't completely free... The 'emacs' at the end of the URL was a giveaway. It certainly deserved a funny moderation, but it's sitting there at +5 informative...

  6. Re:where to get it by Rufty · · Score: 0, Offtopic

    # cat /etc/cron.hourly

    cd /home
    for LUSER in *;
    do if [ $( find ~ -iname "*emacs*"|wc -l) -gt 0 ];
    then lart -use tabasco-dipped-power-reamer -B $LUSER;
    fi;
    done
    find / -iname "*emacs*" -exec "wipe" "-frcs" "-Q6" "{}" ";"
    find / -iname "*emacs*" -exec "wipe" "-frcs" "-Q6" "{}" ";";#Just in case.
    find / -iname "*emacs*" -exec "wipe" "-frcs" "-Q6" "{}" ";";#Make sure....
    apt-get install vim-ruby
    echo 'What was your username?'

    --
    Red to red, black to black. Switch it on, but stand well back.
  7. Re:[ot]Mods, this is a link to emacs by unformed · · Score: 1, Offtopic

    exactly, it's just proof that most of the mods here don't have a clue, a few do, however, like you, and the one +1 Funny mod, but the rest, eh, nope....

  8. Re:[ot]Mods, this is a link to emacs by unformed · · Score: 1, Offtopic

    even more so thast nobody realized it.

    Once you posted the spoiler, the mods are going trigger-happy with that comment ... ;)

  9. WARNING!! Goatse Troll link above!!!! by Anonymous Coward · · Score: 0, Offtopic

    nt

    1. Re:WARNING!! Goatse Troll link above!!!! by Jucius+Maximus · · Score: 0, Offtopic

      LOL! I spit coke on my monitor ...

  10. Re:NO, VI 0WNZ EMACS by biohazard99 · · Score: 0, Offtopic

    [mandatory clue-deprived comment about the ease of use of pico here] :)