I recently discovered an Ex Reference Manual and decided to explore Vim’s colon prompt for a bit. I discovered some interesting things that I didn’t know. First a few of the basics:

You can delete line 33 like so:


You can delete lines 10-15 like so:


You can indent or unindent lines with > and <:


Most of the things you can do with sed, you can do from the ex prompt.