Last Updated: February 25, 2016
·
1.016K
· reinh

zsh: Invoke Editor For Current Command Line

Just like Bash's built-in C-x C-e!

autoload -U edit-command-line
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line

Source: http://distrustsimplicity.net/articles/zsh-command-editing