Added editor keybind
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
4f3074a91b
commit
e22507217d
1 changed files with 4 additions and 0 deletions
|
@ -37,3 +37,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
|
||||||
zle -N zle-line-init
|
zle -N zle-line-init
|
||||||
zle -N zle-line-finish
|
zle -N zle-line-finish
|
||||||
fi
|
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
|
||||||
|
|
Loading…
Reference in a new issue