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

Table Reshuffle

Fix the column order in this table... also append the new 'username' column.

Start file
smith,john,27
brown
,bob,35
jones
,steve,19
graham
,phil,44
End file
27,john,smith,jsmith
35,bob,brown,bbrown
19,steve,jones,sjones
44,phil,graham,pgraham

View Diff

1,4c1,4
< smith,john,27
< brown,bob,35
< jones,steve,19
< graham,phil,44
---
> 27,john,smith,jsmith
> 35,bob,brown,bbrown
> 19,steve,jones,sjones
> 44,phil,graham,pgraham

Solutions by @brandonce:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @bjjwillis

144 active golfers, 450 entries

Solutions by @brandonce:
53
#138 - Brando / @brandonce

01/30/2025 at 08:54AM

59
#>138 - Brando / @brandonce

01/30/2025 at 08:52AM

60
#>139 - Brando / @brandonce

01/30/2025 at 08:52AM

61
#>139 - Brando / @brandonce

01/30/2025 at 08:50AM

74
#>141 - Brando / @brandonce

01/30/2025 at 08:36AM