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

236 active golfers, 1040 entries

Leaderboard (lowest score wins):
11
#91 - Jean George / @JeanGeo20504212

10/08/2021 at 03:45PM

11
#92 - russellzhaomao / @russellzhaomao

05/27/2022 at 07:25AM

11
#93 - Mario / @MarioWolfe

06/14/2022 at 05:23AM

12
#94 - Alex Rod. / @thealex23ro

07/01/2016 at 08:34PM

12
#95 - i33 / @i3342th

11/14/2018 at 08:42AM

12
#96 - Mihai / @mihaicristiant

12/08/2018 at 12:55PM

12
#97 - Lory / @Lory46845742

11/14/2019 at 01:01PM

12
#98 - leo / @leo28356948

11/29/2019 at 02:24PM

12
#99 - Michel Viktor / @tomkpz

07/31/2021 at 02:46PM

13
#100 - Matt Rasmus / @_mattrasmus

10/10/2016 at 04:03PM

13
#101 - Chester Yap / @Chest_ErYap

08/13/2019 at 12:04AM

13
#102 - Delon / @delonleonard

01/17/2020 at 06:37AM

13
#103 - hepebexè / @hepebexe

01/05/2021 at 10:02PM

14
#104 - Jon Krause / @jkrause314

04/21/2016 at 07:52AM

14
#105 - POSIX / @po6ix

01/23/2022 at 03:31AM

15
#106 - Smylers / @Smylers2

04/27/2016 at 10:10AM

15
#107 - Tamas Gal (Tom) / @tamasgal

05/12/2016 at 02:42PM

15
#108 - (,,꒪꒫꒪,,) / @sneer

05/21/2016 at 11:25AM

15
#109 - Vaughn Cato / @vaughncato

05/26/2016 at 01:40PM

15
#110 - Arijus / @argshook

06/02/2016 at 01:27PM

15
#111 - tgmeng / @lazy_fabric

06/07/2016 at 11:14AM

15
#112 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 08:55AM

15
#113 - André Peric Tavares / @andre_peric

07/20/2016 at 08:53PM

15
#114 - Bill Ruddock / @biinari

10/31/2016 at 03:03AM

15
#115 - timerella® / @timerella

11/17/2016 at 10:08PM

15
#116 - Ryan Marcotte / @ryanjmarcotte

11/23/2016 at 10:56PM

15
#117 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 03:45PM

15
#118 - Fichera Gaetano / @gaetanofic

04/11/2018 at 02:59PM

15
#119 - fucus / @fishlovebanana

08/25/2018 at 02:07PM

15
#120 - vg / @vg53210350

10/28/2018 at 08:48PM