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):
24
#31 - Hubba / @HubbaBubbaFett

12/26/2012 at 01:20PM

24
#32 - Yann Moisan / @YannMoisan

01/25/2013 at 03:47PM

24
#33 - Matt / @mcr05

03/06/2015 at 08:02PM

24
#34 - pftb12345 / @pftb12345

04/26/2015 at 12:28AM

24
#35 - Daniel / @Daniel00288663

04/06/2017 at 03:47PM

24
#36 - mevmev / @mevmev8

09/20/2021 at 10:34PM

26
#37 - Kerson Hsiao / @KersonHsiao

08/03/2012 at 01:33AM

27
#38 - Tyler / @tylerbindon

04/02/2013 at 05:15AM

28
#39 - Brad / @bjjwillis

12/30/2010 at 08:46AM

28
#40 - Utkarsh Kukreti / @utkarshkukreti

12/30/2010 at 09:16AM

28
#41 - Fer Enaf / @0x00C0FFEE

12/30/2010 at 01:07PM

28
#42 - Dmytro Shteflyuk / @kpumuk

12/31/2010 at 05:40AM

28
#43 - Vincent Isambart / @vincentisambart

01/01/2011 at 07:11AM

28
#44 - ls lahrs / @lslah

01/04/2011 at 07:33PM

28
#45 - Justin Love / @wondible

06/21/2011 at 02:24PM

28
#46 - Christopher Brew / @Seph1rothVII

01/25/2012 at 09:57PM

28
#47 - 無ん垢の叫び / @john_ababa

03/13/2012 at 07:32AM

28
#48 - Nolen Royalty / @NolenRoyalty

04/21/2012 at 02:22AM

28
#49 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 03:58PM

29
#50 - Austin Taylor / @austintaylor

12/30/2010 at 04:55AM

29
#51 - Akira Matsuda / @a_matsuda

12/30/2010 at 07:21PM

29
#52 - Balkoth / @_Balkoth_

12/31/2010 at 04:37PM

29
#53 - Eivind Jahren / @HaskellElephant

01/14/2011 at 10:41PM

29
#54 - xhtmlforum / @xhtmlforum

01/25/2011 at 10:42AM

29
#55 - Øystein Walle / @oysteinwalle

07/11/2011 at 08:34AM

29
#56 - Jesús Espino / @jespinog

09/05/2011 at 10:18PM

29
#57 - Vasil Sakarov / @vsakarov

01/17/2012 at 09:24PM

29
#58 - Arijus / @argshook

01/23/2019 at 12:30PM

30
#59 - Mike Plotz / @antisuji

12/30/2010 at 03:33AM

30
#60 - Josh Weinberg / @jcweinberg

12/30/2010 at 03:44AM