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

199 active golfers, 734 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

12
#76 - Alex Rod. / @thealex23ro

07/01/2016 at 08:34PM

12
#77 - i33 / @i3342th

11/14/2018 at 08:42AM

13
#78 - Matt Rasmus / @_mattrasmus

10/10/2016 at 04:03PM

14
#79 - Jon Krause / @jkrause314

04/21/2016 at 07:52AM

15
#80 - Smylers / @Smylers2

04/27/2016 at 10:10AM

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

05/12/2016 at 02:42PM

15
#82 - (,,꒪꒫꒪,,) / @sneer

05/21/2016 at 11:25AM

15
#83 - Vaughn Cato / @vaughncato

05/26/2016 at 01:40PM

15
#84 - Arijus / @argshook

06/02/2016 at 01:27PM

15
#85 - tgmeng / @lazy_fabric

06/07/2016 at 11:14AM

15
#86 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 08:55AM

15
#87 - André Peric Tavares / @andre_peric

07/20/2016 at 08:53PM

15
#88 - Bill Ruddock / @biinari

10/31/2016 at 03:03AM

15
#89 - timerella® / @timerella

11/17/2016 at 10:08PM

15
#90 - Ryan Marcotte / @ryanjmarcotte

11/23/2016 at 10:56PM