tip to replace ^M by unix new line ending that appear on some file. ^ mean ctrl key.
1 :%s/^V^M/\r/g
You can also do it with konwert, like this:
1 !#/bin/bash2 konwert lf -O file
tip to **replace ^M by unix new line ending** that appear on some file. ^ mean _ctrl key_.
benoitc
by benoitc to vim convert convertir content
by jumar to vim convert convertir content
by flaith to vim convert convertir content
by maspalio to vim convert convertir content
1 comments
You can also do it with konwert, like this: