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
Written by Rein Henrichs
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Zsh
Authors
Related Tags
#zsh
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#