C-x C-e to edit current command in $EDITOR #479

Merged
merged 1 commit into from Jul 18, 2011

Conversation

Projects
None yet
2 participants
Contributor

csexton commented Jul 18, 2011

Enabled the awesome edit-command-line with standard keybindings

Added C-x C-e to open the editor with the current command. Bash has this by default, and is really a killer feature -- just needs to be enabled in zsh. I put it in lib because I believe it is one of those things that does not get in the way, but is really good to have out of the box. I certainly could make it a plugin, if there are strong opinions about it.

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

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

robbyrussell added a commit that referenced this pull request Jul 18, 2011

Merge pull request #479 from csexton/edit-command-line
C-x C-e to edit current command in $EDITOR

@robbyrussell robbyrussell merged commit d62f29b into robbyrussell:master Jul 18, 2011

vguerci pushed a commit to vguerci/oh-my-zsh that referenced this pull request Nov 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment