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 653 remaining solutions by signing in and submitting your own entry
#654 Daniel Marín / @dmar1n - Score: 276 - 06/02/24 @ 10:16
<C-V>lljjjjjhhhjjjiI><C-V>jjjjjjji1. hi.<Esc>kkkkkkkhjk<C-V>jjjjjjjr.Vbbljjkk<Esc>jkh<C-V>jjjjlllllljjji1<Esc>iv<BS><C-V>hh<BS><BS><C-V>hh<BS><BS>kk<BS><BS><Esc>kkkkkkkbb<C-V>jjjjlllllljjjr1<C-V>jjjjjllllljjdjr2jr2r3jr4jr5jr6jr7jr8llih<BS>kk<BS><BS><Esc>kkkkkkk<C-V>jjjjjjja1<Esc>lhl<C-V>iiil<Esc>kkkkkkki kj<BS><BS><Esc>ji <Esc>ji j<BS><Esc>ji<Esc>li <Esc>ji<Esc>l hi<Esc>li <Esc>ji <Esc>ji <Esc>ji<Esc>li l:<BS><Esc>wqbbbllxi:<BS><Esc>:wq<CR>
0 comments