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

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

144 active golfers, 450 entries

Solutions by @leonkacowicz:
23
#34 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:40AM

24
#>42 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:40AM

26
#>43 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:38AM

27
#>44 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:37AM

28
#>55 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:36AM

29
#>64 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:35AM

30
#>71 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:34AM

31
#>73 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:33AM

32
#>77 - Leon Kacowicz / @leonkacowicz

05/06/2025 at 12:31AM