Here is an easy way to get rid of the annoying characters gedit adds to your files
:%s/^V^M//g
The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this:
:%s/^M//g
I have some nice pictures of rain drops that I have wanted to blog about but that can wait for post exams
0 Responses to “Useful VI tip”