在vim中判斷檔案格式,是dos或者unix

xiaoxiao2022-06-02  5

在vim中輸入

:set ff?

如果檔案是dos,將要顯示

fileformat=dos

如果檔案是unix,將要顯示

fileformat=unix

 

转载请注明原文地址: https://www.6miu.com/read-4914548.html

最新回复(0)