Enable vi mode (usually in .zshrc but you can test from the command line):
set -o vi
Invoke $EDITOR on the current command line: ls -la /tmp<Esc><v>
That's Escape, then the lowercase v key (sequentially, not together)You can use up-arrow to go through command history, reach the one you want to rerun with modifications, then press Esc, v.