When I start vim with one of these plugins:
I see sometimes garbage characters in the buffer when I open vim.
Here are these characters:
;2R^[[>1;2802;0c
By uninstalling these two plugins, I don't see these garbage characters anymore.
If I type dd
, it does not even delete these characters. Vim says the buffer is empty.
Putting this command at the end of my .vimrc is a workaround for this problem:
autocmd VimEnter * redraw!
With this, these characters are deleted immediately.
How can I fix this problem?
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With