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):
38
#91 - ise0615 / @ise0615

05/25/2012 at 06:10PM

39
#92 - Douglas Stockwell / @dstockwell

12/30/2010 at 04:46AM

39
#93 - Kevin Merlin / @mp3merlin

12/30/2010 at 11:17AM

39
#94 - Will Gray / @graywh

01/01/2011 at 12:32AM

39
#95 - johnny / @johnnychm

01/01/2011 at 07:42PM

40
#96 - Behnam Esfahbod / @zwnj

12/30/2010 at 09:58AM

40
#97 - Dan Dorman / @dandorman

12/30/2010 at 11:01PM

40
#98 - David / @ddddddddavid

12/31/2010 at 04:18AM

40
#99 - Edwin Merkled / @emacs_viper

01/05/2011 at 08:25PM

40
#100 - mightyfoo / @mightyfoo

05/26/2011 at 03:21PM

40
#101 - Dave / @zzdave13

07/31/2011 at 08:50AM

40
#102 - GiaNU / @sgianazza

02/04/2012 at 03:47PM

40
#103 - Felipe Jaramillo F / @mrfelipe

05/03/2014 at 05:32PM

40
#104 - churaki / @churaki

01/26/2019 at 11:26AM

40
#105 - quemeraisc / @quemeraisc

05/24/2022 at 12:30PM

41
#106 - Aviv Ben-Yosef / @avivby

12/30/2010 at 07:21AM

41
#107 - James / @Dronak

09/21/2014 at 03:21AM

42
#108 - shahanavaz m / @shahanavazm

02/14/2022 at 05:22AM

43
#109 - William Shackleton / @wshackleton

01/02/2011 at 03:59PM

43
#110 - Francisco Dibar / @frandibar

01/11/2011 at 04:50AM

44
#111 - Jonas Ng / @jnshey

05/16/2015 at 09:57AM

44
#112 - Marten Ringwelski / @Marteon27

12/09/2018 at 05:16PM

45
#113 - Lajos Koszti / @Ajnasz

08/23/2011 at 03:22PM

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

12/30/2010 at 03:33AM

46
#115 - Peter Anselmo / @peter_anselmo

01/03/2011 at 05:49AM

46
#116 - drio / @drio

01/07/2011 at 02:30PM

46
#117 - Toto l'haricot / @nico_le_terribl

01/09/2011 at 10:02PM

49
#118 - Arto Vuori / @dhpe

09/01/2012 at 07:21PM

50
#119 - Juan C. Muller / @juancmuller

12/31/2010 at 03:24AM

53
#120 - Marc Simonin / @TheGnorf

12/30/2010 at 02:04PM