"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: Editor being ignored?
To:
Scott Bennett <sbennett1990@gmail.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 1 Mar 2021 16:39:05 +0100

Download raw body.

Thread
On Mon, Mar 01, 2021 at 09:19:58AM -0500, Scott Bennett wrote:
> That very well could be part of the problem. However, emacs the editor scares
> me, so I try to stick to vi :)  The reason I set EDITOR and VISUAL as above is
> because if I only set $EDITOR=vi, then the command-line editing mode becomes
> vi style, which is much less pleasant than emacs style.

This is a ksh quirk.

You can use this command in your ksh config to use emacs key bindings
regardless of the value of EDITOR: set -o emacs