Tired of not being able to use vim to edit shell commands?

Tired of not remembering the obscure snippet you have to put in your profile to fix this?

bindkey -v
autoload -Uz edit-command-line
zle -N edit-command-line
bindkey -M vicmd v edit-command-line

You’re welcome!