`
luyuwww
  • 浏览: 95079 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

windows vim 不生成临时文件 中文乱码

阅读更多

 

1. 不生成临时文件

set nobackup

set nowritebackup

 

把这两行放在最后,

就是endfunction后面。

 

2. 乱码问题

set encoding=utf-8

set termencoding=utf-8

set fileencoding=chinese

set fileencodings=ucs-bom,utf-8,chinese

set langmenu=zh_CN.utf-

 

把上面的放到 set nocompatible 下面

分享到:
评论
1 楼 luohaobubu 2012-08-23  
在什么地方设置啊?

相关推荐

Global site tag (gtag.js) - Google Analytics