summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-07-18 07:57:54 -0700
committerRobby Russell <robby@planetargon.com>2011-07-18 07:57:54 -0700
commitd62f29b62543924cfe87b404fc203c2e6840b826 (patch)
tree3cf1415884730d01d1a71dbae1fa875d56bfba9e
parentf951740656d7390583b1eaa91d9ebae931d4e3be (diff)
parenta38774c98d1c08f82b1325a40b2de1a76586e02a (diff)
downloadzsh-d62f29b62543924cfe87b404fc203c2e6840b826.tar.gz
zsh-d62f29b62543924cfe87b404fc203c2e6840b826.tar.bz2
zsh-d62f29b62543924cfe87b404fc203c2e6840b826.zip
Merge pull request #479 from csexton/edit-command-line
C-x C-e to edit current command in $EDITOR
-rw-r--r--lib/edit-command-line.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/edit-command-line.zsh b/lib/edit-command-line.zsh
new file mode 100644
index 000000000..db2000325
--- /dev/null
+++ b/lib/edit-command-line.zsh
@@ -0,0 +1,3 @@
+autoload -U edit-command-line
+zle -N edit-command-line
+bindkey '\C-x\C-e' edit-command-line