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  阅读(2)  评论(0编辑  收藏  举报