diff --git a/.zshrc b/.zshrc index d27a680..039a559 100644 --- a/.zshrc +++ b/.zshrc @@ -12,6 +12,11 @@ autoload -Uz compinit compinit # End of lines added by compinstall +# Edit the command in editor +autoload -z edit-command-line +zle -N edit-command-line +bindkey "^X^E" edit-command-line + # Prompt if [[ -n $SSH_CONNECTION ]]; then HOST_LBL="%F{green}[%m]%f"