Linux Scrapbook
Friday, February 14, 2014
Convert line endings from dos to unix in vim
To convert line endings from dos to unix in vim open your file, then:-
:update
:e ++ff=dos
:setlocal ff=unix
:wq
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment