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):
23
#211 - Richard Samuels / @richardlsamuels

04/23/2016 at 06:03PM

24
#212 - Samuel Masuy / @samasuy

04/21/2016 at 05:48PM

24
#213 - Mustapha Hamoui / @Beirutspring

06/12/2016 at 11:33AM

24
#214 - Martin Broder / @mrtnbroder

09/21/2016 at 11:56PM

24
#215 - Phoon / @justflashhim

05/10/2019 at 09:47PM

25
#216 - Marc / @Fusselgesicht

08/12/2016 at 10:14PM

25
#217 - Geoff / @RealGeoffErwin

10/09/2017 at 08:01PM

26
#218 - Luis Rodriguez / @luisthecoder

11/15/2018 at 02:29PM

28
#219 - Norm Fasey / @DeathRay1977

04/25/2016 at 01:37PM

29
#220 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 02:15PM

33
#221 - Oliver Christ / @0liverChrist

07/12/2016 at 09:47PM

33
#222 - Hugo / @szeyattai

08/19/2018 at 03:48PM

48
#223 - Cleberson Gomes / @Cleber_son

08/19/2018 at 07:13PM

50
#224 - Matt Walsh / @wattmalsh

02/13/2017 at 05:40AM

73
#225 - Adv_Zxy / @adv_zxy

05/02/2016 at 06:52AM

77
#226 - Jon Barson / @jbarson

04/22/2016 at 07:10PM