Slashdot Mirror


Vim Turns 20

quanticle writes "20 years ago today, Bram Moolenaar released vim to the public. From the article:'The Vim text editor was first released to the public on November 2, 1991—exactly 20 years ago today. Although it was originally designed as a vi clone for the Amiga, it was soon ported to other platforms and eventually grew to become the most popular vi-compatible text editor. It is still actively developed and widely used across several operating systems.' Share your vim stories and your tales of battles with emacs users."

194 of 271 comments (clear)

  1. And this is why emacs beats vim: by gentryx · · Score: 2, Funny

    It is more mature. It was initially released in 1976, and is still being actively developed, too. :-P

    --
    Computer simulation made easy -- LibGeoDecomp
    1. Re:And this is why emacs beats vim: by makubesu · · Score: 3, Informative

      Vi was also released in 1976.

    2. Re:And this is why emacs beats vim: by svick · · Score: 1

      I think that the only software that's not actively developed is one that was abandoned.

      If I used your definition, Windows 1.0 would be a very mature system.

    3. Re:And this is why emacs beats vim: by Nikker · · Score: 1

      Your argument makes no sense as VI and Emacs also had 1.0 release. VI 1.0 will never evolve or mature on its own since it is a static entity. For anything to mature it would have to be changed which also affects its version number. So the current version of Windows would be significantly more mature than Windows 1.0 and Windows 1.0 was much more mature than it predecessors.

      --
      A loop, by its nature, continues. If that didn't make sense, start reading this sentence again.
    4. Re:And this is why emacs beats vim: by Wolfrider · · Score: 1

      --Personally, I prefer ' jstar ' which is part of the Joe package - great little text editor with WordStar keybindings. But ' mcedit ' is also decent for quick work.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  2. emacs this emacs that by Anonymous Coward · · Score: 5, Funny

    emacs would make a great operating system, if only it had a text editor worth a shit

    1. Re:emacs this emacs that by ChrisMP1 · · Score: 1

      It does: Vimpulse/Viper

      --
      <sig>&nbsp;</sig>
    2. Re:emacs this emacs that by elysiuan · · Score: 1

      Pshaw, antiquated solutions from a simpler time. The one true path lies on the road to EviL

    3. Re:emacs this emacs that by Darth+Snowshoe · · Score: 1

      If only you could mod this parent comment up to 11 -

  3. Why? by Anonymous Coward · · Score: 2, Funny

    Why would they mention the argument with emacs? That was settled years ago.

    1. Re:Why? by DurendalMac · · Score: 2

      Nothing is EVER settled in a neckbeard war.

  4. still using it for remote admin by lorinc · · Score: 1

    I'm still using vim for remote admin of servers which don't have X installed. Am I the only one? I guess not. I bet vim is editor number 1 for this task.

    1. Re:still using it for remote admin by swimnurd · · Score: 1

      Who installs X on a server?

    2. Re:still using it for remote admin by Ogi_UnixNut · · Score: 3, Informative

      I use it all the time, for editing, for development, for general work, for writing my todo list today. Hell, I sometimes catch myself trying to use VI commands in my web browser, or other GUI programs.

      It's actually come to replace all my other stuff, from IDE's to graphical text editors. I'm really happy with it!

    3. Re:still using it for remote admin by lorinc · · Score: 1

      I have some computing servers at the lab (i.e. servers for computationally intensive simulations) on which X is sometimes handy (demoing some stuff for instance).

    4. Re:still using it for remote admin by menkhaura · · Score: 3, Interesting

      I use vim for programming, tweaking, both locally and remotely. Don't quite like its GUI, I prefer to use it on konsole, xterm or whatever terminal emulator is at hand, even though I use KDE. Nothing beats vim for programming, with its syntax highlighting, fast navigation within a file and among files, reindenting, searching and replacing, window splitting and many, many other features, all available in a couple or two of keystrokes. I consider myself a long time vim user, but I know I've barely skimmed over the surface of its ocean of features. I'm very grateful to Bram Moolenaar and the hordes of brave but anonymous vim contributors.

      Hope vim lives on at least another twenty years.

      --
      Stupidity is an equal opportunity striker.
      Fellow slashdotter Bill Dog
    5. Re:still using it for remote admin by nessus42 · · Score: 1

      Who installs X on a server?

      Actually, every server I've ever logged into has had X11 on it. (And I've logged into hundreds of different servers over the years.)

      Or they've had the X11 clients in any case. If you don't know why this would be a common thing to do, I guess you're not that familiar with X11.

      |>ouglas

    6. Re:still using it for remote admin by h4rr4r · · Score: 3, Informative

      Ditto.
      For a web browser look into vimperator.

    7. Re:still using it for remote admin by h4rr4r · · Score: 1

      Why would you have it on a webserver?
      What possible use would you have for it?

    8. Re:still using it for remote admin by royallthefourth · · Score: 1

      I use vim for programming, tweaking, both locally and remotely. I use KDE.

      Get Yakuake. Now I can use one of those extraneous function keys on my Apple keyboard to get a terminal to dropdown or go fullscreen at any time.

    9. Re:still using it for remote admin by ls+-la · · Score: 1

      Me too. Even the web browser et. al part (I've more than once ended up with random j's and k's in word[shudder] documents. I even use vim for my iPhone apps. PITA that I have to tab over to compile and run it... though I'm sure there's a way I should look for.

    10. Re:still using it for remote admin by ls+-la · · Score: 1

      Pfft... You just need to make sure it works in lynx/links.

    11. Re:still using it for remote admin by h4rr4r · · Score: 1

      You can't test it from another machine?
      Installing a web browser on a http server would be pretty fucking irresponsible.

    12. Re:still using it for remote admin by nessus42 · · Score: 1

      Why would you have it on a webserver?

      So when you log into the web server using ssh you can use xterm and emacs and xmore and xman a myriad of other X11 clients that you might wish to run. Though 99% of the time it would just be xterm and emacs.

      |>ouglas

    13. Re:still using it for remote admin by Random+Destruction · · Score: 1

      Then this sounds like the browser plug-in for you!

      --
      :x
    14. Re:still using it for remote admin by tixxit · · Score: 1

      Well, OOo headless used to require X (hasn't for a few years) and I think wv(ware) requires X still. Both of these may be used to convert documents on a web server (eg. for indexing, or to PDF for download). X even offers a special "virtual frame buffer" for when its running on a headless server. Even if you don't require a server running, lots of people will have various client-side libraries installed.

    15. Re:still using it for remote admin by nessus42 · · Score: 1

      Oh, and also, if you're running something like RedHat on your web server, you might want to be able to use their gui configuration programs remotely.

      |>ouglas

    16. Re:still using it for remote admin by dwater · · Score: 1

      ...a myriad of other X11 clients...

      like gvim, for example.

      --
      Max.
    17. Re:still using it for remote admin by Compaqt · · Score: 1

      No, definitely not. vi is the one editor that is guaranteed to be installed on any random POSIX server you have to work on.

      If the only thing you can work with is Joe's Editor or nano, you will be flailing around until you happen to hit "a" or "i" by chance. Then you'll wonder how to save.

      That said, vim is a relief compared to barebones vi, but you can certainly get by with the latter in a pinch.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    18. Re:still using it for remote admin by stjobe · · Score: 1

      I've been using vimperator for over a year now, and it's wonderful.
      I highly recommend it.

      --
      "Total destruction the only solution" - Bob Marley
    19. Re:still using it for remote admin by humphrm · · Score: 1

      iMe too :wq

      --
      -- "In order to have power, I must be taken seriously." -Mojo Jojo
    20. Re:still using it for remote admin by h4rr4r · · Score: 1

      Why not run that on your local machine?
      Then just scp the file over.

    21. Re:still using it for remote admin by dwater · · Score: 1

      Seriously? You can't think of a reason?

      --
      Max.
    22. Re:still using it for remote admin by h4rr4r · · Score: 1

      Not one good enough to install that much software on a server. vim maybe, gvim no way. More software means more security vulnerabilities.

    23. Re:still using it for remote admin by dwater · · Score: 1

      perhaps security isn't an issue - not everything is on a network, or an open network...

      and your argument can be applied to any piece of software, why is gvim any different to other X s/w?

      --
      Max.
    24. Re:still using it for remote admin by ksandom · · Score: 1

      Dude, that's fantastic! It might be enough for me to consider using firefox more often (instead of opera).

      --
      Funnyhacks - Wierd, unusual, and fun hacks
  5. :1,$s/19/20/g by Culture20 · · Score: 2

    Congratulations!

    1. Re::1,$s/19/20/g by Niac · · Score: 1

      Maybe %s/19/20/g?

      --
      http://gabrielcain.com/
    2. Re::1,$s/19/20/g by Culture20 · · Score: 1

      All 19s are now 20! I'm just giving them away!

    3. Re::1,$s/19/20/g by ls+-la · · Score: 1

      I believe you mean :s/^/:/

    4. Re::1,$s/19/20/g by Isaac+Remuant · · Score: 1

      Why so long and complex?
      %s/\<19\>/20/g

      That transforms all isolated 19s into 20s. You could also start with a specified range instead of % (whole doc).

      --
      "Science can amuse and fascinate us all, but it is engineering that changes the world. " - Asimov.
    5. Re::1,$s/19/20/g by Culture20 · · Score: 1

      More like, ^a

      2che
      ^a
      3che

    6. Re::1,$s/19/20/g by FhnuZoag · · Score: 1

      And you missed the Esc before the colon.

    7. Re::1,$s/19/20/g by Yuioup · · Score: 1

      i19[ESC][CTRL-A] Doesn't work in Windows by default ...

  6. I like gvim, except... by serviscope_minor · · Score: 5, Interesting

    I like and use gvim all the time.

    My main beef with it (solved by recompiling) is with fonts. I like the old fashioned font called "fixed". It derives from the ancient, non-scalable standard bitmapped font which came with X. It also happens to be very readable and to my eyes looks much sharper than the anti-aliased fonts. There are also excellent UTF-8 versions available too.

    For some reason, this is almost impossible to get if one has gvim compiled as most distros do it (using gtk or gnome). Not only that but the fonts seem to change on the slightest whim of an update from the package manager.

    The solution seems to be to recompile it with Athena or Motif support.

    I must say, however that if Athena is the solution, then you really have problems :(

    --
    SJW n. One who posts facts.
    1. Re:I like gvim, except... by jbolden · · Score: 1

      Awesome Vim story. Mods mod up please this one should be the lead.

      And I agree with you on Athena. As an aside it looks like the latest macports no longer has the athena option though it still has motif.

    2. Re:I like gvim, except... by royallthefourth · · Score: 1

      Awesome Vim story.

      ummm that was a gvim story

    3. Re:I like gvim, except... by Gusfm · · Score: 1

      My main beef with it (solved by recompiling) is with fonts. I like the old fashioned font called "fixed". It derives from the ancient, non-scalable standard bitmapped font which came with X. It also happens to be very readable and to my eyes looks much sharper than the anti-aliased fonts.

      That's the main reason that I use vim from xterm.

    4. Re:I like gvim, except... by jbolden · · Score: 1

      gvim is the xwindows version of vim.

    5. Re:I like gvim, except... by subreality · · Score: 1

      And which 'vi' do you think the default should be? elvis? nvi? The original Bill Joy version wasn't ported until very recently due to licensing problems, and it's practically abandoned. None of the free distros ship it by default.

      If they're going to symlink 'vi' to something else, why not vim? Personally I don't care if I get "full-on syntax highlighting and colouring" even when I don't need it. It's not like vim is heavy or slow on any system with enough RAM to do a default install of any current distro.

      And if you really care, why not just install nvi and update-alternatives? That's why they're there.

    6. Re:I like gvim, except... by mattack2 · · Score: 1

      So, by that logic, this whole submission is a 'vi' story, not a vim story.

    7. Re:I like gvim, except... by DrJimbo · · Score: 1

      alias vi="vim -v -c 'syntax off'"

      --
      We don't see the world as it is, we see it as we are.
      -- Anais Nin
    8. Re:I like gvim, except... by jbolden · · Score: 1

      Well no, vim turned 20 not vi. OTOH saying vim is a modern flavor of vi is accurate.

    9. Re:I like gvim, except... by Wiz-Hum-Mal-Cha · · Score: 1

      Screenshots, you fool!

    10. Re:I like gvim, except... by Trogre · · Score: 1

      I don't need full-on syntax highlighting either, but I do want the jolly cursor keys to still work when in syntax mode. Vi, at least as packaged with Debian, doesn't allow that.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    11. Re:I like gvim, except... by AmiMoJo · · Score: 1

      I like and use gvim all the time.

      Dude, you're admitting that in public? ;-)

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    12. Re:I like gvim, except... by TheRaven64 · · Score: 1

      No, vim is an editor that is designed to work like vi. gvim is vim, it just bundles its own customised terminal emulator. If you grab the vim source tarball, you'll find the gvim sources in there.

      --
      I am TheRaven on Soylent News
    13. Re:I like gvim, except... by TheRaven64 · · Score: 1

      Complain to whoever packages vi for Debian. FreeBSD provides nvi as the system vi and vim as a package. vi behaves like vi, vim behaves like vim. Cursor keys work in both.

      --
      I am TheRaven on Soylent News
    14. Re:I like gvim, except... by Anonymous Coward · · Score: 1

      You don't have to recompile to get bitmap fonts with the GTK+ gvim. It is very likely due to bitmap fonts being disabled by default in Xft. So, assuming you run a typical desktop oriented distro,

      0. cd /etc/fonts/conf.d
      1. ln -s ../conf.avail/70-yes-bitmaps.conf .

      and restart gvim. you should now see your bitmap fonts in the font selector. Note: it is 70 in my distro (OpenSuSE) but it could be different on yours so look for "yes-bitmaps".

      happy vimming! (from a long time emacs user).

    15. Re:I like gvim, except... by DrVxD · · Score: 1

      ummm that was a gvim story

      Wasn't that supposed to be what made it awesome?

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
  7. I tried to be an ex-emacs user... by drjones78 · · Score: 2

    ... but it didn't work.

    Emacs controls all its ex's.

  8. Happily married by suso · · Score: 3, Funny

    I use vim, my wife uses emacs. We sleep in the same bed, unless she is swapping.

    1. Re:Happily married by blair1q · · Score: 1

      If you're using the same sized RAM she could easily be swapping and you, who wouldn't be, would be oblivious to it.

    2. Re:Happily married by oldhack · · Score: 1

      RAM enlargement kit is easily available and perfectly safe.

      --
      Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
    3. Re:Happily married by Anonymous Coward · · Score: 1

      Sounds like she has too much mammary.

    4. Re:Happily married by shish · · Score: 2

      I use vim, my wife uses emacs.

      This does not gel well with my previously held dogma that whenever a vim user and an emacs user are in the same room, the emacs user will have the significantly larger beard D:

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  9. One day by M0j0_j0j0 · · Score: 2

    In Linux camp i lost my ":" key

  10. Daily user thanks Bram by SpaghettiPattern · · Score: 2

    Daily user thanks Bram. Vim is my hammer, my screwdriver and my wrench. I use it on almost every Unix-Like system I work on.

    Although I'd be able to kick the gong around using a simple Vi, I find several Vim features making me much more productive. History and colours do it for me.

    --

    I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
    1. Re:Daily user thanks Bram by serviscope_minor · · Score: 2

      History and colours do it for me

      And:

      visual (including block) highlight, working arrow keys, delete going off the end of the line and back onto the one before.

      --
      SJW n. One who posts facts.
    2. Re:Daily user thanks Bram by blair1q · · Score: 1

      Yup. Column editing is the killer app that vi never had.

      Cscope integration is a close second through fifth.

    3. Re:Daily user thanks Bram by serviscope_minor · · Score: 3, Interesting

      Yup. Column editing is the killer app that vi never had.

      Don't forget undo trees. It's a feature I use maybe once every few months, but those times I'm REALLY glad I had it.

      If you don't already know, it fixes the problem where you undo some changes, make a new change, then can't redo the changes you undid. In vim, you can go back in time to retrieve the previous state. It's like having micro version control for every edit.

      --
      SJW n. One who posts facts.
    4. Re:Daily user thanks Bram by ls+-la · · Score: 1

      I use it on almost every Unix-Like system I work on.

      Almost? What kind of a vim user are you!?

    5. Re:Daily user thanks Bram by EricWright · · Score: 1

      I use it on every system I work on... It's my standard editor on Windows XP (gvim anyway), Cygwin under WXP, Solaris, and Mac OSX. I don't use linux often any more, but it was my default editor then as well.

      I've had co-workers laugh at me when I'm at the keyboard using an IDE and start typing jjjjjjjjjjjj.

    6. Re:Daily user thanks Bram by mattack2 · · Score: 1

      I find several Vim features making me much more productive.

      I admit I only know a couple of basic vi commands, and a couple more vim commands on top of it (and I use vim as my alpine editor, and often my source code editor -- unless I'm doing a MAJOR multi-file find/replace type thing, then I do it in a GUI editor)..

      vim additions I use:
      gq to reformat text (e.g. fix quoted text in email replies)
      visual selection (someone else mentioned this -- v then you can yank [copy] or x [delete] the visually selected text, probably along with a zillion other things)
      q - recording -- to use @commands to repeat something, but I usually have to relearn it each time.

    7. Re:Daily user thanks Bram by tixxit · · Score: 1

      Nice plugin for visualizing said undo tree: http://sjl.bitbucket.org/gundo.vim/

    8. Re:Daily user thanks Bram by benthurston27 · · Score: 1

      I'm always wishing my web browser had something similar for the back button.

    9. Re:Daily user thanks Bram by SpaghettiPattern · · Score: 1

      I use it on almost every Unix-Like system I work on.

      Almost? What kind of a vim user are you!?

      A Vim user that has worked on many available Unix-Like system types. When I'm a short staying guest and Vim isn't installed, I usually don't make a fuss.

      --

      I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
    10. Re:Daily user thanks Bram by TheRaven64 · · Score: 1

      The UI on the undo trees is so horrible that I never use it. Every time I've tried, looking up how to make it do what I want has been more effort than just redoing the work. Persistent undo, however, is a killer feature. It's something I've wanted since I first started using vim, and I was very glad when it was introduced (shame it's not on by default).

      --
      I am TheRaven on Soylent News
  11. To avoid a flame war by Idou · · Score: 1

    I would just like to state that all editors are created equal.

    :wq

    --
    Sdelat' Ameriku velikoy Snova!
    1. Re:To avoid a flame war by Anonymous Coward · · Score: 1

      That's why I only run notepad. In Vista. In a VM.

    2. Re:To avoid a flame war by ArsonSmith · · Score: 1

      Is that why the stories all seem to be equally badly edited?

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
  12. Most Popular by Sponge+Bath · · Score: 1

    ...the most popular vi-compatible text editor.

    Justin Timberlake is the most popular member of 'N Sync. Ha, I'm just C-y your chain.

    1. Re:Most Popular by Sponge+Bath · · Score: 1

      Yanking. C-y "yank" (paste) the copied/killed region/line

    2. Re:Most Popular by sunderland56 · · Score: 1

      ...the most popular vi-compatible text editor.

      Isn't vi the most popular vi-compatible editor??

      I'm a regular daily vi user. This vim thing must be something new.

    3. Re:Most Popular by The+Askylist · · Score: 1

      Mod up a million times over. Never could get the hang of all this mouse and GUI shit. First used vi in 88, and it's still my editor of choice unless I want to make pretty stuff for dull people...

    4. Re:Most Popular by Morth · · Score: 1

      Maybe you can do without mouse, but once you start using the visual mode, which vi lacks, you'll never go back.

    5. Re:Most Popular by Compaqt · · Score: 1

      >Isn't vi the most popular vi-compatible editor??
      I'm a regular daily vi user. This vim thing must be something new.

      Your second line led me to believe you were joking.

      But, no, I wouldn't say vi is the most popular vi-compatible editor, anymore than the original IBM PC is the most popular IBM-compatible computer.

      Linux is the most popular brand of POSIX, and mostly, vim is used on it.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    6. Re:Most Popular by TheRaven64 · · Score: 1

      I doubt it. I've not come across a system with vi installed as vi for years. BSDs ship with nvi, OS X and most Linux systems ship with vim, although a couple of Linux distributions use elvis. It was a derivative work of the original AT&T ed, which meant that it could only be used by people who had an AT&T UNIX license. It was only a few years ago that the ed code was open sourced and people could start shipping vi, but by this time vim, nvi, and elvis were pretty entrenched, and there wasn't much point in saving a hundred KB on disk.

      --
      I am TheRaven on Soylent News
    7. Re:Most Popular by TheRaven64 · · Score: 1

      Linux is the most popular brand of POSIX, and mostly, vim is used on it.

      I'd have thought OS X was a bit more popular than Linux (and a lot more POSIX compliant - it's actually certified as conforming to the Single UNIX Specification, while I regularly come across places where Linux makes a half-arsed stab at implementing the standard). It ships with vim, although the system vim never gets updated over the lifetime of an OS X release so it tends to be a bit out of date quickly.

      --
      I am TheRaven on Soylent News
    8. Re:Most Popular by Compaqt · · Score: 1

      Oops, I was thinking of Solaris et al. vs. Linux, and hadn't considered OSX.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
  13. vi 'til I die! by theswade · · Score: 3, Funny

    i[ENTER] Happy Birthday, vim!!! [ESC]:wq![ENTER]

    1. Re:vi 'til I die! by Pf0tzenpfritz · · Score: 1

      wq!? WTF? You mean "[ESC]:x" - or why would you write and force quit for a single document that you just created?

      --
      Oh, the beautiful gloss of greality!
    2. Re:vi 'til I die! by theswade · · Score: 1

      Ya know, a joke is a bit like a frog. You can dissect it but it usually doesn't survive.

  14. Emacs vs VIM: Who cares? by CokeJunky · · Score: 2

    Honestly, both are excellent text editors. I, like most programmers, use the one that was favored at my university. Not because it was necessarily better, but because lots of other people used it and helped me get over the learning curve. I still use VIM today on every operating system I use or am forced to use.

    At the end of the day, the text editor I use has to be something I use so well that I am not thinking about the text editor - I am thinking about the text I want to edit.

    Can't we all just get along?

    --
    More Caffeine. NOW
  15. Thanks Bram Mooler by dark-templer · · Score: 1

    Such a nice editor, I use it everyday and everywhere for everything c,java,python,tex,bash,.... Simple, fast, lightweight, just amazing.
    Thanks Bram for this editor and dedication of vim for charity
    :q

    1. Re:Thanks Bram Mooler by drosboro · · Score: 1

      I think his name's Moolenar, but I second your thanks to Bram - especially his commitment to the Kibaale Children's Centre. I work at the school in Vancouver, Canada that played an instrumental part in starting KCC, and many of my colleagues have worked there over the years. KCC is still doing fantastic work for the poorest of the poor in Uganda.

  16. So? by blair1q · · Score: 1

    I like Vim.

    But why isn't it the default editor in this edit box?

    1. Re:So? by SEE · · Score: 1

      Because ed is the standard text editor.

    2. Re:So? by Isaac+Remuant · · Score: 1

      Someone mod parent up. I discovered this earlier today and it's made me very happy.

      You just have to make sure that wherever you want to use it is a textarea (eg: disable rich formatting in a mail client)

      --
      "Science can amuse and fascinate us all, but it is engineering that changes the world. " - Asimov.
    3. Re:So? by The+Askylist · · Score: 1

      What's wrong with cat, flash boy?

    4. Re:So? by inasity_rules · · Score: 1

      its not as good as dd. Thats whats wrong with it!

      --
      I have determined that my sig is indeterminate.
    5. Re:So? by SEE · · Score: 1

      Nothing wrong with it. It's just not the standard text editor. Check the man page in, for example, OpenSolaris:

      ed(1) User Commands ed(1)

      NAME
                    ed, red - text editor

      SYNOPSIS
      /usr/bin/ed [-s | -] [-p string] [-x] [-C] [file]

      /usr/xpg4/bin/ed [-s | -] [-p string] [-x] [-C] [file]

      /usr/xpg6/bin/ed [-s | -] [-p string] [-x] [-C] [file]

      /usr/bin/red [-s | -] [-p string] [-x] [-C] [file]

      DESCRIPTION
                    The ed utility is the standard text editor.

  17. Irony? by tool462 · · Score: 1

    I like how the article is titled "Two decades of productivity" and the picture is of vim opened from a shell launched within vim. No shots of nicely formatted and highlighted code. Just a shot of the kind of crap you try to do when you're bored.

    [Unintentional] Hilarity

  18. Re:I hate vim and emacs. by blair1q · · Score: 1

    :qa!

  19. 20 years of wondering by nimbius · · Score: 2

    if ugandan kids use VIM too?

    --
    Good people go to bed earlier.
  20. Re:NANO ftw! by IceNinjaNine · · Score: 4, Informative

    More like NANO, wtf?

  21. I am pleased to say... by Darren+Hiebert · · Score: 4, Interesting
    I am pleased to say that I was the one who first added Vim to the Sunsite Linux archive back in 1993. I had transferred to a company which did its development on Windows (yuk) and went looking for a vi-clone which I could use on it. I came across Vim and found it to be very solid, but with some bugs to fix. I regularly emailed Bram on these issues and he was very responsive to my reports and suggestions on how to improve its tag support (vis-a-vis ctags). Back then, the newly-available Linux archive only had the vi-clone Elvis, which wasn't nearly as good. So, thinking that I had discovered a gem, I uploaded Vim to the Sunsite Linux archive and eventually it got picked up for use as the resident vi editor by each of the Linux distributors.

    In 1996, I developed Exuberant Ctags as a better ctags. Bram started including it in his Vim distributions and our programs were paired together in much the same was that Elvis was packaged with its own ctags clone, and Emacs was packaged with its own ctags. Eventually, Exuberant Ctags became large enough that it caused the Vim distribution to become too large to fit on a 5.25-inch floppy and Bram said it was time to let them grow separately. Exuberant Ctags, as well, got picked up by the Linux distributors as the resident ctags program.

    I have always enjoyed working with Bram over the years and wish I could have met him. He is a very pleasant and easy person to work with, very accommodating, and very bright. I think very highly of him and I am glad to see his editor become one of the bulwarks of Linux distributions, as well as used on many other platforms.

    Darren Hiebert

    1. Re:I am pleased to say... by ShakaUVM · · Score: 1

      I worked on a patch for VIM ~2001 for combining searches with code folding. You could search for a term, tap zf or whatever the shortcut was, and it would fold away all lines that didn't match that code, with an adjustable number of context lines around it.

      I found it very very useful for code refactoring, but Bran didn't want to include it in the main release. So I just had it up for years as an optional patch for people to compile in.

    2. Re:I am pleased to say... by PylonHead · · Score: 1

      emailed Bram on these issues and he was very responsive to my reports

      When vim 6 was in testing I ran into a small problem with one of the release candidates. Something minor that probably only affected me and a small set of other users. I emailed bugs@vim.org, and in less than 24 hours I got a personal response from Bram who told me he had replicated it and thanked me for my example. It was fixed in the next candidate.

      I would be pleased with that kind of responsiveness from a commercial software vender.

      --
      # (/.);;
      - : float -> float -> float =
    3. Re:I am pleased to say... by mario_grgic · · Score: 1

      I just want to thank you for exuberant ctags. I use it daily in conjunction with VIM and can't imagine exploring and navigating large code base without these two :D.

      --
      As the island of our knowledge grows, so does the shore of our ignorance.
    4. Re:I am pleased to say... by Alien+Being · · Score: 1

      +1

    5. Re:I am pleased to say... by illtud · · Score: 1

      ?I am pleased to say that I was the one who first added Vim to the Sunsite Linux archive back in 1993.

      Since nobody else seems to have done so, can I send you very warm thanks? My skin still crawls when I'm on a system and I get:

      vim: command not found ...and have to resort to 'vi'. Can I also send you karma for mentioning Sunsite, which nobody much on ./ seems to have has any recollection of nowardays, which was particularly galling the in the Sun (ghod rest their bones) bashing days of the 200?s.

  22. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  23. Vim and its Clone by meadwizard · · Score: 2

    Vim is the only editor I'll use. Well when I'm working in MS products such as Visual Studio I have to use ViEmu. Which works great since I have VIM inside VS. Love the fact that people are now emulating Vim. Love the that I can edit a 6M log file with no significant impact on the system and still have full search capability. Thanks Bram, I owe you days of saved time over the years.

    1. Re:Vim and its Clone by DrVxD · · Score: 1

      Vim is the only editor I'll use

      Wimp - what's wrong with $ cat - >file

      --
      Not everything that can be measured matters; Not everything that matters can be measured.
    2. Re:Vim and its Clone by meadwizard · · Score: 1

      Vim is the only editor I'll use

      Wimp - what's wrong with $ cat - >file

      That was fine in my youth but I got tired of making typos and having to start from the beginning, although it did help my typing skills.

  24. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  25. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  26. Re:Oblig.... by DrogMan · · Score: 1

    ZZ

  27. Which came first... by ABadDog · · Score: 1

    I occasionally have to use vim to edit the Makefile for emacs.

  28. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  29. Re:Oblig.... by Jerome+H · · Score: 1

    :x

    --
    int main() { while(1) fork(); }
  30. Re:I hate vim and emacs. by aix+tom · · Score: 1

    No, but I get trapped in pico and nano every time I accidentally end up in them.

  31. vim gripe by jasnw · · Score: 1

    The first *nix editor I used was vi on Solaris boxes many moons past. Now that I'm on Linux boxes I'm saddled with vim. Pretty much I'm OK with vim, but PLEASE GOD why is there this non-disable-able mode called "recording" or some such??? I never ever use it, nor do I want to use it, but I always find myself IN that damnable mode by accident when my fumble-fingered keyboarding hits the wrong key (which happens several times each and every day). I then have to fuss and fume and get back to normal mode. I'd be OK with this if I could just disable this behavior, or change the keystrokes required to enter that mode to something like PleaseStartRecordingModeForMeNow, but for reasons best known to Conan the Destroyer you either cannot disable this mode or the method by which you can is not known to mere mortals. Yes, I know that if I just gave "recording mode" a chance it would change my life and help me hook up with beautiful [gender choice here], but I don't want to learn a new trick. I want to have this mode go away. In the words of my 3-year-old grandson "don't want to can't make me."

    1. Re:vim gripe by __1200333 · · Score: 1

      That's macro mode. It's super useful. I used to be like you, but now I have seen the light.

      Quick version: press 'q' again to get out of macro mode.

      Long version: press 'q' followed by a letter to start macro mode. Then press 'q' again to stop. You can press '@' followed by that same letter to replay your commands.

    2. Re:vim gripe by 3p1ph4ny · · Score: 1

      :noremap q <nop>

    3. Re:vim gripe by gewalker · · Score: 1

      Google gvim disable recording mode. Number 1 result: EASY BUTTON

    4. Re:vim gripe by simoncpu+was+here · · Score: 1

      I had the same problem as jasnw. Thanks for the tip!

    5. Re:vim gripe by Compaqt · · Score: 1

      >Now that I'm on Linux boxes I'm saddled with vim.

      That's funny, the first thing I say on a box without vim, and just barebones vi is WHERE IS TEH VIM? It's hard to live without the creature comforts provided by vim. To each his own.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
  32. Re:20 years of wondering by drosboro · · Score: 1

    I have it on second-hand authority that, while the kids at Kibaale Children Centre don't regularly use vim, they at least don't use emacs either... :)

  33. Re:Oblig.... by reasterling · · Score: 1

    :x

    --
    "For I desired mercy, and not sacrifice" -- God
  34. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  35. I've used vim everyday for the last 15 years by jmcbain · · Score: 2

    Next to gcc, vim is the greatest open-source project ever created. I've used vim every day of my life since discovering it back in 1996 as a replacement for basic 'vi' on a Sun Sparcstation. I'm currently using vim to write software on my MacBook Pro in a terminal window.

    I started off learning vi on a DEC workstation back in the early 1990s while trying to keep my head above water as a freshman CS major. Since then, I've used vim inside of Visual Studio (with a plugin), inside of Eclipse (with a plugin), as the editor for the mutt mail client, and in a hundred other contexts.

    Vim is excellent software.

  36. From the archives, I bring you: Ed, man! !man ed by LqdSlpStrm · · Score: 1

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

  37. Re:I hate vim and emacs. by h4rr4r · · Score: 1

    No, we are not idiots like you.
    Pico and Nano are for children and idiots.

  38. I use both Emacs and Vim. by kermyt · · Score: 2

    I use Emacs as an IRC client, an RPN calculator, a mini text browser, for browsing usenet, and I even play a couple of games in it... but when I edit text I use vim.

    1. Re:I use both Emacs and Vim. by lannocc · · Score: 1

      lol... your post sums up the Vi vs. Emacs flamewar perfectly!

    2. Re:I use both Emacs and Vim. by xenobyte · · Score: 1

      I also use both. I tend to use vi or vim on servers that are under heavy load and emacs for general editing.

      Now, the real question is... csh, ksh, zsh or bash?

      --
      "For every complex problem, there is a solution that is simple, neat, and wrong." -- H.L. Mencken (1880-1956) --
  39. Love/Hate (g)Vim by UnknownSoldier · · Score: 1

    I love gVim (use it everyday at work) but god, some of it _still_ sucks.

    - Can't map Ctrl-1, ... Ctrl-0 to custom mappings
    - Can't distinguish between Ctrl-Char, Ctrl-Shift-Char, and Ctrl-Alt-Shift-Char
    - Can't distinguish between TAB and CTRL-I
    - Can't (re)map CAPS (I use CAPS in my games, remapping it to ESC is NOT an option)
    - no way to "unbind" ALL keys

    WHY is it so hard to find an editor that lets me use ALL the keys??

    Vim would be perfect if it fixed the custom keybindings.

    1. Re:Love/Hate (g)Vim by UnknownSoldier · · Score: 1

      > I haven't looked into the situation at all, so take this with a grain of salt, but I think the issue is probably trying to keep the key mappings consistent across all platforms. You could definitely make those key mappings work under gvim, but they won't work from the terminal for instance.
      I've already been looking at the source off & on for the past month. I just want the GUI versions to recognize ALL KEYS across Windows, OSX, and Linux. (I couldn't give a shit about "1970's" terminals, but sadly the way Vim is coded forces this crap to be dealt with.)

      > For all I know there may already be a patch somewhere (remapping CAPS to do what ESC does would seem to be a popular thing to want to do).
      Already tried that. The problem is that I use _BOTH_ ESC and CAPS in gaming (Windows + OSX). Changing CAPS to be ESC is just that, a hack.

      > If you made a patch for gvim that did what you want, I think others would also use it.
      Most definitely there would be interest -- since this thread comes up every few years about why (g)Vim [still] sucks.

      One of these days I'll get annoyed enough and just fix the dam thing.

  40. Re:NANO ftw! by c · · Score: 1

    Amen. My SOP when installing a new system is "apt get purge nano".

    --
    Log in or piss off.
  41. Re:Emacs vs VIM: Who cares? by h4rr4r · · Score: 1

    What would you replace it with?
    As far as I can tell no one has yet invented a suitable replacement.

  42. Go cat, go... by turgid · · Score: 1

    Elvis knock vim into a cocked hat!

    No garish colour schemes or any of that nonsense.

    Which would you rather use: an editor named after a Rock Star or one named after a brand of toilet scourer? I rest my case.

    1. Re:Go cat, go... by serviscope_minor · · Score: 1

      No garish colour schemes or any of that nonsense.

      huh? Wasn't elvis the first vi clone to do syntax colouring?

      --
      SJW n. One who posts facts.
    2. Re:Go cat, go... by turgid · · Score: 1

      huh? Wasn't elvis the first vi clone to do syntax colouring?

      Out of the box, on Slackware, the C keywords, pre-processor directives and macros are bold black and everything else is black. The background is white. This is the correct behaviour for a syntax-highlighting editor.

    3. Re:Go cat, go... by serviscope_minor · · Score: 1

      This is the correct behaviour for a syntax-highlighting editor.

      Why? It seems that to the non-colour blind among us, on colour terminals colouring offers a greater range of visual hints than fonts (and unerlining) does.

      --
      SJW n. One who posts facts.
    4. Re:Go cat, go... by cp.tar · · Score: 1

      Since many text files, not least XML ones, are pretty much toilet-worthy, I would prefer a toilet scourer than a rock star that died on a toilet.

      --
      Ignore this signature. By order.
    5. Re:Go cat, go... by cp.tar · · Score: 1

      I am (partially) colorblind. And I prefer colored output.
      When you open a quote and vim colors everything after it bright pink or whatever, it is really really easy to notice you haven’t closed it.

      --
      Ignore this signature. By order.
  43. Re:Emacs vs VIM: Who cares? by bunratty · · Score: 1

    I learned vi years ago when I realized that on some Unix systems I may not have any other visual editor installed. It's still true today... when I install Fedora I have to use vi to edit files until I get emacs installed. I would recommend learning vi to anyone who uses Unix or Linux extensively. I would recommend emacs or some other editor to anyone else.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  44. Re:I hate vim and emacs. by 3p1ph4ny · · Score: 1

    In bash, C-x C-e is shorthand for "invoke $EDITOR on the current command line and run the result when $EDITOR exits". If you export EDITOR=vim you can get vim instead of emacs, and all is happy.

  45. No love for Bill Joy? by hogger · · Score: 1

    Where's the love for Bill Joy? Vim is great and all, as are all the ports of vi, the plugins that give vi functionality to eclipse, firefox, etc... But really, isn't Bill the real hero here?

    I use in in windows via cygwin, I use it on every linux server, desktop, and laptop I work on. I use it on my phone. I use it on my tablet. Vi's focus on dual modes, and no mouse, is just wonderful.

    Thanks for vi Bill!

  46. I like Vim because... by Stephen+Chadfield · · Score: 1

    I like Vim because it integrates well with Linux, Solaris and Windows environments and has great syntax highlighting (by default!) for languages associated with the Cadence IC design tools we use at work (i.e. Skill and DIVA).

    On *nix systems I like to compile it myself using Motif. Gives a common appearance across all the systems I use that resembles the Windows GUI.

  47. Re:I hate vim and emacs. by ls+-la · · Score: 1
    [ctrl-x][ctrl-e]
    bash: emacs: command not found
    ...

    Not a problem for me.

  48. Re:Emacs vs VIM: Who cares? by ls+-la · · Score: 1

    Honestly, both are excellent text editors. I, like most programmers, use the one that was favored at my university. Not because it was necessarily better, but because lots of other people used it and helped me get over the learning curve. I still use VIM today on every operating system I use or am forced to use.

    Interesting. At my school, emacs was the editor of choice, and I still ended up using vim.

  49. Re:how 'bout papa vi? by Slashdot+Assistant · · Score: 1

    I thought that most Linux distros had stopped including vi in the base install. OpenBSD is the only Unix-like I've used in recent memory that had vi, with vim coming via the ports tree.

  50. Vim is great! by Gusfm · · Score: 1

    I love using it. In my company, vim is mandatory for programmers. It certainly boosts a lot my productivity, and with the help of ctags, minibufexplorer, grep, vcscommand plugins, it's even better. Beats any other fancy GUI text editor.

  51. Install Pentadactyl by mario_grgic · · Score: 2

    give focus to a text box/area and hit CTRL+t to go into command mode. A lot of vi commands are supported, but CTRL+i opens the contents of the text area in VIM just in case :D.

    Pentadactyl is much more than this. It allows you to fully navigate and control your browser using keyboard only in very natural vim-esque way. It has extensive help. Just type :h topic. It has completion for most things including ex commands etc.

    It's one of the reason why I love and use Firefox.

    --
    As the island of our knowledge grows, so does the shore of our ignorance.
  52. cats and dogs by lasinge · · Score: 1

    vi(m) is like a dog, emacs is a cat. vim will always be there for you, is uncomplicated and reliable. emacs is mysterious, sometimes there sometimes not, and takes more patience to own.

    I'm a dog person.

    --
    you are in a twisty maze of different passages.
    1. Re:cats and dogs by Jerom · · Score: 1

      I'm stealing your analogy, good sir :)

  53. And more importantly... by ThePhilips · · Score: 1

    C-x C-c

    --
    All hope abandon ye who enter here.
  54. A Google banner? by chrism238 · · Score: 1

    I expect nothing less than a Google front page banner for this event!

  55. Re:VI or VIM by icebraining · · Score: 2

    There's no editor more powerful than Vim or Emacs. People usually prefer other editors despite being less powerful, since that power comes with a big learning curve.

    As for speech, I'm afraid you haven't thought of the implications of a room of programmers all talking to their machines.

  56. Re:NANO ftw! by skids · · Score: 1

    Haha. By cooncidence, mine is "dpkg --purge vim vi elvis." Because I hate it when it gets selected as sensible-editor and pops up in reportbug before I've had time to configure things.

    Different strokes.

  57. Re:I hate vim and emacs. by Alien+Being · · Score: 1

    If use vim as your editor then you might as well use bash's vi mode.

    set -o vi

  58. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  59. Re:What's the magic in these terminal text editors by cp.tar · · Score: 1

    Both vim and emacs are editors for people who do a lot of editing and writing code. Lots and lots and lots of it. Metric fucktons of it, in fact.
    They are sophisticated tools that require a fairly great deal of practice to use properly, but once you master them, you can do wonders with them.

    Graphical environments are easier on the memory; things are shown to you so you don’t have to memorize them. If you don’t need such things often, it is more efficient to search for them when you need them; if you do need them often, it is much more efficient and convenient to have them at your fingertips.

    If I were a driver, I’d give you a car analogy now.

    --
    Ignore this signature. By order.
  60. Re:I must be officially old by mattack2 · · Score: 1

    Sorry grandpa, we'll get off your lawn.

    Why don't you tell us about your new lawn mower, or weed whacker? I bet you have some stories to tell about it.

  61. It's a magnificent editor, but... by Ant+P. · · Score: 1

    Vimscript. Ewww. I know it takes backward compatibility seriously, but what I'd give for PCRE and syntax highlighting that didn't suck my netbook's CPU dry...

    1. Re:It's a magnificent editor, but... by lucian1900 · · Score: 1

      I've started using Emacs with Evil. It's been really nice so far, any lisp, even elisp (dynamic scope, bleh) beats vimscript.

  62. Vim - even better with bcvi by grantm · · Score: 1

    I use gvim all day every day with the added convenience of bcvi for editing files on remote servers. Thanks Bram!

  63. Finally news for nerds by Corbets · · Score: 1

    Thanks Slashdot. It's nice to finally see a News for Nerds story again!

    People think I'm nuts for using GVIM on my MacBook, but sometimes, it's just so much faster than the alternatives... I hope VIM is still around in another 20!

  64. Stagnation != life by Nirva · · Score: 1

    Bah.. stagnation is not worthy of being called life.

    I love vim because it is the best. I can't use anything else because nothing else works like it.

    I hate vim because it has stopped advancing. It has not had a good update for 5 years.

    May 7, 2006 7.0 Spell checking, code completion, tab pages (multiple viewports/window layouts), current line and column highlighting, undo branches, and more

    May 12, 2007 7.1 Bug fixes, new syntax and runtime files, etc.

    August 9, 2008 7.2 Floating point support in scripts, refactored screen drawing code, bug fixes, new syntax files, etc.

    August 15, 2010 7.3 Lua support, Python3 support, Blowfish encryption, persistent undo/redo

    We are all still waiting for various types of extensibility, even though they been in the top 5 sponsored requests for over almost 15 years. I normally wouldn't be complaining about free software, but vim is donationware.

  65. Re:Emacs vs VIM: Who cares? by FhnuZoag · · Score: 1

    Shh, geeks love to get up in arms about things.

  66. Re:Emacs vs VIM: Who cares? by einhverfr · · Score: 1

    The thing is,"new users" usually don't NEED vim or emacs. They can use gedit, an the like.

    Now, "new software programmers," and "anyone else who needs to work with large numbers of very big text files....."

    Yeah in those latter categories, the vi derivatives and EMACS are the only real choices, and I'd recommend VIM in a heartbeat over the lot. Yes it has a learning curve but the payoff is pretty quick when you are working in areas where you need the power.

    --

    LedgerSMB: Open source Accounting/ERP
  67. Re:VI or VIM by einhverfr · · Score: 1

    I spend a heck of a lot of time in gterm using VIM. I do this because when you are talking to your computer (i.e. telling it what to do) GUI's quite frankly suck. GUI's are great for the computer giving you feedback, but the complexity of commands you can give the computer in a GUI go way down.

    For example, suppose I want to tell my text editor:

    Go to line 364. Then delete the next 74 lines of text. Then remove the next 10 # signs you see. Now, repeat that last step on line 42 on the next file and line 576 of the next file. Can you do this in a GUI? Yes. Is it easier (and less error prone) to specify this with a keyboard? Absolutely. :364[enter]
    d73[down]
    and so forth

    In general if you need the power (because you work with large numbers of large text files, whether you are an author, a programmer, or the like), VIM rules. If you don't....

    I get the impression that people complaining about VIM being CLI-based are the same people who complain about structured document generation for LaTeX, whether via LyX or the like.........

    --

    LedgerSMB: Open source Accounting/ERP
  68. Pathogen is ruining Vim for me by Wiz-Hum-Mal-Cha · · Score: 1

    Vim is suppoed to be an easily extensible piece of software. It has a well-defined system for installing these extensions and a central repository in which extensions can be found.

    It's really becoming quite annoying that whenever I find a new plugin that I would like to try out, I am berated by that plugin's project page for not having pathogen installed. My .vim directory is the result of years of my fine-tuning one of my most valuable tools as a professional. I don't want to throw out all that and hand over control to some third party script.

    I suppose it began with those "vimballs" really. I never liked those either. I just don't get what was so complex about copying a plugin into ~/.vim. Are there *that many* Vim users who are sufficiently non-technical that they were finding this step prohibitively difficult? In my opinion the recent spate of Ruby-related hipsterishness that's enshrouded Vim brought with it a wave of new users who don't actually "get it" at all.

    Case in point: At a recent user-group meeting for an unrelated piece of software, I witnessed an attendee who was a much more experienced programmer than I, and a very vocal proponent of Vim, pull out a laptop to show off a project. Some typing was required, so out came Vim, and what did I see but this self-proclaimed Vim-aficionado navigating around his file using none other than the fucking arrow keys. While presumably quietly congratulating himself in his own head for showing the rest of us what a hardcore old-skool geek really looks like.

    1. Re:Pathogen is ruining Vim for me by stasike · · Score: 1

      Oh $DEITY, he uses arrow keys in Vim! The horror!

      So what?
      I am Vim-aficionado as well, and I use arrows too. What is wrong with that? I do not use Vim to demonstrate to myself or others how cool I am. I use it because I like the power of combined :ex commands, because I need powerful Regular Expressions. I use it because it works the same way on all systems - Windows, Linux and QNX at work, FreeBSD and Linux at home.

      I even remap my arrow keys to gh, gj, gk, gl for some jobs, so when I have some lines with text-wrap enabled I can go to the visual next line (like most of other editors do).
      Oh ... and I also use Insert, Home, PageUp, Delete, End and PageDown keys too. Do I lose even more points for that? Thought so ;-)

      Aaaand ... You might wish to stop reading now, ...
      sometimes I use key combinations such as Ctrl-Insert, Shift-Insert, and even Alt-F4 on non-windows platforms. I copy lines from mswin.vim to my .vimrc even on non-Windows platforms.

  69. Linux Expo '99 with Bram Moolenaar by LostMyBeaver · · Score: 1

    Bram and I were guest presenters of Tucows at Linux Expo '99. We were sitting in the lobby of the Radisson on 57th and 7th waiting for our shuttle to the Javits center. We were sitting on the bench nearest the door and in comes a guy who walks around us nonchalantly and then decides to leave... but on his way out, attempts to take a coat from the railing behind us that was left there by a patron of the in-hotel cafe during breakfast.

    Bram, mid-conversation reaches up and joltingly grabs the guy, takes the coat out of his hand, points his finger at the man's chest and says "No" as if he were a dog trainer talking to a misbehaved rottweiler. Then he handed the coat to the owner with a disappointed look that said "you should know better" and hands the thief to the doorman, then he sat down and continued talked right where he left off as if nothing had happened.

    This entire scenario took less than 10 seconds to occur and will be with me for the rest of my life. :)

    Bram is a great guy... very nice, very smart. I wish him well.

  70. vim file manager by Compaqt · · Score: 1

    A lot of people probably already know this, but fr those who don't:

    vim also has a file manager built in! You don't have to specify full text paths in a little ":" line. You can choose files "visually".

    Instead of doing vim blah.txt, give a directory as the argument:

    vim /home/programs/blah/

    The rest you'll have to Google.

    --
    I'm not a lawyer, but I play one on the Internet. Blog
  71. HJKL by Trogre · · Score: 1

    I use vim/gvim daily, and have never, NEVER, used the HJKL keys to navigate for any purpose other than to see what it is like. And yet I often see Vim equated with love for HJKL. Do all you vi/vim users here really use these keys for navigation?

    To me they're much less functional than the arrow keys because they suddenly stop working in Insert mode. I get the argument for them - that you don't need to take your hand off the "home row" to use them, but you still need to move your fingers to a non-standard position (one key to the left), and need to reach up to ESC to get out of Insert mode first anyway.

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    1. Re:HJKL by cjhuitt · · Score: 1

      I very often use j & k to move up/down lines. I use h & l much less frequently, as w, e, & b are usually better for that anyway. As for hitting escape, I'm almost always in command mode anyway; I don't type and occasionally escape to command mode, but rather am in command mode and occasionally insert text.

    2. Re:HJKL by stasike · · Score: 1

      Look at my post I made moments ago a little bit up.
      I use arrows too. Also other keys like delete, backspace or end ...

  72. Happy Birthday! by mattsday · · Score: 1

    'd not heard of this vim before, so thought I'd give it a go on its birthday - I'm even using it to write this message!

    Happy birthday!

    ^C^C^C^Dquit

    --
    Now there's one hoopy frood who really knows where his towel is!
  73. Re:Oblig.... by DrogMan · · Score: 1
    Heh... ZZ needs 2 keypresses, :x three (because it's :x RETURN) Similarly :wq is 4 keypresses.

    Of-course someone might argue that needing the shift key is really another keypress, but they're probably emacs users... ;-)

  74. Happy birthday Vim and thank you Bram and Bill by turing_m · · Score: 1

    Seeing as you are the vim user, you will have significantly less RSI. At times like this it, uh, comes in handy.

    --
    If I have seen further it is by stealing the Intellectual Property of giants.
  75. One thing I hate about vi by Chrisq · · Score: 1

    If I use it for a week my brain goes into vi mode. I find that I am typing wq! in word documents

  76. Re:NANO ftw! by TheRaven64 · · Score: 1

    The Single UNIX Specification and POSIX require vi to exist. You may find stuff breaks in interesting ways if it doesn't...

    --
    I am TheRaven on Soylent News
  77. It's there by Le+Grande+Raoul · · Score: 1

    Best thing about vi (and vim): It's there. Always. Push comes to shove, if users have a basic knowledge of vi, a good tool always at hand. Small, light but, in the hands of a competent user, very powerful...

  78. You fought in the text editor wars? by Darth+Snowshoe · · Score: 1

    "not as clumsy or random as emacs. An elegant editor, from a more civilized age."

  79. crisp, brief, vim emacs by unixisc · · Score: 1

    I once used a programmer editor called crisp, which was really neat to use. It's DOS equivalent was something from Borland, called Brief. It was really neat, the way one could fill up an entire column w/ an array - something not possible w/ either vi(m) nor emacs.

    That said, I once read the O'Reilly book on Emacs, and thought it might be a good working environment if one's not working in X. Incidentally, why the hostility to Emacs? If anything, I've always found vi (and less so vim) a pain to use. Incidentally, is vim part of the GNU package, or is it something from someone else? Which license does it come under - GPL, BSD,...?

  80. shell games by unixisc · · Score: 1

    You forgot good ole sh ;-)

    And why stop there? There is also ash, dash, es, fish, mksh, psh, pysh, rc, scsh, tcsh and wish. Maybe someone should write another that incorporates all of these ;-)

  81. Re:I hate vim and emacs. by 3p1ph4ny · · Score: 1

    Wow, this is great, thanks!

  82. OS/2 port by wurtel · · Score: 1

    I ported Vim to OS/2 when I had to work with that particular operating system.
    I think that I was more productive on that job in total, even with the time spent on the port, than if I had not been able to use Vim.