Take a look here. Basically it's the pastetoggle
option.
↧
Answer by Daniele Santi for Formatting gets changed when trying to copy text from gedit to vim
↧
Take a look here. Basically it's the pastetoggle
option.