I changed input mode in zsh to vi with set -o vi, but that created problems with pasting text.
While trying to do cmd-v (MacOS) in the insert mode, zsh is pasting only a fraction of the clipboard content. It seems like zsh is trying to execute the clipboard content as if its characters were commands. (Perhaps cmd-v sends zsh into the visual mode or something.)
Meanwhile, clipboard paste works fine in vim and bash. It works in iTerm and Terminal. But not with zsh. I use oh-my-zsh with vi-mode plugin disabled (it has the same problem).
Is this a bug or normal behavior?