Debian9 VIM不能粘贴解决方法

安装VIM

sudo apt install -y vim

编辑配置文件

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

大约在第70行左右

" In many terminal emulators the mouse works just fine.  By enabling it you
" can position the cursor, Visually select and scroll with the mouse.
if has('mouse')
  set mouse=a
endif

修改配置文件

将set mouse=a改成set mouse-=a

" In many terminal emulators the mouse works just fine.  By enabling it you
" can position the cursor, Visually select and scroll with the mouse.
if has('mouse')
  set mouse-=a
endif

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*
*