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):
19
#151 - Sebastian Heil / @sebokopter

04/24/2016 at 08:11PM

19
#152 - tPenguinLTG / @tpenguinltg

04/25/2016 at 06:59PM

19
#153 - matt_todd / @matt_todd

04/30/2016 at 08:35PM

19
#154 - Elliott Mantock / @elGatoMantocko

05/03/2016 at 08:56PM

19
#155 - Tom / @CronutFacts

05/07/2016 at 01:55AM

19
#156 - Daniel Allen Deutsch / @cmmn_nighthawk

05/17/2016 at 06:54PM

19
#157 - Slawek Zachcial / @SlawekZachcial

05/22/2016 at 03:00PM

19
#158 - wlads / @wlads

05/31/2016 at 09:05PM

19
#159 - a / @hfkewfhoewewog

06/02/2016 at 09:50AM

19
#160 - Alexandre Lion / @lnalx

06/06/2016 at 12:10PM

19
#161 - Amory Schlender / @schlamory

07/08/2016 at 05:09PM

19
#162 - karcaw / @karcaw

09/14/2016 at 04:50AM

19
#163 - Constantine / @ConstantineHatz

09/17/2016 at 01:51AM

19
#164 - Kyouma / @kyoumaJohn

10/12/2016 at 10:59PM

19
#165 - caplod / @caplod

03/26/2017 at 09:51AM

19
#166 - Bruce Horner / @HerbConjurer

05/16/2017 at 02:07AM

19
#167 - John Smith / @johns32768

06/18/2017 at 06:28AM

19
#168 - Stop and think / @ms_uncountable

07/08/2017 at 05:17AM

19
#169 - Adam Kożuch / @adamkozuch

08/01/2017 at 12:47AM

19
#170 - Apox / @apox159

07/20/2018 at 08:20PM

19
#171 - chaotic / @laersn

09/11/2018 at 11:54AM

20
#172 - Campbell Davis / @Campbell_Dav

05/14/2016 at 12:50AM

20
#173 - Victorien Lorcy / @LorcyVictorien

05/29/2016 at 03:43PM

20
#174 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 08:39PM

20
#175 - win me / @win_me_

08/26/2016 at 02:23PM

20
#176 - James / @Dronak

01/16/2017 at 03:41PM

20
#177 - Heewa / @Heewa

04/03/2018 at 09:09PM

20
#178 - dorpo / @dorpo2

11/01/2018 at 10:27PM

20
#179 - Jurica / @Jurica34581259

11/16/2018 at 01:41PM

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

04/22/2016 at 07:37AM