$VISUAL
–
Editor used to choose ZLE keymap
$VISUAL
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 $EDITOR
is used in the same way as $VISUAL
by ZLE.
Links
BashSupport Pro 是一款支持 visual** 的 **Zsh 集成开发环境 - 立即试用!