Added editor keybind

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-02 22:52:08 +02:00
parent 4f3074a91b
commit e22507217d

View file

@ -37,3 +37,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
zle -N zle-line-init
zle -N zle-line-finish
fi
# use <ESC> e to open command in editor
autoload edit-command-line; zle -N edit-command-line
bindkey -M vicmd e edit-command-line