$EDITOR
–
Editor used to choose ZLE keymap
$EDITOR is used by ZLE to choose the keymap.
If it contains the string vi, then keymap viins is chosen.
Otherwise, keymap emacs is selected.
Variable $VISUAL is used in the same way as $EDITOR by ZLE.
Links
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $EDITOR - probieren Sie es jetzt aus!