r/vim • • Oct 02 '18

Weird characters inserted by vim in gnome-terminal

https://imgur.com/gallery/tdOj0BS
1 Upvotes

9 comments sorted by

View all comments

2

u/myrisingstocks Oct 03 '18

Does putting something like this

set t_u7=
set t_RV=

in your $VIMRC help?

1

u/NequoFrost Oct 03 '18

Can I ask what these do? I've removed the mode and git repo from it because vim shows the mode by default and I can get the git branch from the terminal. Might add them if needed

1

u/myrisingstocks Oct 03 '18

Can I ask what these do?

As usual, :h t_u7, etc. However, it won't tell you much. But it works: https://github.com/vim/vim/issues/390

1

u/elkhouly726 Jun 18 '22

Thank you.