Today I found a cool trick on the Vim SubReddit: how to quickly create ordered lists.

Here’s a screen-cast by rnevius: asciicast

Steps

Let’s say that you have a list:

one item
another item
it's an item
  1. Use <C-v> (CTRL + V), then I to select all lines at the start of the line and add a 0. in front of each:
0. one item
0. another item
0. it's an item
  1. Now we can use V to select each line where we want to increment the number, then g <C-a> (g followed by CTRL+A).

Now the list looks like this

0. one item
1. another item
2. it's an item

Further Reading