vim格式转换

set ff? #显示当前文件格式
set ff=unix #设置成unix格式
set ff=dos #设置成dos格式

原文地址:https://www.cnblogs.com/jiftle/p/13688519.html