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):
15
#91 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 03:45PM

15
#92 - Fichera Gaetano / @gaetanofic

04/11/2018 at 02:59PM

15
#93 - fucus / @fishlovebanana

08/25/2018 at 02:07PM

15
#94 - vg / @vg53210350

10/28/2018 at 08:48PM

16
#95 - Victor Haffreingue / @nobe_4

04/21/2016 at 05:59AM

16
#96 - Sebastián Mancilla / @smancill_m

05/06/2016 at 11:27PM

16
#97 - Jacob Niehus / @wilywampa

06/20/2016 at 02:44AM

16
#98 - Ben Baker-Smith / @Bit_Synthesis

07/17/2016 at 06:07AM

16
#99 - John Barbero Unenge / @JBarberU

10/19/2016 at 12:53PM

16
#100 - Etienne Florent / @EtienneFlorent

11/23/2016 at 01:10PM

16
#101 - Hans Yelek / @hans_yelek

01/11/2017 at 05:56AM

16
#102 - Daniel / @Daniel00288663

03/21/2017 at 04:55PM

16
#103 - Chicuella / @chicuellahere

06/06/2017 at 10:40AM

16
#104 - Carl Egbert / @CarlOEgbert

06/11/2017 at 09:03PM

16
#105 - PCS Solutions / @PeteSolutions

08/15/2018 at 11:19PM

16
#106 - d8d90d / @d8d90d

08/19/2018 at 12:01AM

17
#107 - Louis Caruana / @louiecaruana

04/21/2016 at 03:17AM

17
#108 - SIGHODL / @AssafLavie

04/21/2016 at 05:35AM

17
#109 - Cristian Lupașcu / @clupasq

04/21/2016 at 07:45AM

17
#110 - Knoppi Brunzmann / @superknoppi

04/21/2016 at 09:14AM

17
#111 - glepha / @glepha_vim

04/21/2016 at 09:47AM

17
#112 - Kai Yuan / @kentyuan

04/21/2016 at 02:14PM

17
#113 - abhinavgujjar / @abhinavgujjar

04/21/2016 at 05:03PM

17
#114 - Tose / @Toseim

04/22/2016 at 08:02AM

17
#115 - Tallak Tveide / @tallakt

04/22/2016 at 09:07AM

17
#116 - Amar / @amarputki

04/22/2016 at 06:24PM

17
#117 - Daniel Burnett / @mango_cheetah

04/22/2016 at 09:30PM

17
#118 - f00b8tr / @f00b8tr5

04/23/2016 at 03:16AM

17
#119 - Philiphone / @Philiphone

04/23/2016 at 12:55PM

17
#120 - oscar / @zonza_mas

04/26/2016 at 04:00PM