Hacker News new | ask | show | jobs
by meken 3031 days ago
Thank you! I tried to google how to do this some time ago with no success!

However it looks like it only works with emacs editing mode (set -o emacs). Is there a way to do this in vim editing mode (set -o vi)?

Also it doesn't appear to work in zsh. Is there a zsh equivalent?

2 comments

For Zsh, add “bindkey '^x^e' edit-command-line” somewhere in your ~/.zshrc and you have it.
In vim editing mode, enter normal mode and push v and the line will be opened in a temp file.