How To Remove ^M Characters in Vim?

Moved  a text file between tow different operating systems? Found the annoying ^M special character? Here are ways to remove ^M character. To remove ^M within a line (without creating a a line break) :%s/^V^M//g To remove ^M within a line (creating a a line break) :%s/^V^M/^V^M/g

How to Make Vim More Colorful? Hint: Use Color Scheme

Are you not satisfied with the colors you have on Vim? Vim has loads of options to make your Vim editing colorful and cheerful experience.  The basic command in Vim to switch on colors or switch off colors is “syntax”.  Just to try and see how the syntax command changes the colors on your Vim… Continue reading How to Make Vim More Colorful? Hint: Use Color Scheme