分类: LINUX
2016-08-22 16:12:52
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=gbk
set encoding=gb2312
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set enc=utf8
set fencs=utf8,gbk,gb2312,gb18030
终端设置utf-8的情况:
2、vim中不能用鼠标选中复制粘贴
在~/.vimrc中添加
set mouse=a
参考链接:http://www.varesano.net/blog/fabio/disable%20vim%20automatic%20visual%20mode%20using%20mouse