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.'"

30 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 orasio · · Score: 2, Funny

      Chuck Norris just stares at the phosphor triads, and the inscription starts glowing from then on.

    5. 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. New features by dp_wiz · · Score: 3, Funny

    How do i enable that clippy?

  5. "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?

    1. Re:"later" command ... by Anonymous Coward · · Score: 2, Funny

      Thats actually pretty cool. Funny thing happened though.

      I cranked up my emacs to see if it had that-

      M-x earlier 10y

      And I got vi.

      After searching the internet on how to do fucking anything in vi (I forgot the :) (thats not a smiley, its a colon), I did a :later 10y

      And I'm back again. Whew. So yah, later works too.

    2. Re:"later" command ... by ajs318 · · Score: 2, Funny

      You've been down to the lower (higher?) levels on Nethack, haven't you?

      --
      Je fume. Tu fumes. Nous fûmes!
  6. 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;
  7. 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.

  8. Woohoo: Eight Megabytes And Continuously Swapping by Anonymous Coward · · Score: 0, Funny


    Hmmm, hang-on, that doesn't sound as bad-ass as it did in the nineties.

  9. 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.
  10. Prime Difference between Linux and Windows Users by MickDownUnder · · Score: 4, Funny

    Windows Users DON'T get excited about text editors !

  11. 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

  12. Re:Its been decided. by mjj12 · · Score: 3, Funny

    No, he means Eight Megabytes And Constantly Swapping.

    (And I even remember the days when that was a lot).

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

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

    Noooooooooooooo......

  14. 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.
  15. Re:Its been decided. by Anonymous Coward · · Score: 2, Funny

    Hey, wait! Don't just go to sleep without telling us what those bindings are!

  16. Re:Its been decided. by Anonymous Coward · · Score: 1, Funny

    I resemble that remark.

  17. 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.

  18. 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 -
  19. B*rn you, vimperialist! by tgv · · Score: 3, Funny

    May the colon key on your keyboard stop working for you and the seven generations to come after you!

  20. Re:Emacs by Jah-Wren+Ryel · · Score: 3, Funny

    I use emacs, which might be thought of as a thermonuclear word processor. It was created by Richard Stallman; enough said....

    Enough said, yet the author goes on to write an entire paragraph?

    Perhaps Neal Stephenson does not quite grasp the meaning of "enough?" Judging by the length of his books, I guess that's probably true.

    --
    When information is power, privacy is freedom.
  21. Re:Bill Joy by Nimey · · Score: 2, Funny

    All hail Bill Joy, god of agriculture!

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  22. Re:Its been decided. by Alioth · · Score: 2, Funny

    I thought it meant "Eventually Mallocs All Core Storage"...

  23. Re:Meanwhile... by arth1 · · Score: 3, Funny
    Meanwhile, a real woman just goes and manually does whatever it is her husband's silly "program" was supposed to do.

    Fetch porn?