Subject: Re: command-line editing and "standard" shells....
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: current-users
Date: 03/19/1999 14:02:06
On Thu, Mar 18, 1999 at 03:37:18PM -0800, Jason Thorpe wrote:

> Yah, I have to override this, personally.  I'm a die-hard vi weenie,
> but I like ksh to use emacs key bindings :-)
> 
> In addition to being quicker to use on the command line, emacs key bindings
> also allow you to use filename completion; the ESC key puts you in command
> mode if you're using vi bindings, sigh.

Hm. I just read through our ksh man page, and as a result stopped using
bash, and went back to using ksh.

ksh does filename completion a couple ways... I'm used to using the tab
key in bash, and, sure enough, "set -o vi-tabcomplete" does exactly that,
and in vi mode.

The only thing I'd love to have is for ksh to use the up and down arrows
while in vi mode. They seem natural for command line history, and, more to
the point, they're *not used* at the moment. Maybe I'll dig through the
source this weekend and see if I can wedge that in.

-- 
Mason Loring Bliss             ((  "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  ))  build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((   from day's caravan." - Rabindranath Tagore