mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-21 00:57:11 +08:00

The command C-x C-e opens the current command line for editing in the editor defined by the $EDITOR environment variable. Thanks to Craig Bosma and his blog post about this: http://distrustsimplicity.net/articles/zsh-command-editing
4 lines
92 B
Bash
4 lines
92 B
Bash
autoload -U edit-command-line
|
|
zle -N edit-command-line
|
|
bindkey '\C-x\C-e' edit-command-line
|