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

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

127 active golfers, 349 entries

Solutions by @junfeng:
23
#14 - Hu Junfeng / @junfeng

07/19/2011 at 09:13AM

24
#>30 - Hu Junfeng / @junfeng

07/19/2011 at 09:11AM

28
#>45 - Hu Junfeng / @junfeng

07/19/2011 at 09:09AM

29
#>55 - Hu Junfeng / @junfeng

07/19/2011 at 09:07AM

30
#>65 - Hu Junfeng / @junfeng

07/19/2011 at 09:06AM

33
#>74 - Hu Junfeng / @junfeng

07/19/2011 at 09:01AM

36
#>81 - Hu Junfeng / @junfeng

07/19/2011 at 06:27AM