gvim的一个bug

来源:互联网 发布:深圳华清瑞视 cms 2.0 编辑:程序博客网 时间:2024/06/03 14:36

先设置set fileformat=unix

再设置set nocompatible

结果新文件的格式总是dos(在window电脑上,linux未测试)


正确的做法是:

先set nocompatible

在set fileformat=unix

原创粉丝点击