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 4d1a790fb8cb3409320001a8

Reformat most common surnames

Reformat copy-pasted table into a list of the most common surnames

Start file
Surname  	Approx Number  	% Frequency  	Rank  
SMITH	 2,501,922	1.006	1
JOHNSON	 2,014,470	0.81	2
WILLIAMS	 1,738,413	0.699	3
JONES	 1,544,427	0.621	4
BROWN	 1,544,427	0.621	5
DAVIS	 1,193,760	0.48	6
MILLER	 1,054,488	0.424	7
WILSON	 843,093	0.339	8
MOORE	 775,944	0.312	9
TAYLOR	 773,457	0.311	10
End file
1. Smith
2. Johnson
3. Williams
4. Jones
5. Brown
6. Davis
7. Miller
8. Wilson
9. Moore
10. Taylor

View Diff

1,11c1,10
< Surname  	Approx Number  	% Frequency  	Rank  
< SMITH	 2,501,922	1.006	1
< JOHNSON	 2,014,470	0.81	2
< WILLIAMS	 1,738,413	0.699	3
< JONES	 1,544,427	0.621	4
< BROWN	 1,544,427	0.621	5
< DAVIS	 1,193,760	0.48	6
< MILLER	 1,054,488	0.424	7
< WILSON	 843,093	0.339	8
< MOORE	 775,944	0.312	9
< TAYLOR	 773,457	0.311	10
---
> 1. Smith
> 2. Johnson
> 3. Williams
> 4. Jones
> 5. Brown
> 6. Davis
> 7. Miller
> 8. Wilson
> 9. Moore
> 10. Taylor

Solutions by @bounce114:

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

229 active golfers, 794 entries

Solutions by @bounce114:
24
#38 - bounce114 / @bounce114

12/02/2024 at 05:34AM

25
#>71 - bounce114 / @bounce114

12/02/2024 at 05:29AM

26
#>88 - bounce114 / @bounce114

12/02/2024 at 05:28AM

27
#>97 - bounce114 / @bounce114

12/02/2024 at 05:27AM

28
#>113 - bounce114 / @bounce114

12/02/2024 at 05:26AM

30
#>133 - bounce114 / @bounce114

12/02/2024 at 05:23AM

31
#>137 - bounce114 / @bounce114

12/02/2024 at 05:21AM

32
#>142 - bounce114 / @bounce114

12/02/2024 at 05:19AM

36
#>157 - bounce114 / @bounce114

12/02/2024 at 05:14AM

37
#>164 - bounce114 / @bounce114

12/02/2024 at 05:01AM

40
#>176 - bounce114 / @bounce114

12/02/2024 at 05:06AM

43
#>184 - bounce114 / @bounce114

12/02/2024 at 05:12AM

45
#>186 - bounce114 / @bounce114

12/02/2024 at 04:59AM

55
#>208 - bounce114 / @bounce114

12/02/2024 at 04:35AM