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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 114 remaining solutions by signing in and submitting your own entry
#115 cracoucax / @cracoucax - Score: 354 - 12/30/10 @ 10:44
<Left><Down><Down><Down><Down><Up><Up><Up><Down><Down><Down><Down><Left><Left><Left><Left><Left><Left><Up><Up><Up>i<Left><Left><Left><Esc><Down><Down><Down><Down><Down><Up><Up><Up><Up><Up><Up><Up><Up>f,;<Right>D^^Pa,<Esc>Ajsmith<Esc>jbD^^Pa,<Esc>Abbron<BS>wn<Esc>jbD^^Pa,<Esc>Asjones<Esc><Up><Up><Up><Down><Down><Down>vbb<Esc><Esc><Right>D^^Pa,<Esc>Apgraham<Esc>bbbdb<Esc>udbxwlPxigrapham,<Esc><Up>bbdf,bbP<Up><Right>df,bbP<Up>w<Right>df,bbP<Down><Down><Down><Down><Up><Up><Up><Up><Down><Down><Down><Right><Right><Right><Right>x<Right><Right><Right><Right><Right><Right><Right><Right><Right>:w<CR>:wq<CR>

0 comments


Created by: @bjjwillis

115 active golfers, 310 entries

Leaderboard (lowest score wins):
22
#1 - Urtica dioica / @udioica

06/11/2012 at 10:41PM

22
#2 - Conner McDaniel / @connermcd

09/19/2012 at 04:18AM

22
#3 - Marco Hinz / @_mhinz_

05/28/2013 at 11:02AM

22
#4 - ynwsoft / @ynwsoft

12/25/2013 at 02:10PM

22
#5 - John Braxler / @braxler

05/23/2014 at 01:16PM

23
#6 - Tim Chase / @gumnos

01/18/2011 at 03:32PM

23
#7 - Federico Galassi / @federicogalassi

01/20/2011 at 08:49AM

23
#8 - Oleg Roshupkin / @jjjahson

01/21/2011 at 06:59AM

23
#9 - h_east (トロッコ6個) / @h_east

01/23/2011 at 02:10PM

23
#10 - Stephen Morrow / @yawmark

01/26/2011 at 01:57PM

23
#11 - Antony Scriven / @antonyscriven

02/10/2011 at 07:01PM

23
#12 - vg / @vimgolfer

02/26/2011 at 06:38PM

23
#13 - not so punk :] / @notsopunk

06/19/2011 at 11:45AM

23
#14 - Hu Junfeng / @junfeng

07/19/2011 at 09:13AM

23
#15 - William Dunand / @wdunand

12/01/2011 at 12:20AM

23
#16 - You-Siang Lin / @yslinnctu

12/02/2011 at 12:04AM

23
#17 - Jaime A. Sánchez / @jashbeta

12/22/2011 at 05:15AM

23
#18 - Renat Aksitov / @Korvin79

02/16/2012 at 12:38PM

23
#19 - Rod Knowlton / @codelahoma

06/05/2012 at 12:10AM

23
#20 - Vim rocks / @vimrocks

10/08/2012 at 09:56PM

23
#21 - a24f0600 / @a24f0600

01/24/2013 at 09:46AM

23
#22 - Petro Тrouq / @zulolosi

08/31/2013 at 06:59PM

23
#23 - Zapata / @Incredible_JFP

05/06/2014 at 02:22PM

23
#24 - Turkey Man / @lvturkeyman

12/03/2017 at 07:44AM

24
#25 - Wei Dai / @clvv42

01/01/2011 at 02:09PM

24
#26 - Ujjwol Lamichhane / @Ujjwol

01/06/2011 at 01:56PM

24
#27 - Hubba / @HubbaBubbaFett

12/26/2012 at 01:20PM

24
#28 - Yann Moisan / @YannMoisan

01/25/2013 at 03:47PM

24
#29 - Matthieu Crapet / @mcr05

03/06/2015 at 08:02PM

24
#30 - pftb12345 / @pftb12345

04/26/2015 at 12:28AM