by lutusp · 13y ago · 0 comments
In other words, it's vi with a few changes. I still can't navigate while typing, or delete while navigating, or search while deleting. As I tried to remember all those weird incantations that I last used in the mid 1970s, I felt as though I was in a time warp.
Guess why Apple Writer was so popular in 1979 (http://en.wikipedia.org/wiki/Apple_Writer), in spite of its many limitations? I wrote Apple Writer specifically to avoid the handicaps built into vi, which was the default editor in those times. After Apple Writer came out, people would write articles saying things like, "My God! With Apple Writer, you can read files, write files, type, navigate and search without having to change modes! How did Lutus do it?"
The answer is simple. Apple Writer wasn't so extraordinary, but I wasn't mentally crippled by the vi code base or method of operation, and I wasn't averse to exposing people to new ideas. But you know what? If I was told that people would still be using vi thirty-four years later, and boasting about its wonderfulness, I would have fallen down laughing.
Even pico and nano are easier to use, and they're desperately weak.
I shouldn't complain. Apple Writer made me a multimillionaire through the simple virtue of not being vi, and little else. I should thank you people.
No, to switch from entering text, to deleting text, to searching for text, to copying and pasting text, to saving a file, to loading a file, all require switching modes. Let's be honest.
> By making that compromise you make the system faster and more powerful ...
Having to enter additional keystrokes, a throwback to a computer keyboard that either didn't have control keys or couldn't exploit them, makes editing "faster and more powerful"? Nice reasoning.
You're calling vim commands "modes" to deliberately make it sound more complex than it is.
I want to change to next 3 words. I type 'c3w' - you're saying that's modal - which it sort of vaugly is. I could have done 'v3w' to highlight the next 3 words (something you would do in any other editor). Then I hit 's' to substitute them for something else. No mode involved (other than the selection - which is the same for any editor).
I stand by my assertions - it's up to you to provide the counter examples to back up your claims.
* I am moving the cursor, but I want to enter text. To do so, I need to enter colon, i, Enter, then my first text entry.
* I am entering text, but I want to move the cursor. To do so, I need to type Esc, Esc, then commence moving the cursor.
* If while entering text, I want to do something besides move the cursor, I need to type Esc, colon, then a command letter, then its arguments.
I don't need to "make it sound more complicated than it is." It is in fact more complicated -- more complicated than Apple Writer, now justly consigned to a museum, and more complicated than any modern editor.
> I type 'c3w' - you're saying that's modal - which it sort of vaugly is.
This is getting comical.
> I could have done 'v3w' to highlight the next 3 words (something you would do in any other editor).
No, in any other modern editor, I wold pass the mouse cursor across the desired characters, thus selecting them (any subset of characters or words or paragraphs, and very, very fast). There's a reason the mouse was invented, and it wasn't because it's a cute but insubstantial gimmick meant to pander to the tastes of ignorant, unsophisticated computer users.
In Android, I would swipe my finger across the desired text. No mouse needed.
> I stand by my assertions ...
Try moving beyond assertions -- try locating some evidence, as I have just done. Pretend to be a scientist.
> it's up to you to provide the counter examples to back up your claims.
As I have been doing since this thread started? Read my posts.
Please define a mode and define mode switching. It's obvious we use different definitions for those and so we can't have meaningful discussion.
If I'm entering text, I cannot move the cursor. Mode one.
If I'm moving the cursor, I cannot enter text. Mode two.
If I'm using a modern editor, these modes are not present -- if I want to move the cursor, I press the appropriate keyboard keys. Instead of pressing a letter key to insert a letter, I press the up-arrow key to move the editing cursor, without any preliminary mode-switching keys. This means an absolute minimum of keystrokes, and because there are no modes, the letter keys always insert letters, and the arrow keys always move the cursor.
All before beginning to discuss the mouse or other pointing devices, methods that have existed since 1963 and have been in wide use since 1980.
Any questions?
Guess why so many people still use Vi(m) and not Apple Writer.