Kali 2020 Xshell VIM cannot be pasted

Modify the configuration file and find the following configuration file

/usr/share/vim/vim/defaults.vim

Find the following on line 82:

 80 if has('mouse')
 81   if &term =~ 'xterm'
 82     set mouse=a
 83   else
 84     set mouse=nvi
 85   endif
 86 endif

change into

 80 if has('mouse')
 81   if &term =~ 'xterm'
 82     set mouse-=a     // 修改此行   增加“-”
 83   else
 84     set mouse=nvi
 85   endif
 86 endif

Save and exit

Guess you like

Origin blog.51cto.com/1inux/2542781