Subject: Re: command-line editing and "standard" shells....
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Soren S. Jorvang <soren@t.dk>
List: current-users
Date: 03/19/1999 01:37:42
On Thu, Mar 18, 1999 at 05:30:05PM -0700, Chris Jones wrote:
> Jason> Yah, I have to override this, personally.  I'm a die-hard vi
> Jason> weenie, but I like ksh to use emacs key bindings :-)
> 
> I had the same objection, until I fired up ksh on my NetBSD/alpha
> box.  Using my .shrc, everything works fine:  I have "EDITOR=vi" and
> "set -o emacs" in there, and it gives me emacs keybindings for history
> editing.  Hitting ESC twice in a row gets file completion.  I may have
> to switch shells now...

I too use emacs keys in ksh because vi keys don't fit in as well in
a shell as in an editor.

Adding the following (pdksh only, unfortunately) even made me stop
envying tcsh/bash users :-)

bind "^I=complete"
bind "^I^I=complete-list"


-- 
Soren