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):
36
#91 - Ram Tamtam / @ramtamtamtam

07/04/2014 at 01:34PM

36
#92 - Adrien Fabre / @statox42

06/29/2015 at 12:24PM

36
#93 - prince ducaca / @prince_du_caca

09/26/2018 at 10:02PM

36
#94 - RockerZZY / @rocker_zzy

07/02/2020 at 01:10PM

37
#95 - xiaoao1024 / @xiaoao1024

01/02/2024 at 02:57PM

38
#96 - Ankit Shankar / @thelastnode

12/30/2010 at 06:33AM

38
#97 - Ben Lenarts / @benlenarts

12/30/2010 at 11:57AM

38
#98 - ise0615 / @ise0615

05/25/2012 at 06:10PM

38
#99 - Mrmclarrinson / @mrmclarrinson

12/13/2022 at 12:51PM

39
#100 - Douglas Stockwell / @dstockwell

12/30/2010 at 04:46AM

39
#101 - Kevin Merlin / @mp3merlin

12/30/2010 at 11:17AM

39
#102 - Will Gray / @graywh

01/01/2011 at 12:32AM

39
#103 - johnny / @johnnychm

01/01/2011 at 07:42PM

39
#104 - Willy / @Willy6932612311

09/07/2024 at 07:49PM

40
#105 - Behnam Esfahbod / @zwnj

12/30/2010 at 09:58AM

40
#106 - Dan Dorman / @dandorman

12/30/2010 at 11:01PM

40
#107 - David / @ddddddddavid

12/31/2010 at 04:18AM

40
#108 - Edwin Merkled / @emacs_viper

01/05/2011 at 08:25PM

40
#109 - mightyfoo / @mightyfoo

05/26/2011 at 03:21PM

40
#110 - Dave / @zzdave13

07/31/2011 at 08:50AM

40
#111 - GiaNU / @sgianazza

02/04/2012 at 03:47PM

40
#112 - Felipe Jaramillo F / @mrfelipe

05/03/2014 at 05:32PM

40
#113 - churaki / @churaki

01/26/2019 at 11:26AM

40
#114 - quemeraisc / @quemeraisc

05/24/2022 at 12:30PM

40
#115 - math is what I hate / @mpnmbn

09/20/2022 at 05:39PM

41
#116 - Aviv Ben-Yosef / @avivby

12/30/2010 at 07:21AM

41
#117 - James / @Dronak

09/21/2014 at 03:21AM

42
#118 - shahanavaz m / @shahanavazm

02/14/2022 at 05:22AM

43
#119 - William Shackleton / @wshackleton

01/02/2011 at 03:59PM

43
#120 - Francisco Dibar / @frandibar

01/11/2011 at 04:50AM