Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Default setting of ZLE keymap



On 10/7/23 17:13, Bart Schaefer wrote:
For just about as long as zsh has existed, interactive shells at
startup have examined the environment variables $VISUAL and $EDITOR
for clues as to whether the default key bindings should be emacs-like
or vi-like.

Recently it was noticed that when one of these variables uses a full
path to name the editor program, the substring "vi" appearing anywhere
in that path (such as, in the name of the user's home directory) would
cause the vi-mode keymaps to be incorrectly enabled.


Discuss.  Thanks.


It has long been a source of confusion in the irc channel and would be
a welcomed changed in my opinion.




Messages sorted by: Reverse Date, Date, Thread, Author