Skip to content

Instantly share code, notes, and snippets.

View passbe's full-sized avatar

Ben Passmore passbe

View GitHub Profile
@passbe
passbe / gist:1310975
Created October 25, 2011 00:54 — forked from xntrik/gist:1088638
getting rid of pesky carat Ms or ^M characters in vim even after a dos2unix conversion.
: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).