Kali 2020 Xshell VIM无法粘贴问题

时间:2020-10-21 21:28:35   收藏:0   阅读:39
修改配置文件,找到如下配置文件

/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

保存退出

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!