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

138 active golfers, 410 entries

Leaderboard (lowest score wins):
29
#61 - Vasil Sakarov / @vsakarov

01/17/2012 at 09:24PM

29
#62 - Arijus / @argshook

01/23/2019 at 12:30PM

30
#63 - Mike Plotz / @antisuji

12/30/2010 at 03:33AM

30
#64 - Josh Weinberg / @jcweinberg

12/30/2010 at 03:44AM

30
#65 - Addisu Taddese / @azeey

12/30/2010 at 10:16AM

30
#66 - Adam Pohorecki / @apohorecki

12/30/2010 at 01:05PM

30
#67 - Jim Garvin / @coderifous

12/30/2010 at 09:19PM

30
#68 - Mattiassich Ákos / @mattiassicha

01/16/2011 at 02:06PM

30
#69 - Wesley Wong / @wesleymwwong

01/30/2011 at 11:08AM

31
#70 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 10:05PM

31
#71 - Chenut Ludovic / @7Brwa7

04/04/2016 at 03:32PM

32
#72 - Pierre / @Pihour

01/01/2011 at 11:42AM

32
#73 - Kim Silkebækken / @Lokaltog

01/04/2011 at 07:35PM

32
#74 - t_lini / @t_lini

01/09/2011 at 05:20PM

32
#75 - cj / @cj01101

10/24/2013 at 05:24PM

33
#76 - greg / @kongo2002

12/31/2010 at 12:00AM

33
#77 - Pete Johns / @johnsyweb

01/02/2011 at 10:40AM

33
#78 - Ian McCowan / @valrus

05/30/2011 at 01:20AM

33
#79 - Jim Infield / @jinfield

07/21/2011 at 07:35PM

33
#80 - Andrey Ivanov / @Bytamine

08/15/2011 at 03:24PM

33
#81 - steve / @steve35773420

03/04/2023 at 06:08PM

34
#82 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 05:59AM

34
#83 - Asmund / @herrasbe

12/30/2010 at 06:23PM

34
#84 - Michael Kummer / @randompast

07/06/2013 at 06:05PM

34
#85 - Gurukandhamoorthi / @Gurukandhamoor1

08/21/2017 at 03:55PM

35
#86 - ltn614 / @ltn614

10/03/2015 at 01:57PM

35
#87 - muhahm / @muhahm263029

08/10/2024 at 04:26AM

36
#88 - Trevor Powell / @DoomedBunnies

11/30/2011 at 04:14AM

36
#89 - Marcin Szamotulski / @me_coot

12/05/2012 at 08:22PM

36
#90 - Oliver Christ / @0liverChrist

11/11/2013 at 05:05PM