[Share Experiences] deepin 20.1 如何在终端中使用vim后可以复制vim打开的内容
Tofloor
poster avatar
heichengzi
deepin
2021-01-17 06:01
Author

touch /etc/vim/vimrc.local 

vim /etc/vim/vimrc.local 

填入以下内容,然后重启终端

source $VIMRUNTIME/defaults.vim

let skip_defaults_vim = 1

if has('mouse')

    set mouse=r

endif

 

Reply Favorite View the author
All Replies
a***[email protected]
deepin
2021-01-17 06:15
#1

我一般都是临时

set mouse-=a

 

Reply View the author
heichengzi
deepin
2021-01-17 06:16
#2
a***[email protected]

我一般都是临时

set mouse-=a

 

这样设置后就不用每次临时设置了

Reply View the author
deepinuser17
deepin
2021-01-17 10:55
#3
$ cat ~/.vimrc 
set mouse=r
set backspace=indent,eol,start
set ruler
Reply View the author