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

271 comments

  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 Anonymous Coward · · Score: 0

      With a first post.

      Seriously though they're both old as shit, you can't claim one is more 'mature' than the other because these days things that are a year old+ are called mature.

    2. Re:And this is why emacs beats vim: by makubesu · · Score: 3, Informative

      Vi was also released in 1976.

    3. Re:And this is why emacs beats vim: by Anonymous Coward · · Score: 0

      TECO wins, hands down!

    4. Re:And this is why emacs beats vim: by Anonymous Coward · · Score: 0

      I use EDLIN, released in 1981 (but leaked to OEMs in 1980). Shift-E saves, Shift-Q quits (discards changes).

      Edlin is still actively developed as part of FreeDOS. Wikipedia isn't making friends in the EDLIN world by referring to it as primitive.

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

    6. 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.
    7. 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??
    8. Re:And this is why emacs beats vim: by Anonymous Coward · · Score: 0

      Emacs is mature in much the same was the retarded guy who "graduates" just because he's 22 and he's become a danger to other students.

  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 Anonymous Coward · · Score: 0

      Not true, there are at least two implementations of vi mode in emacs.

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

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

    5. Re:emacs this emacs that by Anonymous Coward · · Score: 0

      if only it had a text editor worth a shit

      Obviously you're talking about vim emulation inside of emacs. I agree.

    6. Re:emacs this emacs that by Anonymous Coward · · Score: 0

      I am so sick of that joke. It's so predictable. You're guaranteed to hear it anytime Vim or Emacs gets mentioned.

  3. NANO ftw! by Anonymous Coward · · Score: 0

    that is all.

    1. Re:NANO ftw! by IceNinjaNine · · Score: 4, Informative

      More like NANO, wtf?

    2. 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.
    3. 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.

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

  5. Emacs vs Vi(m) by Anonymous Coward · · Score: 0

    The battle that never was.

  6. 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 Anonymous Coward · · Score: 0

      I use it locally in a terminal window of all my systems that do have X installed too. Never needed another dev environment

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

      Who installs X on a server?

    3. 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!

    4. 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).

    5. 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
    6. 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

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

      Ditto.
      For a web browser look into vimperator.

    8. 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?

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

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

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

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

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

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

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

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

      --
      :x
    15. 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.

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

    17. Re:still using it for remote admin by Anonymous Coward · · Score: 0

      :set makeprg='{the command to build your project and the command line options}'

      Quoting is weird in the makeprg command so it will take some getting used to.

      Then to build, use :make. :cn and :cp go to the next and previous error if your build env is supported. Most are.

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

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

      like gvim, for example.

      --
      Max.
    19. 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
    20. 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
    21. 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
    22. 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.

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

      Seriously? You can't think of a reason?

      --
      Max.
    24. 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.

    25. 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.
    26. 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
  7. :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 Anonymous Coward · · Score: 0

      I tried that and got "The Vim text editor was first released to the public on November 2, 2091—exactly 20 years ago today."

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

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

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

      I believe you mean :s/^/:/

    5. Re::1,$s/19/20/g by Anonymous Coward · · Score: 0

      More like, ^a

    6. 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.
    7. Re::1,$s/19/20/g by Culture20 · · Score: 1

      More like, ^a

      2che
      ^a
      3che

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

      And you missed the Esc before the colon.

    9. Re::1,$s/19/20/g by Anonymous Coward · · Score: 0

      % is the equivalent of 1,$ :%s/19/20g

      Have a nice day! :)

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

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

    11. Re::1,$s/19/20/g by Anonymous Coward · · Score: 0

      :%s/19/20/g

    12. Re::1,$s/19/20/g by Anonymous Coward · · Score: 0

      Well, unmap <C-A> should be in your .vimrc file if you're using windows. If you need to visually select everything ggVG is plenty fast enough.

  8. Oblig.... by trancemission · · Score: 0

    :wq

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

      ZZ

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

      :x

      --
      int main() { while(1) fork(); }
    3. Re:Oblig.... by reasterling · · Score: 1

      :x

      --
      "For I desired mercy, and not sacrifice" -- God
    4. 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... ;-)

  9. 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 Anonymous Coward · · Score: 0

      My main beef with it (solved by recompiling) is with fonts.

      My main beef is with distributions who have the program launch in "vim" mode even though I type in "vi".

      Perhaps I'm old school, but if I'm editing the /etc/hosts file, or my .zshrc, I don't need full-on syntac highlighting (and colouring). If I want all that I'll add the extra character and type in "vim".

      But please, when I type in "vi", I want it to act like it does on Solaris, BSD, AIX, etc.

    6. Re:I like gvim, except... by Anonymous Coward · · Score: 0

      Cool story, bro...

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

    8. Re:I like gvim, except... by Anonymous Coward · · Score: 0

      And which 'vi' do you think the default should be? elvis? nvi?

      Um... nvi? He just finished saying he wanted it to act like it does on Solaris, BSD, AIX, etc.
      (I prefer elvis myself, though...)

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

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

    10. 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
    11. Re:I like gvim, except... by Anonymous Coward · · Score: 0

      This isn't a problem with Vim, it's a problem with modern distros setting up fontconfig to exclude bitmapped fonts.GTK gets its font info from fontconfig, so look into that to re-enable bitmapped fonts, then you can use them in gVim to your heart's content.

      P.S. if you like Fixed, try Terminus font.

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

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

      Screenshots, you fool!

    14. 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
    15. Re:I like gvim, except... by Anonymous Coward · · Score: 0

      I also use gvim (although I'm on gentoo so maybe I already have an additionnal compilation option set that helps with this) and while I personnaly like antialiased fonts, when doing a set guifont=*, I can select for instance the font called "Fixed", which is clearly a bitmapped font on my system too.

      Here are the options I have that seem relevant at compile time:
      I do have the gtk option, but not gnome, nor motif, nor neXt. It might come from the fontconfig configuration files on your system, but I do not have any expertise in that though.

      I think you can confirm if this is a gvim issue by trying to use the "fixed" font in another GTK program. It should be able to handle the bitmapped font directly.

      Alternatively, if you have a configuration that suits you in a terminal program, you could also directly use vim in it. I use a plugin that automatically converts my gvim color theme to a terminal-compatible theme in those cases when I don't want to click around or manage windows and just want to edit one file.

    16. Re:I like gvim, except... by Anonymous Coward · · Score: 0

      You should try Terminus and Gohufont.

    17. 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
    18. 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
    19. 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
    20. 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).

    21. 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.
  10. I tried to be an ex-emacs user... by drjones78 · · Score: 2

    ... but it didn't work.

    Emacs controls all its ex's.

    1. Re:I tried to be an ex-emacs user... by Anonymous Coward · · Score: 0

      I switched to vim because when using minimalist distros you would almost always find a version of vi, but rarely emacs. I'm quite happy using vim now.

  11. 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 Anonymous Coward · · Score: 0

      Just like vim, its not how large the binary is, its how you use it.

    5. 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
    6. Re:Happily married by Anonymous Coward · · Score: 0

      LMFAO....now that's funny.

    7. Re:Happily married by Anonymous Coward · · Score: 0

      maybe it does...just not THAT kind of beard - which would gel well with some of the women I've dated. =8 0

  12. One day by M0j0_j0j0 · · Score: 2

    In Linux camp i lost my ":" key

  13. 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
  14. 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: 0

      Some text editors are more equal than others.

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

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

    3. 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.
  15. 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 Anonymous Coward · · Score: 0

      You're pasting my chain?
      Or you mean Y. Or maybe C-w or even M-w

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

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

    3. Re:Most Popular by Anonymous Coward · · Score: 0

      "yank" is a synonym for "paste"?

      You Emacs users are weird...

    4. Re:Most Popular by Anonymous Coward · · Score: 0

      If you think that's weird, you should see the people who use C-v for "vaste".

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

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

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

    8. 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
    9. 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
    10. 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
    11. 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
    12. Re:Most Popular by Anonymous Coward · · Score: 0

      C-Y is how emacs does it. In Vim, all you need is Y.

  16. vi 'til I die! by theswade · · Score: 3, Funny

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

    1. Re:vi 'til I die! by Anonymous Coward · · Score: 0

      Why do you type Enter and space after the first i? You're wasting space!!!

    2. Re:vi 'til I die! by Anonymous Coward · · Score: 0

      [ESC]:wq![ENTER]

      Three keystrokes too many (for the typical use). How about:

      [ESC]ZZ

      Y'welcome ;)

    3. 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!
    4. Re:vi 'til I die! by Anonymous Coward · · Score: 0

      iHappy Birthday, vim!!![ESC]ZZ

      Fixed that for you, you were working too hard ;)

    5. Re:vi 'til I die! by Anonymous Coward · · Score: 0

      Let me correct that for you

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

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

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

    2. Re:Thanks Bram Mooler by Anonymous Coward · · Score: 0

      It's Moolenaar.
      Old Dutch for the operator of a windmill.

  19. So? by blair1q · · Score: 1

    I like Vim.

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

    1. Re:So? by Anonymous Coward · · Score: 0

      I like Vim.

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

      No idea - but I'm using Emacs to reply in *this* edit box...

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

      Because ed is the standard text editor.

    3. 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.
    4. Re:So? by The+Askylist · · Score: 1

      What's wrong with cat, flash boy?

    5. 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.
    6. Re:So? by Anonymous Coward · · Score: 0

      cat doesn't edit, does it? All it does is display the contents of a file

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

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

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

    :qa!

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

    if ugandan kids use VIM too?

    --
    Good people go to bed earlier.
  23. I replaced notepad.exe with gvim.exe by Anonymous Coward · · Score: 0

    It took some searching to get around Microsoft's safety things about replacing Win components, but, I replaced my Notepad with GVIM on my box. I do nearly all my coding, log reading, etc with vim.

    I just got a new Mac yesterday. Installing macvim was one of the first things I did.

    I for one welcome my vi overlords.

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

  25. Re:Emacs vs VIM: Who cares? by Anonymous Coward · · Score: 0

    Honestly, both are excellent text editors.

    Both are outdated relics. Yes, I still use vim, but I never recommend either to new users.

  26. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  27. Congrats... by Anonymous Coward · · Score: 0

    You only look 40.

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

  29. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  30. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

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

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

    1. Re:Which came first... by Anonymous Coward · · Score: 0

      I thought emacs both wrote and compiled itself.

  32. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

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

  34. 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 Anonymous Coward · · Score: 0

      Press q next time. I won't attempt to teach you why it is awesome, just how to get out of it.

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

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

      :noremap q <nop>

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

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

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

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

    6. 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
  35. 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... :)

  36. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

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

    1. Re:I've used vim everyday for the last 15 years by Anonymous Coward · · Score: 0

      Vim is excellent software.

      Not to troll here- I'm a vim user myself and get along with it pretty wel. Vim is good software. It's powerful. It can do stuff no other editor can. It has modest requirements; it's pretty economical on bandwidth and you don't need a full 105 keyboard to operate it. But for it to be excellent, in my view, it would also have to be intuitive to learn and configure. Too many times I've had to look up how to make the cursor keys work again after a fresh install. Once you've gone through months of intensive training, it feels like a brilliant editor. Four stars out of five.

    2. Re:I've used vim everyday for the last 15 years by Anonymous Coward · · Score: 0

      Likewise, used vi at work so picked up vim on my Amiga at home and I've been using it everyday ever since.

      Its been my trusty old swiss army knife that I've used for all manner of tasks on all sorts of platforms, its become so ingrained in my brain that I keep hitting escape when I have to use something like Word.

      Vim is indeed excellent - thanks Bram

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

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

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

  40. 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 Anonymous Coward · · Score: 0

      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.

      ...Stay thirsty, my friends.

    3. 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) --
  41. 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 Anonymous Coward · · Score: 0

      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. This is simply because the terminal (e.g., a vt-100 emulator) doesn't distinguish most of the keys you mention. This creates a situation where your key mappings behave differently in different contexts. You may always use gvim, for instance, but a large number of people use vim from many different terminal types.

      But I think some people would share your feelings. If you made a patch for gvim that did what you want, I think others would also use it. 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).

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

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

  43. XML editor by Anonymous Coward · · Score: 0

    VIM came in really handy when I needed to delete extremely massive text lines from an XML file. Almost all the other editors croaked but VIM took it like a champ and 5 minutes later I was done.

  44. 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 Anonymous Coward · · Score: 0

      I rest my case.

      I doubt that.

    5. 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.
    6. 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.
  45. When VIM on DOS saved the day by Anonymous Coward · · Score: 0

    Back around 1996 or 1997, we were using old DOS based 286's as consoles for our embedded application. During debugging, when we had all debugging options turned on, we would capture the output to disk and this often resulted in a large file. The problem we were solving was buried somewhere in a large (for the time) several megabyte file. The DOS editors we had could not open the file because of the size. These DOS computers were not on the network, and the files were too big for a floppy, so there was no way to move the file off to a more powerful machine to take a look.

    Enter VIM on DOS to the rescue. We copied over VIM to the PC and opened the big file, and searched for the error message or string we knew was buried in there somewhere. It took several (maybe as many as 10) minutes, but VIM found what we were looking for, and we could see the relevant debug information nearby. After that it was easy to fix the bug.

    When you need a simple no windowing compact, but powerful editor, VIM is a good tool to have around.

  46. 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.
  47. 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.

  48. 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!

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

  50. VI or VIM by Anonymous Coward · · Score: 0

    In the 21st century using VI or VIM or GVIM is strange!! It is a great tool for coding ONLY if you don't have a GUI (SSH, etc). I don't see any advantage of using it for serious software development when there are so many amazing and ultra powerful editors around.

    We should be thinking of editors that can recognize speech not the ones that require your fingers AND sometimes your toes (emacs)!!

    Happy anniversary but it's time to put it to rest.

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

    2. 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
  51. how 'bout papa vi? by Anonymous Coward · · Score: 0

    When was vi released? Still on all *nix systems prior to loading vim. Still functional.

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

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

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

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

  55. 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.
  56. 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 :)

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

    C-x C-c

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

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

  59. What's the magic in these terminal text editors? by Anonymous Coward · · Score: 0

    Maybe this is an opportunity to ask what I've been wondering for quite some time now: Why are you folks so obsessed with how _awesome_ vim and/or emacs are? If you have to use a terminal, ok, maybe, but that is not my point. The normal situation even for a software developer is to have a graphical environment, with a mouse. Now let's suppose you do not want to use all the comfortable things an IDE gives you (already lost me here, but okay). In that situation I still prefer gedit or something alike. It does what you folks claim makes vim so great: SIMPLE text editing, syntax highlighting, lots of extensible features, and does'nt get you in the way. Vim on the other hand DOES get in your way with its frackin key combos and modes. So what kind of great functionality do I miss here? And what can there even be, after all it is still just a text editor we're talking about. I had to use vim at my university, so it's not like I've never been instructed how to use it, but as soon as I had a choice again, I closed the terminal and opened whatever graphical, mouse-aware editor there was.

  60. nvi by Anonymous Coward · · Score: 0

    Fuck vim. vim tries too hard to be like emacs, but it's got too much baggage and useless features. nvi ftw.

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

  62. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  63. 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.
  64. Re:Emacs vs VIM: Who cares? by Anonymous Coward · · Score: 0

    Emacs is a text editor, too?

  65. Visual Studio FTW by Anonymous Coward · · Score: 0

    VS 2010 kicks ass yo homies.

  66. Re:Emacs vs VIM: Who cares? by Anonymous Coward · · Score: 0

    Emacs is a nice OS. Only its text editor is a bit shitty. ;)

    In other words: I think people's beef with Emacs is that it is a great example of the inner platform anti-pattern.

  67. REAL programmers by Anonymous Coward · · Score: 0

    Use butterflies
    (Oblig. xkcd)

  68. Death To Emacs Long Live VIM! by Anonymous Coward · · Score: 0

    I've used a wide variety of edits and IDE's hands down VIM is my favorite, everything right at my finger tips and fully configurable! I maybe conflating Vi and VIM but damn the torpedoes fully ahead!

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

  70. 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 Anonymous Coward · · Score: 0

      I assume you're talking about custom syntax?

      If so, Read the syntax help a little more thoroughly. There are a number of tricks for reducing CPU load. Also, go easy on your reglex matches - you might need to put some thought into how many evaluations are necessary before the regex fails and moves on to the next line. (and you should try to avoid multiline matches, if possible)

      One trick is to play with the size of the window that gets checked for markup. It doesn't have to be the entire buffer. I forget what the setting is, though. It should work for the standard syntaxes too.

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

  71. VIM is annoying -- I use original "vi" by Anonymous Coward · · Score: 0

    VIM has so many features that are just annoying distractions. After I search for "foo" I don't want every single "foo" in the file highlighted for ever and ever. Color highlighting is great except that I can't read yellow on a white background. If you turn all that stuff off, then VIM parenthesis matching breaks. I gave up and compiled the old "vi" sources and I run that. It doesn't have unlimited undo but I can read the screen again.

  72. And as another year rolls around... by Anonymous Coward · · Score: 0

    vi(m) > emacs

    emacs sucks. /. community ... now... FIGHT!

  73. 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!

  74. Obligatory XKCD by ebs16 · · Score: 0
  75. 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!

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

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

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

  78. :wq by Anonymous Coward · · Score: 0

    :q!

  79. 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
  80. I don't always edit text by Draconis183 · · Score: 0

    But when I do, I prefer Vim. Stay productive my friends.

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

  82. Thank you by cheaphomemadeacid · · Score: 0

    and congratulations =) - Using vim since 96

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

  84. 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
  85. 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 ...

  86. Vim for instant scripting by Anonymous Coward · · Score: 0

    Sometimes, a small task doesn't quite require a full script.

    Say I have a CSV and want to copy all files listed in column 4 to a new directory.

    So, in comes a Regexp. Wait six lines have not been converted?

    Let's find them. Look, a user input error, I can fix that right in place and repeat that Regexp. There, all converted.

    Now let's try the first line. Run it through a shell. Works correctly. Do the rest. Damn 5 errors.

    Let's find them. Oh look, spaces in file names. Undo, Undo, Undo, modifiy Regexp, redo, redo, redo.

    I like vim.

  87. 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!
  88. search/replace using Lisp expressions... by Anonymous Coward · · Score: 0

    Search/replace using Lisp expressions.

    Viper mode.

    I can turn my Emacs into vi/vim at will. I cannot turn vi/vim into Emacs.

    Fight over : )

  89. One word. by Anonymous Coward · · Score: 0

    Notepad.

  90. 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.
  91. 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

    1. Re:One thing I hate about vi by Anonymous Coward · · Score: 0

      So true! I work on windows and use Komodo most of the time, but being addicted to command line I frequently use the combo of console2+powershell+vim for nearly everything outside of the project I'm currently working on. Never used "python shell" in Komodo: IPython with VIM makes for much better experience for me. As it happens, I sometimes use the latter for first half of a day, prototyping and experimenting, then I switch to Komodo and try to include the results of my experiments in the codebase. Damn, how often I type :w\n instead of ctrl+s! ...no more. Komodo, as any half decent editor, has vi emulation mode. Now thats unified environment that truly stays out of my way!

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

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

  94. 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,...?

  95. Happy birthday to Vim! by Anonymous Coward · · Score: 0

    When I'm buckling down to write some serious code, I use Vim. When I'm writing a quick TODO list, I use Vim. I've used Vim as my main text editor since I started using Linux. Great program, great philosophy. On the other hand, I don't hate Emacs, I think it's a great PDF viewer.

    Vim is an excellent program. (software is plural)

  96. 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 ;-)

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

    Wow, this is great, thanks!

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

  99. using since then. by Anonymous Coward · · Score: 0

    I used vim as my pine editor for years, and only gave up using pine about 3 years ago.

    I have written code, and been a writer and reporter on non-tech topics and all of my creative work has been done in vi/vim.

    Hell, I have a draft of a novel written in vim.