On 2017-08-28, mar...@martinbrandenburg.com <mar...@martinbrandenburg.com> 
wrote:
> What works is to set EDITOR in your profile, then set -o emacs.  The other
> order will result in the shell changing to vi mode.

That's fine until you su :)

> Or we could all set EDITOR to ed, the STANDARD text editor.

An alternative hack is "ln -s vi emacs-not-really" and use
EDITOR="emacs-not-really" ...


Reply via email to