On Tue, 13 Feb 2007 18:22:34 -0500, "Theerasak Photha"
<[EMAIL PROTECTED]> wrote:

> On 2/13/07, Gene Kwiecinski <[EMAIL PROTECTED]> wrote:
> > >I imagine there is a rationale for 'ZZ', but it's not readily
> > >apparent. (Something to do with C-z in DOS, or the end of the
> > >alphabet?)
> >
> > 'z' is already used, and the <shift> and <z> keys are adjacent on
> > Murrrcan keyboards, so you can easily just quit out of the editor in
> > almost a single hand-action.
> 
> I understand the ergonomic value. Mentally it doesn't make as much sense 
> though.

It's supposed to make sense ergonomically, not mnemonically.

When starting to use a new product you learn the keys once and use
them many times. The vi approach was to make the useful commands easy
to type rather than easy to remember, hence hjkl to move the cursor
instead of ldur, and ZZ to save changes. Once you've learned the
keys there's no longer any advantage to mnemonics so why punish your
fingers with unnecessarily awkward keystrokes?

(Looking over the keyboard and seeing that just about every key has a
useful function, it seems to me that the ultimate goal of vi evolution
is for a cat to be able to walk across a keyboard and type nothing but
valid editing commands.)

-- 
Matthew Winn

Reply via email to