Numbering a List
Pretty simple, number the list.
Start file
line one line two line three line four line five line six line seven line eight
End file
1. line one 2. line two 3. line three 4. line four 5. line five 6. line six 7. line seven 8. line eight
View Diff
1,8c1,8 < line one < line two < line three < line four < line five < line six < line seven < line eight --- > 1. line one > 2. line two > 3. line three > 4. line four > 5. line five > 6. line six > 7. line seven > 8. line eight
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 635 remaining solutions by signing in and submitting your own entry
#636 David Moulton / @dmoulton - Score: 74 - 03/17/11 @ 20:01
i1<Esc>a. <Esc><Down><Left><Left>i2<Esc>.<Esc>x<Right>i <BS>. <Esc><Down><Left><Left>3i3. <Down><Left><Left><Left><Left>4. <Down><Left><Left><Left>5. <Down><Left><Left><Left><Left>6. <Down><Left><Left><Left>7. <Down><Left><Left><Left><Left>8. <Esc>:wq<CR>
0 comments