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 126 remaining solutions by signing in and submitting your own entry
#127 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

127 active golfers, 349 entries

Leaderboard (lowest score wins):
30
#61 - Addisu Taddese / @azeey

12/30/2010 at 10:16AM

30
#62 - Adam Pohorecki / @apohorecki

12/30/2010 at 01:05PM

30
#63 - Jim Garvin / @coderifous

12/30/2010 at 09:19PM

30
#64 - Mattiassich Ákos / @mattiassicha

01/16/2011 at 02:06PM

30
#65 - Wesley Wong / @wesleymwwong

01/30/2011 at 11:08AM

31
#66 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 10:05PM

31
#67 - Chenut Ludovic / @7Brwa7

04/04/2016 at 03:32PM

32
#68 - Pierre / @Pihour

01/01/2011 at 11:42AM

32
#69 - Kim Silkebækken / @Lokaltog

01/04/2011 at 07:35PM

32
#70 - t_lini / @t_lini

01/09/2011 at 05:20PM

32
#71 - cj / @cj01101

10/24/2013 at 05:24PM

33
#72 - greg / @kongo2002

12/31/2010 at 12:00AM

33
#73 - Pete Johns / @johnsyweb

01/02/2011 at 10:40AM

33
#74 - Ian McCowan / @valrus

05/30/2011 at 01:20AM

33
#75 - Jim Infield / @jinfield

07/21/2011 at 07:35PM

33
#76 - Andrey Ivanov / @Bytamine

08/15/2011 at 03:24PM

34
#77 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 05:59AM

34
#78 - Asmund / @herrasbe

12/30/2010 at 06:23PM

34
#79 - Michael Kummer / @randompast

07/06/2013 at 06:05PM

34
#80 - Gurukandhamoorthi / @Gurukandhamoor1

08/21/2017 at 03:55PM

35
#81 - ltn614 / @ltn614

10/03/2015 at 01:57PM

36
#82 - Trevor Powell / @DoomedBunnies

11/30/2011 at 04:14AM

36
#83 - Marcin Szamotulski / @me_coot

12/05/2012 at 08:22PM

36
#84 - Oliver Christ / @0liverChrist

11/11/2013 at 05:05PM

36
#85 - Ram Tamtam / @ramtamtamtam

07/04/2014 at 01:34PM

36
#86 - Adrien Fabre / @statox42

06/29/2015 at 12:24PM

36
#87 - prince ducaca / @prince_du_caca

09/26/2018 at 10:02PM

36
#88 - RockerZZY / @rocker_zzy

07/02/2020 at 01:10PM

38
#89 - Ankit Shankar / @thelastnode

12/30/2010 at 06:33AM

38
#90 - Ben Lenarts / @benlenarts

12/30/2010 at 11:57AM