Browse code

C-x C-e to edit current command in EDITOR

The command C-x C-e opens the current command line for editing
in the editor defined by the $EDITOR environment variable.

Thanks to Craig Bosma and his blog post about this:
http://distrustsimplicity.net/articles/zsh-command-editing

Christopher Sexton authored on 17/05/2011 at 18:13:07
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+autoload -U edit-command-line
1
+zle -N edit-command-line
2
+bindkey '\C-x\C-e' edit-command-line