https://dougblack.io/words/zsh-vi-mode.html
Above link explains the usage, but I couldn t use it for some reason even after setting EDITOR variable.
autoload edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line
PS: Blog updated !!! https://worldofprasanna.github.io/using-vi-in-zsh