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):
17
#121 - L3viathan / @L3viathan2142

04/28/2016 at 04:51PM

17
#122 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 01:54PM

17
#123 - Daniel Latzer / @tournqat

05/02/2016 at 04:04PM

17
#124 - Yudi Matsuzake / @yudimatsuzake

05/03/2016 at 03:09AM

17
#125 - John / @gonads31

05/04/2016 at 09:35AM

17
#126 - Ben Hill / @KaizenSoze70

05/10/2016 at 08:44PM

17
#127 - よっぴぃ / @yoppynmhs

05/12/2016 at 05:02AM

17
#128 - george iv / @geowa4

05/14/2016 at 03:09AM

17
#129 - David Devecsery / @devecsery

06/12/2016 at 07:32PM

17
#130 - Ryan van Rensburg / @rdvr001

07/18/2016 at 06:40PM

17
#131 - George Angelopoulos / @g_usermod

08/05/2016 at 08:46AM

17
#132 - Netrisk Cool / @C00lt0

09/30/2016 at 08:31AM

17
#133 - TweetDreams / @TweetMusicians

10/08/2016 at 11:13PM

17
#134 - James Burns / @James_Ian_Burns

11/11/2016 at 08:32PM

17
#135 - Sxcy / @SxcyX

10/22/2018 at 09:11PM

18
#136 - Niru Maheswaranathan / @niru_m

04/21/2016 at 01:08AM

18
#137 - Ernesto Nakamura / @ernestonakamura

04/21/2016 at 03:37AM

18
#138 - Shawn Wallis / @bote52469207

04/21/2016 at 04:05AM

18
#139 - Champion Pierre / @Pierre_darkirus

04/21/2016 at 05:49PM

18
#140 - Blake Tereau / @BlakeTereau

04/26/2016 at 03:52PM

18
#141 - T. Sakuma / @taku39

04/29/2016 at 06:22AM

18
#142 - Joseph Barratt / @josephmbarratt

05/02/2016 at 08:53PM

18
#143 - Andres Araya / @arayaandresfco

05/20/2016 at 03:03PM

18
#144 - malet / @Malet

06/22/2016 at 07:19PM

18
#145 - Reuben Huxley / @missiontocode

06/29/2016 at 06:39AM

18
#146 - Dan Madden / @guthran

07/15/2016 at 02:44PM

18
#147 - Yann / @yannstadnicki

02/21/2017 at 09:22AM

18
#148 - Brian Hall / @_bruab_

03/06/2017 at 02:42PM

18
#149 - Paul Inc / @hiniol1982

10/19/2018 at 06:22PM

19
#150 - Lifepillar / @lifepillar

04/24/2016 at 08:38AM