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

226 active golfers, 957 entries

Leaderboard (lowest score wins):
19
#181 - wlads / @wlads

05/31/2016 at 09:05PM

19
#182 - a / @hfkewfhoewewog

06/02/2016 at 09:50AM

19
#183 - Alexandre Lion / @lnalx

06/06/2016 at 12:10PM

19
#184 - Amory Schlender / @schlamory

07/08/2016 at 05:09PM

19
#185 - karcaw / @karcaw

09/14/2016 at 04:50AM

19
#186 - Constantine / @ConstantineHatz

09/17/2016 at 01:51AM

19
#187 - Kyouma / @kyoumaJohn

10/12/2016 at 10:59PM

19
#188 - caplod / @caplod

03/26/2017 at 09:51AM

19
#189 - Bruce Horner / @HerbConjurer

05/16/2017 at 02:07AM

19
#190 - John Smith / @johns32768

06/18/2017 at 06:28AM

19
#191 - Stop and think / @ms_uncountable

07/08/2017 at 05:17AM

19
#192 - Adam Kożuch / @adamkozuch

08/01/2017 at 12:47AM

19
#193 - Apox / @apox159

07/20/2018 at 08:20PM

19
#194 - chaotic / @laersn

09/11/2018 at 11:54AM

19
#195 - José / @AngelGaldamez

10/23/2019 at 04:19AM

19
#196 - Bhagwan / @El_Bhagwan

05/19/2020 at 09:48PM

20
#197 - Campbell Davis / @Campbell_Dav

05/14/2016 at 12:50AM

20
#198 - Victorien Lorcy / @LorcyVictorien

05/29/2016 at 03:43PM

20
#199 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 08:39PM

20
#200 - win me / @win_me_

08/26/2016 at 02:23PM

20
#201 - James / @Dronak

01/16/2017 at 03:41PM

20
#202 - teeheewa / @Heewa

04/03/2018 at 09:09PM

20
#203 - dorpo / @dorpo2

11/01/2018 at 10:27PM

20
#204 - Jurica / @Jurica34581259

11/16/2018 at 01:41PM

21
#205 - コードアカデミー高等学校 / @jp_code

04/22/2016 at 07:37AM

21
#206 - Scott Pierce / @_ddrscott_

05/01/2016 at 12:04PM

21
#207 - Charlie OConor / @charlieoconor

10/30/2017 at 11:27PM

22
#208 - Josh Greenwood / @JoshTGreenwood

04/29/2016 at 08:56PM

22
#209 - some call me mattp / @mattpep

05/12/2016 at 03:53PM

22
#210 - Aaron / @_Lordofthevoid_

12/03/2019 at 05:13PM