Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 51b4e3b920faf70002000001

Number an outline

The indent and words are right, but the numbers are all wrong.

Start file
1. One
  1. One
    1. One
  1. Two
    1. One
    1. Two
      1. One
    1. Three
    1. Four
  1. Three
    1. One
      1. One
      1. Two
    1. Two
  1. Four
    1. One
    1. Two
    1. Three
    1. Four
    1. Five
    1. Six
  1. Five
    1. One
    1. Two
    1. Three
1. Two
  1. One
    1. One
    1. Two
    1. Three
    1. Four
    1. Five
  1. Two
End file
1. One
  1. One
    1. One
  2. Two
    1. One
    2. Two
      1. One
    3. Three
    4. Four
  3. Three
    1. One
      1. One
      2. Two
    2. Two
  4. Four
    1. One
    2. Two
    3. Three
    4. Four
    5. Five
    6. Six
  5. Five
    1. One
    2. Two
    3. Three
2. Two
  1. One
    1. One
    2. Two
    3. Three
    4. Four
    5. Five
  2. Two

View Diff

4c4
<   1. Two
---
>   2. Two
6c6
<     1. Two
---
>     2. Two
8,10c8,10
<     1. Three
<     1. Four
<   1. Three
---
>     3. Three
>     4. Four
>   3. Three
13,15c13,15
<       1. Two
<     1. Two
<   1. Four
---
>       2. Two
>     2. Two
>   4. Four
17,22c17,22
<     1. Two
<     1. Three
<     1. Four
<     1. Five
<     1. Six
<   1. Five
---
>     2. Two
>     3. Three
>     4. Four
>     5. Five
>     6. Six
>   5. Five
24,26c24,26
<     1. Two
<     1. Three
< 1. Two
---
>     2. Two
>     3. Three
> 2. Two
29,33c29,33
<     1. Two
<     1. Three
<     1. Four
<     1. Five
<   1. Two
---
>     2. Two
>     3. Three
>     4. Four
>     5. Five
>   2. Two

Solutions by @z00master:

Unlock 14 remaining solutions by signing in and submitting your own entry
Created by: @udioica

78 active golfers, 280 entries

Solutions by @z00master:
40
#30 - z00master / @z00master

08/29/2022 at 03:48PM

41
#>32 - z00master / @z00master

08/29/2022 at 03:47PM

43
#>34 - z00master / @z00master

08/29/2022 at 03:46PM

46
#>35 - z00master / @z00master

08/29/2022 at 03:45PM

48
#>37 - z00master / @z00master

08/29/2022 at 03:44PM

49
#>38 - z00master / @z00master

08/29/2022 at 03:41PM

49
#>38 - z00master / @z00master

08/29/2022 at 03:43PM

51
#>39 - z00master / @z00master

08/29/2022 at 03:41PM

52
#>41 - z00master / @z00master

08/29/2022 at 03:38PM

59
#>49 - z00master / @z00master

08/29/2022 at 03:35PM

60
#>50 - z00master / @z00master

08/29/2022 at 03:34PM

61
#>52 - z00master / @z00master

08/29/2022 at 03:33PM

65
#>57 - z00master / @z00master

08/29/2022 at 03:32PM

66
#>61 - z00master / @z00master

08/29/2022 at 03:30PM