Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Real Vi session for editing a command



zzapper <david@xxxxxxxxxx>:
> in one of my previous lives, I had a shell (MKS?) where when editing a 
> command (in vi mode) line I could hit ESC and then I would enter a real Vi 
> window, when I saved and quit the command would be executed. Any ideas if 
> possible with zsh/bash?

Of course the zsh can do this. :-)

    autoload      edit-command-line
    zle -N        edit-command-line
    bindkey '\ee' edit-command-line

Regards, Frank



Messages sorted by: Reverse Date, Date, Thread, Author