When I start vim with one of these plugins:
I see sometimes garbage characters in the buffer when I open vim.
Here a
Vim asks the terminal for its version, what you're seeing is the response (cp. :help v:termresponse
). It only appears printed in the terminal; that's why you can't "edit" it and it appears after a redraw.
Why Vim doesn't properly receive it, I don't know. Switching the terminal program might help. You could also try to suppress the query via :set t_RV=
in your ~/.vimrc
.
I switched to neovim
and I've never seen this issue anymore.