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?
unset zle_bracketed_paste
– thrig May 05 '16 at 17:53unset zle_bracketed_paste
to~/.zshrc
, but it still behaves like this. – Anton Tarasenko May 05 '16 at 18:40oh-my-zsh
-only problem. – Anton Tarasenko May 05 '16 at 21:17