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

219 active golfers, 907 entries

Leaderboard (lowest score wins):
17
#151 - James Burns / @James_Ian_Burns

11/11/2016 at 08:32PM

17
#152 - Sxcy / @SxcyX

10/22/2018 at 09:11PM

18
#153 - Niru Maheswaranathan / @niru_m

04/21/2016 at 01:08AM

18
#154 - Ernesto Nakamura / @ernestonakamura

04/21/2016 at 03:37AM

18
#155 - Shawn Wallis / @bote52469207

04/21/2016 at 04:05AM

18
#156 - Champion Pierre / @Pierre_darkirus

04/21/2016 at 05:49PM

18
#157 - Blake Tereau / @BlakeTereau

04/26/2016 at 03:52PM

18
#158 - T. Sakuma / @taku39

04/29/2016 at 06:22AM

18
#159 - Joseph Barratt / @josephmbarratt

05/02/2016 at 08:53PM

18
#160 - Andres Araya / @arayaandresfco

05/20/2016 at 03:03PM

18
#161 - malet / @Malet

06/22/2016 at 07:19PM

18
#162 - Reuben Huxley / @missiontocode

06/29/2016 at 06:39AM

18
#163 - Dan Madden / @guthran

07/15/2016 at 02:44PM

18
#164 - Yann / @yannstad

02/21/2017 at 09:22AM

18
#165 - Brian Hall / @_bruab_

03/06/2017 at 02:42PM

18
#166 - Paul Inc / @hiniol1982

10/19/2018 at 06:22PM

19
#167 - Lifepillar / @lifepillar

04/24/2016 at 08:38AM

19
#168 - Sebastian Heil / @sebokopter

04/24/2016 at 08:11PM

19
#169 - tPenguinLTG / @tpenguinltg

04/25/2016 at 06:59PM

19
#170 - matt_todd / @matt_todd

04/30/2016 at 08:35PM

19
#171 - Elliott Mantock / @elGatoMantocko

05/03/2016 at 08:56PM

19
#172 - Tom / @CronutFacts

05/07/2016 at 01:55AM

19
#173 - Daniel Allen Deutsch / @cmmn_nighthawk

05/17/2016 at 06:54PM

19
#174 - Slawek Zachcial / @SlawekZachcial

05/22/2016 at 03:00PM

19
#175 - wlads / @wlads

05/31/2016 at 09:05PM

19
#176 - a / @hfkewfhoewewog

06/02/2016 at 09:50AM

19
#177 - Alexandre Lion / @lnalx

06/06/2016 at 12:10PM

19
#178 - Amory Schlender / @schlamory

07/08/2016 at 05:09PM

19
#179 - karcaw / @karcaw

09/14/2016 at 04:50AM

19
#180 - Constantine / @ConstantineHatz

09/17/2016 at 01:51AM