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

246 active golfers, 1095 entries

Leaderboard (lowest score wins):
11
#1 - John Braxler / @braxler

04/21/2016 at 02:16PM

11
#2 - Urtica dioica / @udioica

04/21/2016 at 06:30PM

11
#3 - Javier Rizzo / @javierrizzoa

04/21/2016 at 06:39PM

11
#4 - Olivia Tharp / @tehlivi

04/22/2016 at 08:03PM

11
#5 - Diego Garcia ⚒ / @drgarcia1986

04/22/2016 at 10:33PM

11
#6 - Tom Harada / @p10q

04/25/2016 at 12:35AM

11
#7 - A. Harry M. / @aharrym

04/27/2016 at 01:52AM

11
#8 - Matteo Signer / @MatteoSigner

04/27/2016 at 07:05AM

11
#9 - JinHwan Choi / @jinhwanlazy

04/29/2016 at 09:23AM

11
#10 - Saki Gw / @Sakigw

04/29/2016 at 01:41PM

11
#11 - Hoang Tran / @hoangtx_master

04/29/2016 at 04:07PM

11
#12 - Adam Leach / @qazwsxal

04/29/2016 at 07:59PM

11
#13 - matthieu le grix / @mlegrix

04/30/2016 at 05:55PM

11
#14 - Bob Boberson / @BobersonBob7

05/02/2016 at 10:37AM

11
#15 - Luke Powell / @luxgladius

05/02/2016 at 02:26PM

11
#16 - Lim Chun Leng / @chunleng

05/02/2016 at 05:32PM

11
#17 - John Goes / @johnwgoes

05/03/2016 at 06:27AM

11
#18 - Darren Tsung / @darrentsung

05/04/2016 at 01:00AM

11
#19 - apollolune / @apollolune

05/04/2016 at 04:31PM

11
#20 - gabbagandalf / @frioprou3

05/08/2016 at 06:47PM

11
#21 - Xinruo Sun / @xiaoruoruo

05/11/2016 at 06:10AM

11
#22 - Atrament / @Atrament

05/11/2016 at 02:31PM

11
#23 - Michael Buckley / @apolatg

05/11/2016 at 06:46PM

11
#24 - Håkon Bråten / @h_braten

05/11/2016 at 09:56PM

11
#25 - mebubo / @mebubo

05/14/2016 at 09:59AM

11
#26 - John Doe Sr. / @johndoe67890543

05/15/2016 at 11:45PM

11
#27 - Petro Тrouq / @zulolosi

05/22/2016 at 04:04AM

11
#28 - ナイスショット / @_nice__shot_

05/23/2016 at 02:27AM

11
#29 - Miłosz Łakomy / @foobar01123

06/02/2016 at 11:57AM

11
#30 - Artūras Zakrevskis / @AZakrevskis

06/02/2016 at 01:38PM