Hacker News new | ask | show | jobs
by trynewideas 1275 days ago
> The whole point of vim is that you change your mental model to become faster at editing text.

The whole point of vi and vim was to edit text visually, instead of as lines.

Bill Joy reflecting on vi in 1984:[1]

"REVIEW: What would you do differently?

JOY: I wish we hadn't used all the keys on the keyboard. I think one of the interesting things is that vi is really a mode-based editor. I think as mode-based editors go, it (is) pretty good. One of the good things about EMACS, though, is its programmability and the modelessness. Those are two ideas which never occurred to me. ... The fundamental problem with vi is that it doesn't have a mouse and therefore you've got all these commands. In some sense, its backwards from the kind of thing you'd get from a mouse-oriented thing. I think multiple levels of undo would be wonderful, too. But fundamentally, vi is still ed inside. You can't really fool it.

Its like one of those pinatas - things that have candy inside but has layer after layer of paper mache on top. It doesn't really have a unified concept. I think if I were going to go back - I wouldn't go back, but start over again.

I think the wonderful thing about vi is that it has such a good market share because we gave it away. Everybody has it now. So it actually had a chance to become part of what is perceived as basic UNIX. EMACS is a nice editor too, but because it costs hundreds of dollars, there will always be people who won't buy it."

...

"REVIEW: What is it that (WYSIWYG document processor) Interleaf offers you that EMACS doesn't?

JOY: I can just look at my screen, and when I print it off, it's the same as it looks on the screen. It is formatted, and I'm tired of using vi. I get really bored. There have been many nights when I've fallen asleep at the keyboard trying to make a release. At least now I can fall asleep with a mouse in my hand. I use the Xerox optica mouse instead of the other one because it is color coordinated with my office. Did you notice? I prefer the white mouse to the black mouse. You've got to have some fun, right?

This business of using the same editor for 10 years - it's like living in the same place for 10 years. None of us does it. Everyone moves once a year, right?"

1: https://web.archive.org/web/20120210184000/http://web.cecs.p...

1 comments

>> The whole point of vim is that you change your mental model to become faster at editing text.

> The whole point of vi and vim was to edit text visually, instead of as lines.

My language was very imprecise here, I should know better when commenting on Hacker News. I didn't mean the original motivation for creating vi, but the main reason why someone in 2022 would learn vim with all the other text editors out there now. The main feature of vim at this point is the modal editing that requires you to change how you think about text editing. If you aren't going to accept this new paradigm, then there's no point learning vim in the first place beyond how to enter and exit insert mode, save, and quit.