change line endings using VIM

:w ++ff=unix

 

详细参见:

https://stackoverflow.com/questions/82726/convert-dos-windows-line-endings-to-linux-line-endings-in-vim

 

posted @ 2024-03-25 13:41  profesor  阅读(13)  评论(0)    收藏  举报