Reverse and count
Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.
Start file
Sixth line Fifth line Fourth line Third line Second line First line
End file
1. First line 2. Second line 3. Third line 4. Fourth line 5. Fifth line 6. Sixth line
View Diff
1,6c1,6 < Sixth line < Fifth line < Fourth line < Third line < Second line < First line --- > 1. First line > 2. Second line > 3. Third line > 4. Fourth line > 5. Fifth line > 6. Sixth line
Solutions by @bjjwillis:
Unlock 2 remaining solutions by signing in and submitting your own entry