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):
17
#121 - Knoppi Brunzmann / @superknoppi

04/21/2016 at 09:14AM

17
#122 - glepha / @glepha_vim

04/21/2016 at 09:47AM

17
#123 - Kai Yuan / @kentyuan

04/21/2016 at 02:14PM

17
#124 - abhinavgujjar / @abhinavgujjar

04/21/2016 at 05:03PM

17
#125 - Tose / @Toseim

04/22/2016 at 08:02AM

17
#126 - Tallak Tveide / @tallakt

04/22/2016 at 09:07AM

17
#127 - Amar / @amarputki

04/22/2016 at 06:24PM

17
#128 - Daniel Burnett / @mango_cheetah

04/22/2016 at 09:30PM

17
#129 - f00b8tr / @f00b8tr5

04/23/2016 at 03:16AM

17
#130 - Philiphone / @Philiphone

04/23/2016 at 12:55PM

17
#131 - oscar / @zonza_mas

04/26/2016 at 04:00PM

17
#132 - L3viathan / @L3viathan2142

04/28/2016 at 04:51PM

17
#133 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 01:54PM

17
#134 - Daniel Latzer / @tournqat

05/02/2016 at 04:04PM

17
#135 - Yudi Matsuzake / @yudimatsuzake

05/03/2016 at 03:09AM

17
#136 - John / @gonads31

05/04/2016 at 09:35AM

17
#137 - Ben Hill / @KaizenSoze70

05/10/2016 at 08:44PM

17
#138 - よっぴぃ / @yoppynmhs

05/12/2016 at 05:02AM

17
#139 - george iv / @geowa4

05/14/2016 at 03:09AM

17
#140 - David Devecsery / @devecsery

06/12/2016 at 07:32PM

17
#141 - Ryan van Rensburg / @rdvr001

07/18/2016 at 06:40PM

17
#142 - George Angelopoulos / @g_usermod

08/05/2016 at 08:46AM

17
#143 - Netrisk Cool / @C00lt0

09/30/2016 at 08:31AM

17
#144 - TweetDreams / @TweetMusicians

10/08/2016 at 11:13PM

17
#145 - James Burns / @James_Ian_Burns

11/11/2016 at 08:32PM

17
#146 - Sxcy / @SxcyX

10/22/2018 at 09:11PM

18
#147 - Niru Maheswaranathan / @niru_m

04/21/2016 at 01:08AM

18
#148 - Ernesto Nakamura / @ernestonakamura

04/21/2016 at 03:37AM

18
#149 - Shawn Wallis / @bote52469207

04/21/2016 at 04:05AM

18
#150 - Champion Pierre / @Pierre_darkirus

04/21/2016 at 05:49PM