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 53ab5ade4367c700025ce66a

Shuffle puzzle

Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.

Start file
3
       
4
       
2
1
       
3
       
1
2
       
5
       
8
End file
1
       
1
       
3
2
       
5
       
8
3
       
2
       
4

View Diff

1,3d0
< 3
<       4
<       2
5d1
<       3
6a3
>       3
9a7,9
> 3
>       2
>       4

Solutions by @PeppaPigSg:

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

104 active golfers, 346 entries

Solutions by @PeppaPigSg:
13
#23 - Peppa Pig / @PeppaPigSg

08/10/2024 at 12:14AM

14
#>51 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:20AM

15
#>69 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:19AM

16
#>84 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:18AM

18
#>95 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:18AM

21
#>98 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:17AM

22
#>99 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:17AM

24
#>100 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:16AM

25
#>101 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:16AM

27
#>103 - Peppa Pig / @PeppaPigSg

05/05/2024 at 10:15AM