summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/key-bindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index a5650dd81..bf5d4ba30 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -117,7 +117,7 @@ bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backwa
bindkey ' ' magic-space # [Space] - don't do history expansion
-# Edit the current command line in $EDITOR
+# Edit the current command line in $VISUAL (or $EDITOR / `vi` if not set)
autoload -U edit-command-line
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line