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

142 active golfers, 439 entries

Leaderboard (lowest score wins):
43
#121 - William Shackleton / @wshackleton

01/02/2011 at 03:59PM

43
#122 - Francisco Dibar / @frandibar

01/11/2011 at 04:50AM

44
#123 - Jonas Ng / @jnshey

05/16/2015 at 09:57AM

44
#124 - Marten Ringwelski / @Marteon27

12/09/2018 at 05:16PM

45
#125 - Lajos Koszti / @Ajnasz

08/23/2011 at 03:22PM

45
#126 - dp403aan / @dp403aan

02/02/2025 at 06:52PM

46
#127 - Rémi Prévost / @remi

12/30/2010 at 03:33AM

46
#128 - Peter Anselmo / @peter_anselmo

01/03/2011 at 05:49AM

46
#129 - drio / @drio

01/07/2011 at 02:30PM

46
#130 - Toto l'haricot / @nico_le_terribl

01/09/2011 at 10:02PM

49
#131 - Arto Vuori / @dhpe

09/01/2012 at 07:21PM

49
#132 - Kanmuruuruu / @Kanmuruuruu

04/05/2024 at 08:29PM

50
#133 - Juan C. Muller / @juancmuller

12/31/2010 at 03:24AM

53
#134 - Marc Simonin / @TheGnorf

12/30/2010 at 02:04PM

53
#135 - David Lam / @lamdk

01/02/2011 at 07:57AM

53
#136 - Brando / @brandonce

01/30/2025 at 08:54AM

60
#137 - Soliman Sylvain / @sylvain_soliman

12/30/2010 at 06:46PM

62
#138 - Przemysław Pawełczyk / @przemoc86

12/30/2010 at 07:50PM

68
#139 - Tien Le / @tienlex

12/31/2010 at 04:17PM

78
#140 - Benjamin Small / @ph1g

12/30/2010 at 03:27AM

93
#141 - raj / @rajlekkala

12/30/2010 at 10:29AM

354
#142 - cracoucax / @cracoucax

12/30/2010 at 10:44AM