Sample Header Ad - 728x90

How to edit command line in full screen editor in ZSH?

100 votes
7 answers
55674 views
In bash, using vi mode, if I hit Esc,v, my current command line is opened in the editor specified by $EDITOR and I am able to edit it in full screen before 'saving' the command to be returned to the shell and executed. How can I achieve similar behaviour in zsh? Hitting v in command mode results in a bell an has no apparent effect, despite the EDITOR environment variable being set.
Asked by Murali Suriar (2944 rep)
Jan 29, 2011, 12:32 AM
Last activity: Jul 3, 2024, 09:12 PM