zsh: Make c-e always send zle to editor

Whereas previously, zsh needed to be in vi mode to enter the editor with
current zle now we can *always* enter the mode with c-e. Since the
combination is not used for going to the end of the line or anything
anymore anyway, we can make it a bit easier to get into vim from the
zle.
This commit is contained in:
Marty Oehme 2022-07-08 23:53:06 +02:00
parent 7356d8c58f
commit aad5d67aab
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -179,7 +179,7 @@ bindkey -M isearch '^N' history-incremental-search-forward
# Send command to editor and back for execution
zle -N edit-command-line
bindkey -M vicmd '^e' edit-command-line
bindkey '^e' edit-command-line
# Deduplicate PATH - remove any duplicate entries from PATH
# from: https://unix.stackexchange.com/questions/40749/remove-duplicate-path-entries-with-awk-command