Slashdot Mirror


A Visual Walkthrough of New Features in Vim 7.0

An anonymous reader writes "Anybody who has used Linux or any other OS would be aware of the very powerful and feature rich text editor Vi. This interesting article takes a visual look at some of the new features in the latest version of Vim 7.0 — a Vi clone created by Bram Moolenaar. From the article: 'Just for once, I wouldn't mind siding with the beast if that is what it takes to use Vi. The modern avatar of Vi is Vim — the free editor created by Bram Moolenaar. Riding from strength to strength, this editor in its 7th version is a powerhouse as far as an editor is concerned. When ever I use Vim (or GVim for that matter), it gives me the impression of the Beauty and the Beast.'"

17 of 406 comments (clear)

  1. editors are for wimps by joss · · Score: 4, Funny

    Real men just input the entire program at the command line using cat>myprog.c
    Of course, "real men" score higher on machismo than common sense.
    C'mon.. there is nothing that really needs saying on this topic, let the flame
    wars begin.

    --
    http://rareformnewmedia.com/
    1. Re:editors are for wimps by Anonymous Coward · · Score: 4, Funny

      >Real men just input the entire program at the command line using cat>myprog.c


      Huh? Try directly typing into GCC next time, you know, like:

      gcc -x c - && ./a.out
        #include <stdlib.h>
        #include <stdio.h>
       
        int main(void) {
            if(puts("H., w.!")==EOF || fflush(stdout)==EOF) {
                fputs("Failed writing to standard output!\n", stderr);
                return(EXIT_FAILURE);
                }
       
            return(EXIT_SUCCESS);
            }
        ^D
    2. Re:editors are for wimps by Armer+Hund · · Score: 5, Funny

      Real men just input the entire program at the command line using cat>myprog.c
      A real man writes directly to the disk with a magnetised paperclip.

    3. Re:editors are for wimps by include($dysmas) · · Score: 5, Funny

      a disk? you luck pucker.

      in my day we had to arrange stones monoliths on hills to store data.

    4. Re:editors are for wimps by roystgnr · · Score: 5, Funny

      So you're the one who littered a bunch of tiny 40 ton monoliths all over the database hills I arranged, huh? Jerk. Now I have to wait for the next glaciation to reformat.

  2. Re:Its been decided. by SumoRoti · · Score: 5, Funny

    EMACS ? you mean Escape Meta Alt Control Shift ??

  3. Looks good by 1310nm · · Score: 5, Funny

    I can see myself using the tab and undo features, but the spillchucker adn autocomplete seme useliss 2 me.

  4. "later" command ... by martinmarv · · Score: 5, Funny

    From the Article:
    I realise that I have made a mistake. I can easily take the document to a point 10 minutes back by using the command :
    :earlier 10m

    Or for that matter, move to a point 5 seconds ahead by using the command:
    :later 5s


    ... So I don't need to actually do the work any more? I can just start a new file "Project Plan", enter the command ":later 7200s" then print it out?

  5. Re:No, it's *not* Moolenaar by Hal_Porter · · Score: 5, Funny

    Umulated is when you emulate an umlaut on an pure ASCII system by replacing ü with ue. Or ö with oe.

    #ifndef READER_IS_GERMAN

    An example
    E.g. Göring -> Goering, or Führer to Fuehrer.

    #else

    // can someone else think of some examples that don't make German's spit their coffee?

    #endif

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  6. When Pressed For Time... use VIM by chub_mackerel · · Score: 5, Funny

    FTFA:

    I can easily take the document to a point 10 minutes back by using the command :
    :earlier 10m
    Or for that matter, move to a point 5 seconds ahead by using the command:
    :later 5s

    AWESOME! Need to finish writing a paper? Normally take about 2 hours? Just type in

    :later 2h

    No muss, no fuss.

  7. Re:Its been decided. by Anonymous Coward · · Score: 5, Funny
    EMACS ? you mean Escape Meta Alt Control Shift ??
    Nope, as in Generally Not Used / Except by Middle Aged Computer Scientists.
  8. Prime Difference between Linux and Windows Users by MickDownUnder · · Score: 4, Funny

    Windows Users DON'T get excited about text editors !

  9. Ed, man! by Anonymous Coward · · Score: 5, Funny

    Vim is nothing compared to Ed, the greatest WYGIWYG editor of all.

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

  10. Re:Prime Difference between Linux and Windows User by rucs_hack · · Score: 4, Funny

    'it looks like you're writing a c++ file!'

    Noooooooooooooo......

  11. Burn him! by kahei · · Score: 5, Funny


    Recently, Richard Stallman gave a speech in which he illustrated an academic point about programming history by quoting a guy who described vi as 'an editor spread at sword-point and which is really hard to use'.

    I think I speak for all moderate vi(m) users when I say -- DEATH and DAMNATION (in that order) to this Cardinal of the CTRL key! Needless to say my own local vim user group has dispatched assassins to kill Mr. Stallman, but this is hardly the end of the story. The fact is that a man has referred to another man who in turn expressed some often-voiced reservations about OUR EDITOR! On behalf of all editors of text everywhere, I implore EMACS users to return to the true path, lest you be burned at the stake and then go to hell, the Buffer From Which There Is No Unloading. We'll see how productive you are then, with your ctrl-meta-alt and your ELISP and your 'ring buffer', whatever THAT is.

    Peace and love to all.
    ^C
    ^X
    quit
    q
    QUIT
    exit :exit
    zz
    ZZ

    --
    Whence? Hence. Whither? Thither.
  12. Actually, it's the only way by njdj · · Score: 4, Funny

    I know the best way to learn to use Vim is to use it every day.

    That's the only way. Getting to like vi (or vim) requires that you damage your brain, and a tool to do that is already to hand - vi. After using it every day for a while, it will seem quite natural to you that the letter "l" is the command to move the cursor to the right.

  13. Real men of genius by cabazorro · · Score: 4, Funny

    Real men of genius
    Today we salute you Mr. vi editor coder guy.
    Mr. vi editor coder guy!
    You type at lightning speed while while the rest of us squint our eyes in wonder.
    What the hell you just did to my file!?
    You scour through code like a red-hot knife on butter
    now my file looks funny in Notepad!!
    Thanks to you Mr. vi editor coder guy, you remind us, it's all about the code!
    Mr vi editor coder guy!

    --
    - these are not the droids you are looking for -