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

247 active golfers, 1097 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

11
#94 - Janzen / @__Coos

10/01/2022 at 02:25PM

11
#95 - someperson150 / @someperson150

07/08/2023 at 04:52AM

11
#96 - KingSann / @iferkey

09/12/2023 at 02:01PM

11
#97 - Mohammad Apel Mahmod / @apel_mahmod

09/22/2023 at 03:37AM

11
#98 - Don'tBeAlarmed / @DontBeAlarmed

05/30/2024 at 05:18AM

11
#99 - Peppa Pig / @PeppaPigSg

06/02/2024 at 10:47AM

11
#100 - nickGPT / @nickandbro

08/28/2024 at 03:20AM

12
#101 - Alex Rod. / @thealex23ro

07/01/2016 at 08:34PM

12
#102 - i33 / @i3342th

11/14/2018 at 08:42AM

12
#103 - Mihai / @mihaicristiant

12/08/2018 at 12:55PM

12
#104 - Lory / @Lory46845742

11/14/2019 at 01:01PM

12
#105 - leo / @leo28356948

11/29/2019 at 02:24PM

12
#106 - Michel Viktor / @tomkpz

07/31/2021 at 02:46PM

13
#107 - Matt Rasmus / @_mattrasmus

10/10/2016 at 04:03PM

13
#108 - Chester Yap / @Chest_ErYap

08/13/2019 at 12:04AM

13
#109 - Delon / @delonleonard

01/17/2020 at 06:37AM

13
#110 - hepebexè / @hepebexe

01/05/2021 at 10:02PM

14
#111 - Jon Krause / @jkrause314

04/21/2016 at 07:52AM

14
#112 - POSIX / @po6ix

01/23/2022 at 03:31AM

15
#113 - “Smylers” / @Smylers2

04/27/2016 at 10:10AM

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

05/12/2016 at 02:42PM

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

05/21/2016 at 11:25AM

15
#116 - Vaughn Cato / @vaughncato

05/26/2016 at 01:40PM

15
#117 - Arijus / @argshook

06/02/2016 at 01:27PM

15
#118 - tgmeng / @lazy_fabric

06/07/2016 at 11:14AM

15
#119 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 08:55AM

15
#120 - André Peric Tavares / @andre_peric

07/20/2016 at 08:53PM