$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 是一款支持 editor** 的 **Zsh 集成开发环境 - 立即试用!