Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #513 from randy909/fix-edit-cmdline

Fix edit-command-line binding
  • Loading branch information...
commit 273728901ef8b2cae318de9b6c21f848efaa312e 2 parents 3d6f9d7 + f20cfc6
Robby Russell authored
Showing with 5 additions and 3 deletions.
  1. +0 −3  lib/edit-command-line.zsh
  2. +5 −0 lib/key-bindings.zsh
3  lib/edit-command-line.zsh
View
@@ -1,3 +0,0 @@
-autoload -U edit-command-line
-zle -N edit-command-line
-bindkey '\C-x\C-e' edit-command-line
5 lib/key-bindings.zsh
View
@@ -30,6 +30,11 @@ bindkey "^[[3~" delete-char
bindkey "^[3;5~" delete-char
bindkey "\e[3~" delete-char
+# Edit the current command line in $EDITOR
+autoload -U edit-command-line
+zle -N edit-command-line
+bindkey '\C-x\C-e' edit-command-line
+
# consider emacs keybindings:
#bindkey -e ## emacs key bindings
Please sign in to comment.
Something went wrong with that request. Please try again.