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 @GavinKoeng:

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

106 active golfers, 361 entries

Solutions by @GavinKoeng:
13
#25 - Gavin / @GavinKoeng

05/07/2026 at 01:17AM

13
#>25 - Gavin / @GavinKoeng

05/07/2026 at 01:18AM

14
#>52 - Gavin / @GavinKoeng

05/07/2026 at 01:17AM

15
#>70 - Gavin / @GavinKoeng

05/07/2026 at 01:16AM

16
#>85 - Gavin / @GavinKoeng

05/07/2026 at 01:16AM

17
#>93 - Gavin / @GavinKoeng

05/07/2026 at 01:16AM

18
#>97 - Gavin / @GavinKoeng

05/07/2026 at 01:15AM

19
#>99 - Gavin / @GavinKoeng

05/07/2026 at 01:15AM

21
#>100 - Gavin / @GavinKoeng

05/07/2026 at 01:15AM

23
#>101 - Gavin / @GavinKoeng

05/07/2026 at 01:15AM

26
#>104 - Gavin / @GavinKoeng

05/07/2026 at 01:14AM

27
#>105 - Gavin / @GavinKoeng

05/07/2026 at 01:14AM

28
#>106 - Gavin / @GavinKoeng

05/07/2026 at 01:13AM

28
#>106 - Gavin / @GavinKoeng

05/07/2026 at 01:14AM