I am trying to learn Vim and using .vimrc from this link. Everything works fine but after I installed vim-gnome via sudo apt-get install vim-gnome to use xterm_clipboard, weird characters keep printing after I open Vim as in the image below.
Everything is still fine if I use vim -u NONE file. I checked $TERM=xterm.
I found another question suggesting to delete set visualbell in .vimrc but it turns out that there is no such line in my .vimrc.
I have searched google and found that I can add set t_TI = t_TE = to .vimrcbut it keeps printing the same weird characters but less as in the image below.
Could anyone help me how to fix it?
91 Answer
I just found an answer here for those who might run into the same problem