Kali 2020 Xshell VIM无法粘贴问题

修改配置文件,找到如下配置文件

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

在82行找到如下内容:

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

修改为

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

保存退出

猜你喜欢

转载自blog.51cto.com/1inux/2542781
今日推荐