Commit 48570dbd authored by Guilherme Semente's avatar Guilherme Semente 🌱

Enable Ctrl-x Ctrl-e to edit long command lines using $VISUAL editor

parent ba3f5c06
......@@ -68,6 +68,12 @@ else
# tells the shell to understand Emacs editing commands
bindkey -e
# enable Ctrl-x Ctrl-e to edit long command lines using your $VISUAL editor
# (or $EDITOR)
autoload -U edit-command-line
zle -N edit-command-line
bindkey '^x^e' edit-command-line
# prompt
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git hg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment