r/ProgrammerHumor • • Apr 20 '15

vim

Post image
1.3k Upvotes

427 comments sorted by

View all comments

70

u/iLostMyAcc Apr 20 '15

I really don't know why people use vim. Can anyone explain it to me?

86

u/noop__ Apr 20 '15

Because it let's me modify text faster, and more precisely than any other text editor in existence. And the portability (console based, *nix) makes it so I can have the same text editing workflow on all of my machines including the several thousand headless servers I manage.

28

u/iLostMyAcc Apr 20 '15

" it let's me modify text faster, and more precisely than any other text editor in existence." Do you have a example?

26

u/noop__ Apr 20 '15

The vast array of movement and editing commands, and the modal interface with which they're presented allows almost anything to be just a couple of keystrokes away rather than being hidden away in the menus of gui text editors. Yeah, there's a steep learning curve to vim, but once you get the hang of it, you'll feel completely crippled in anything else (of course, until you get really good with $othereditor, but then you can make this decision for yourself, and I'll bet $10 you'll choose vim).

11

u/Dooey Apr 21 '15

Gui editors: Features are hidden away in menus Vim: Feature are hidden away in man pages.

I'm not sure which is better.

1

u/greyfade Apr 21 '15

Three clicks in whatever versus two keystrokes in vim? I'd say learning two keystrokes is more valuable for extremely frequent editing tasks.

5

u/Dooey Apr 21 '15

Menus can be navigated via the keyboard too. No need for clicking.

1

u/greyfade Apr 21 '15

Not so easily. Emacs might be comparable in that regard, but Vim commands are largely without modifier keys.

→ More replies (4)