My Favorite Vim Commands
Where I learn more and more about Vim, my favorite programmer's editor.
Thursday, March 4, 2010
Vim and Mac to Unix and CR to LF
How do you translate a CR
to a LF? How to your translate
a Classic Mac text file to Unix?
Here's a simple command that will
do this:
:%s/\r/\r/g
Here's where I learned how to do
this:
Change end-of-line format for dos-mac-unix
Ed Abbott
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment