Created
July 11, 2011 21:25
-
-
Save RIAstar/1076822 to your computer and use it in GitHub Desktop.
[vim] search & replace stuff
This file contains 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
" remove ctrl+M at linebreaks | |
:1,$s/^M//g | |
" type :1,$s/ CTRL-Q CTRL-M //g for entering the ^M character | |
" backslash to forward slash | |
:%s/\\/\//g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment