Created
July 18, 2011 05:53
-
-
Save xntrik/1088638 to your computer and use it in GitHub Desktop.
getting rid of pesky carat Ms or ^M characters in vim even after a dos2unix conversion.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:g/^M/s///g | |
BUT, you can't just write <Shift>+6 for the ^ character, you need to hold down <Ctrl>+VM (or <Ctrl>V <Ctrl>M). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment