在VIM底行模式下执行
set fileformat=unix #设置成unix格式
set ff? #显示当前文件格式
set ff=unix #设置成unix格式
set ff=dos #设置成dos格式
其中ff == fileformat,所以:set ff = unix 和 :set fileformat=unix是一样的效果
在VIM底行模式下执行
set fileformat=unix #设置成unix格式
set ff? #显示当前文件格式
set ff=unix #设置成unix格式
set ff=dos #设置成dos格式
其中ff == fileformat,所以:set ff = unix 和 :set fileformat=unix是一样的效果