From 1d91f4b8e26ea136b3091c518dfbcb8b5adabd1e Mon Sep 17 00:00:00 2001 From: Andrea Mistrali Date: Sat, 24 Oct 2015 12:24:18 +0200 Subject: [PATCH] Add command line editing --- zsh.d/20-bindkeys.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh.d/20-bindkeys.zsh b/zsh.d/20-bindkeys.zsh index 46f0478..ed3ff18 100644 --- a/zsh.d/20-bindkeys.zsh +++ b/zsh.d/20-bindkeys.zsh @@ -4,6 +4,11 @@ autoload -U select-word-style select-word-style bash +# Command line editing in $EDITOR +autoload -z edit-command-line +zle -N edit-command-line +bindkey "^X^E" edit-command-line + # Standard Linux bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word