Useful vi commands

Here are two useful vi commands:

globally find and replace ^M characters with nothing

:s/^V^M/g

globally delete blank lines

:g/^$/d
CategoriesviTags