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 571808767dd9d30009000001

Align commas

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

Start file
just = make,
       all,
       the,
       commas,
       line,
       up
End file
just = make  ,
       all   ,
       the   ,
       commas,
       line  ,
       up

View Diff

Hope you're all doing well. Goal is 11.

Tweet me a shoutout if you read View Diff.

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 210 remaining solutions by signing in and submitting your own entry
#211 Jon Barson / @jbarson - Score: 77 - 04/22/16 @ 19:10
<Esc>:%s/,/<Tab>,/g<CR><Esc>:<Esc><Up><Right><Right><Right><Right><Right><Right>x<Up>x<Up>x<Up>xuuuuuuuuuuu<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>i  <Left><Left><Left><Down>   <Left><Left><Left><Down>   <Down><Left><Down><Left>  <Esc>ZZ

0 comments


Created by: @udioica

211 active golfers, 854 entries

Leaderboard (lowest score wins):
11
#61 - David Gustavsson / @mrGustaphe

06/14/2017 at 03:47PM

11
#62 - Anne Pacalet / @_Anne_P

07/20/2017 at 12:07PM

11
#63 - Turkey Man / @lvturkeyman

11/10/2017 at 04:48PM

11
#64 - ParasamGateZero / @ParasamGateZero

01/31/2018 at 07:34AM

11
#65 - GreenPinguin / @GreenPinguin2

03/30/2018 at 03:37PM

11
#66 - Matt Robinson / @mmrobins

04/03/2018 at 03:52PM

11
#67 - Tim Boooo-ckley 👻 / @timbucki

04/03/2018 at 04:05PM

11
#68 - DHM / @DHM29978992

04/21/2018 at 02:58AM

11
#69 - platypusDancing / @platypusDancing

05/03/2018 at 07:35PM

11
#70 - Daniël De Koker / @daniel_koker

06/27/2018 at 12:23PM

11
#71 - Pfhor / @PfhorShark

07/25/2018 at 10:38PM

11
#72 - h3is3nd3rp / @h3is3nd3rp

08/05/2018 at 06:20PM

11
#73 - Jeff / @sir_wiggles3

09/13/2018 at 04:29PM

11
#74 - Nir Givon / @nir_givon

11/07/2018 at 08:24PM

11
#75 - Dax / @zacoxi

11/12/2018 at 06:55AM

11
#76 - name / @name65894813

11/21/2018 at 11:51PM

11
#77 - alekfed / @alek_fed

04/15/2019 at 03:09PM

11
#78 - 波波 / @sbob87

04/25/2019 at 02:57AM

11
#79 - Vimfiz / @vimfiz

04/30/2019 at 04:42PM

11
#80 - Grant / @grant_7788

05/13/2019 at 08:41AM

11
#81 - majo senf / @majo_senf

06/18/2019 at 12:41PM

11
#82 - Wistan Chou / @wisty97

08/14/2019 at 06:51PM

12
#83 - Alex Rod. / @thealex23ro

07/01/2016 at 08:34PM

12
#84 - i33 / @i3342th

11/14/2018 at 08:42AM

12
#85 - Mihai / @mihaicristiant

12/08/2018 at 12:55PM

13
#86 - Matt Rasmus / @_mattrasmus

10/10/2016 at 04:03PM

13
#87 - Chester Yap / @Chest_ErYap

08/13/2019 at 12:04AM

14
#88 - Jon Krause / @jkrause314

04/21/2016 at 07:52AM

15
#89 - Smylers / @Smylers2

04/27/2016 at 10:10AM

15
#90 - Tamas Gal (Tom) / @tamasgal

05/12/2016 at 02:42PM