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 134 remaining solutions by signing in and submitting your own entry
#135 Slawek Zachcial / SlawekZachcial - Score: 19 - 05/22/16 @ 15:00
qq$3i <Esc>jq4@qk<C-V>4k<ZZ

0 comments

#136 wlads / wlads - Score: 19 - 05/31/16 @ 21:05
$qq5i <Esc>14|dwjq4@qZZ

0 comments

#137 a / hfkewfhoewewog - Score: 19 - 06/02/16 @ 09:50
$i  <Esc>4j.3ki   <Esc>j.ZZ

0 comments

#138 Alexandre Lion / lnalx - Score: 19 - 06/06/16 @ 12:10
$i  <Esc>4j.3ki   <Esc>j.ZZ

0 comments

#139 Amory Schlender / schlamory - Score: 19 - 07/08/16 @ 17:09
$i  <Esc><Down>i   <Esc><Down>.<Down><Down>.xZZ

0 comments

#140 karcaw / karcaw - Score: 19 - 09/14/16 @ 04:50
qq$5i <Esc>14|dwjq4@qZZ

0 comments

#141 Constantine / ConstantineHatz - Score: 19 - 09/17/16 @ 01:51
qq$3i <Esc>jq4@qk<C-V>4k<ZZ

0 comments

#142 Kyouma / kyoumaJohn - Score: 19 - 10/12/16 @ 22:59
qq$5i <Esc>14|dwjq4@qZZ

0 comments

#143 caplod / caplod - Score: 19 - 03/26/17 @ 09:51
qq$5i <Esc>14|dwjq4@qZZ

0 comments

#144 Bruce Horner / HerbConjurer - Score: 19 - 05/16/17 @ 02:07
qq$5i <Esc>14|dwjq4@qZZ

0 comments

#145 John Smith / johns32768 - Score: 19 - 06/18/17 @ 06:28
qq$4i <Esc>14|dwjq4@qZZ

0 comments

#146 Stop and think / ms_uncountable - Score: 19 - 07/08/17 @ 05:17
qa$3i <Esc>jq4@ak<C-V>4k<ZZ

0 comments

#147 Adam Kożuch / adamkozuch - Score: 19 - 08/01/17 @ 00:47
$i  <Esc>4j.2ki   <Esc>k.ZZ

0 comments

#148 Campbell Davis / Campbell_Dav - Score: 20 - 05/14/16 @ 00:50
qq$9i  <Esc>14|dw+q4@qZZ

0 comments

#149 Victorien Lorcy / LorcyVictorien - Score: 20 - 05/29/16 @ 15:43
$2i <Esc>j3i <Esc>j.jj2i <Esc>ZZ

0 comments

#150 Jeremiah Goyette / JeremiahGoyette - Score: 20 - 07/31/16 @ 20:39
$i <Esc>.j...j...jjl..ZZ

0 comments

#151 win me / win_me_ - Score: 20 - 08/26/16 @ 14:23
$i  <Esc>4j.2k.i <Esc>k...ZZ

0 comments

#152 James / Dronak - Score: 20 - 01/16/17 @ 15:41
$2i <Esc>j3i <Esc>j.2j2i <Esc>ZZ

0 comments

#153 コードアカデミー高等学校 / jp_code - Score: 21 - 04/22/16 @ 07:37
$i  <Esc>4j.3ki   <Esc>j.:wq<CR>

0 comments

#154 Scott Pierce / _ddrscott_ - Score: 21 - 05/01/16 @ 12:04
f,i <Esc>.j...j...jjl..ZZ

0 comments

#155 Josh Greenwood / JoshTGreenwood - Score: 22 - 04/29/16 @ 20:56
f,i  <Esc>ji   <Esc>j.jji  <Esc>ZZ

0 comments

#156 some call me mattp / mattpep - Score: 22 - 05/12/16 @ 15:53
f,i  <Esc><Down>.<Down>.<Down><Down>.<Up><Up>i <Esc>k.ZZ

0 comments

#157 Richard Samuels / richardlsamuels - Score: 23 - 04/23/16 @ 18:03
$2i <Esc>j3i <Esc>j3i <Esc>jj2i <Esc>ZZ

0 comments

#158 Paul Inc / hiniol1982 - Score: 23 - 07/13/17 @ 19:38
$i  <Esc>j<C-V>jI   <Esc>4jkli  <Esc>ZZ

0 comments

#159 Samuel Masuy / samasuy - Score: 24 - 04/21/16 @ 17:48
:%s/,/   &/g<CR>t,dwk.4k.ZZ

0 comments

#160 Mustapha Hamoui / Beirutspring - Score: 24 - 06/12/16 @ 11:33
$2i <Esc>j3i <Esc>j.jj2i <Esc>:w<CR>:q<CR>

0 comments

#161 Martin Broder / mrtnbroder - Score: 24 - 09/21/16 @ 23:56
f,<Esc>gg$i  <Esc>4j.2ki   <Esc>k.ZZ

0 comments

#162 Marc / Fusselgesicht - Score: 25 - 08/12/16 @ 22:14
f,i  <Esc>j<C-V>jI   <Esc>jjj;.x<Esc>:wq<CR>

0 comments

#163 Norm Fasey / DeathRay1977 - Score: 28 - 04/25/16 @ 13:37
f,i  <Esc>ji   <Esc>ji   <Esc>jji  <Esc>:wq<CR>

0 comments

#164 Gurukandhamoorthi / Gurukandhamoor1 - Score: 29 - 07/10/17 @ 14:15
:%s/,//<CR>kYGpgg<C-V>)hA,<Esc>Gddlld$ZZ

0 comments

#165 Oliver Christ / 0liverChrist - Score: 33 - 07/12/16 @ 21:47
f,i<Tab>u<Esc>ui  j<BS><Esc>ji   <Esc>ji   <Esc>jji  <Esc>ZZ

0 comments

#166 Matt Walsh / wattmalsh - Score: 50 - 02/13/17 @ 05:40
3jvt,r vf,"ayuqqo<Esc>"apkhv0y"_dd0R<C-R>"<Esc>q:1,5norm @q<CR>ZZ

0 comments

#167 Adv_Zxy / adv_zxy - Score: 73 - 05/02/16 @ 06:52
<C-V>jjjj$I<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>  <Esc>juuuhhhhhhhqmf,i<Tab><Esc>quhhhhhhhhhhhhh$qq5i <Esc>14|dwjq4@qZZ

0 comments

#168 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

168 active golfers, 561 entries

Leaderboard (lowest score wins):
11
#1 - John Braxler / braxler

04/21/2016 at 02:16PM

11
#2 - Urtica dioica / udioica

04/21/2016 at 06:30PM

11
#3 - Javier Rizzo / javierrizzoa

04/21/2016 at 06:39PM

11
#4 - Olivia Tharp / tehlivi

04/22/2016 at 08:03PM

11
#5 - Diego Garcia ⚒ / drgarcia1986

04/22/2016 at 10:33PM

11
#6 - Tom Harada / p10q

04/25/2016 at 12:35AM

11
#7 - A. Harry M. / aharrym

04/27/2016 at 01:52AM

11
#8 - Matteo Signer / MatteoSigner

04/27/2016 at 07:05AM

11
#9 - JinHwan Choi / jinhwanlazy

04/29/2016 at 09:23AM

11
#10 - Saki Gw / Sakigw

04/29/2016 at 01:41PM

11
#11 - Hoang Tran / hoangtx_master

04/29/2016 at 04:07PM

11
#12 - Adam Leach / qazwsxal

04/29/2016 at 07:59PM

11
#13 - matthieu le grix / mlegrix

04/30/2016 at 05:55PM

11
#14 - Bob Boberson / BobersonBob7

05/02/2016 at 10:37AM

11
#15 - Luke Powell / luxgladius

05/02/2016 at 02:26PM

11
#16 - Lim Chun Leng / chunleng

05/02/2016 at 05:32PM

11
#17 - John Goes / johnwgoes

05/03/2016 at 06:27AM

11
#18 - Darren Tsung / _znalost

05/04/2016 at 01:00AM

11
#19 - apollolune / apollolune

05/04/2016 at 04:31PM

11
#20 - gabbagandalf / frioprou3

05/08/2016 at 06:47PM

11
#21 - Xinruo Sun / xiaoruoruo

05/11/2016 at 06:10AM

11
#22 - Atrament / Atrament

05/11/2016 at 02:31PM

11
#23 - Michael Buckley / apolatg

05/11/2016 at 06:46PM

11
#24 - Håkon Bråten / h_braten

05/11/2016 at 09:56PM

11
#25 - mebubo / mebubo

05/14/2016 at 09:59AM

11
#26 - John Doe Sr. / johndoe67890543

05/15/2016 at 11:45PM

11
#27 - Petro Тrouq / zulolosi

05/22/2016 at 04:04AM

11
#28 - ナイスショット / _nice__shot_

05/23/2016 at 02:27AM

11
#29 - Foo Bar / foobar01123

06/02/2016 at 11:57AM

11
#30 - Artūras Zakrevskis / AZakrevskis

06/02/2016 at 01:38PM

11
#31 - Dan Bradbury / PandaStash

06/06/2016 at 04:58PM

11
#32 - Pablo R. Dinella / pablordinella

06/10/2016 at 08:30PM

11
#33 - Paweł Smołka / pawelsmolka

06/15/2016 at 10:29AM

11
#34 - TaoChen / 632143592Tao

06/17/2016 at 02:52AM

11
#35 - Kerson Hsiao / KersonHsiao

06/29/2016 at 12:16PM

11
#36 - Alonzo / tolver_a

07/22/2016 at 05:21PM

11
#37 - Benedikt Breinbauer / benebun

07/24/2016 at 08:43PM

11
#38 - Sandeep Dhavale / sandeep_dhavale

07/29/2016 at 06:59PM

11
#39 - Will / obiwan__k3n00bi

08/14/2016 at 10:05PM

11
#40 - jdupont655 / jdupont655

09/02/2016 at 12:45AM

11
#41 - Stephen Aument / saument

09/02/2016 at 01:46AM

11
#42 - loki2441 / loki2441

09/05/2016 at 10:13PM

11
#43 - hor1ace / hor3ace

09/08/2016 at 06:49AM

11
#44 - Nico / _Nico_Caro

09/26/2016 at 08:10PM

11
#45 - trx / trxdbg

10/11/2016 at 09:44AM

11
#46 - Josh Callender / Saponifi3d

10/16/2016 at 12:23AM

11
#47 - Davis Fields / i301585

11/04/2016 at 04:18AM

11
#48 - Alan Turing / alantrng

11/18/2016 at 01:55PM

11
#49 - Wessel Sinnema / wsinnema

11/27/2016 at 08:08PM

11
#50 - Douglas Roper / dougdroper

12/20/2016 at 10:32AM

11
#51 - Zhihong Liu / pieapple03

02/23/2017 at 05:53AM

11
#52 - Angel Chiang / malakin

03/06/2017 at 07:49PM

11
#53 - Alexander Bessonov / nonsleepr

03/15/2017 at 10:03PM

11
#54 - Ilya Shakirov / aelaau

03/22/2017 at 09:20AM

11
#55 - Solomon / Trugbildjaeger

04/03/2017 at 06:35PM

11
#56 - 梧桐王子 / WutongYujie

04/27/2017 at 04:12AM

11
#57 - Remus Dalrymple / bornintheflames

05/05/2017 at 10:32PM

11
#58 - Wang Wu / rubepeg

05/12/2017 at 06:45AM

11
#59 - Chris Robertson / chrisxrobertson

05/19/2017 at 02:18PM

11
#60 - Melvin Cheung / MelvinCheung

05/25/2017 at 05:15AM

11
#61 - David Gustavsson / mrGustaphe

06/14/2017 at 03:47PM

11
#62 - Anne Pacalet / _Anne_P

07/20/2017 at 12:07PM

12
#63 - Alex Rod. / thealex23ro

07/01/2016 at 08:34PM

13
#64 - Matt Rasmus / _mattrasmus

10/10/2016 at 04:03PM

14
#65 - Jon Krause / jkrause314

04/21/2016 at 07:52AM

15
#66 - Smylers / Smylers2

04/27/2016 at 10:10AM

15
#67 - Tamas Gal / tamasgal

05/12/2016 at 02:42PM

15
#68 - (,,꒪꒫꒪,,) / sneer

05/21/2016 at 11:25AM

15
#69 - Vaughn Cato / vaughncato

05/26/2016 at 01:40PM

15
#70 - Arijus / argshook

06/02/2016 at 01:27PM

15
#71 - tgmeng / lazy_fabric

06/07/2016 at 11:14AM

15
#72 - Ram Tamtam / ramtamtamtam

06/22/2016 at 08:55AM

15
#73 - André Peric Tavares / andre_peric

07/20/2016 at 08:53PM

15
#74 - Bill Ruddock / biinari

10/31/2016 at 03:03AM

15
#75 - timerella® / timerella

11/17/2016 at 10:08PM

15
#76 - Ryan Marcotte / ryanjmarcotte

11/23/2016 at 10:56PM

16
#77 - Victor Haffreingue / nobe_4

04/21/2016 at 05:59AM

16
#78 - Sebastián Mancilla / smancill_m

05/06/2016 at 11:27PM

16
#79 - Jacob Niehus / wilywampa

06/20/2016 at 02:44AM

16
#80 - Ben Baker-Smith / Bit_Synthesis

07/17/2016 at 06:07AM

16
#81 - John Barbero Unenge / JBarberU

10/19/2016 at 12:53PM

16
#82 - Etienne Florent / EtienneFlorent

11/23/2016 at 01:10PM

16
#83 - Hans Yelek / hans_yelek

01/11/2017 at 05:56AM

16
#84 - Daniel / Daniel00288663

03/21/2017 at 04:55PM

16
#85 - Chicuella / chicuellahere

06/06/2017 at 10:40AM

16
#86 - Carl Egbert / CarlOEgbert

06/11/2017 at 09:03PM

17
#87 - Louis Caruana / louiecaruana

04/21/2016 at 03:17AM

17
#88 - Assaf Lavie / AssafLavie

04/21/2016 at 05:35AM

17
#89 - Cristian Lupașcu / clupasq

04/21/2016 at 07:45AM

17
#90 - Knoppi Brunzmann / superknoppi

04/21/2016 at 09:14AM

17
#91 - glepha / glepha_vim

04/21/2016 at 09:47AM

17
#92 - Kai Yuan / kentyuan

04/21/2016 at 02:14PM

17
#93 - abhinavgujjar / abhinavgujjar

04/21/2016 at 05:03PM

17
#94 - Tose / Toseim

04/22/2016 at 08:02AM

17
#95 - Tallak Tveide / tallakt

04/22/2016 at 09:07AM

17
#96 - Amar / amarputki

04/22/2016 at 06:24PM

17
#97 - Daniel Burnett / mango_cheetah

04/22/2016 at 09:30PM

17
#98 - f00b8tr / f00b8tr5

04/23/2016 at 03:16AM

17
#99 - Philiphone / Philiphone

04/23/2016 at 12:55PM

17
#100 - oscar / zonza_mas

04/26/2016 at 04:00PM

17
#101 - L3viathan / L3viathan2142

04/28/2016 at 04:51PM

17
#102 - Eero-Antero Säisä / jakolasku

05/02/2016 at 01:54PM

17
#103 - Daniel Latzer / tournqat

05/02/2016 at 04:04PM

17
#104 - Yudi Matsuzake / yudimatsuzake

05/03/2016 at 03:09AM

17
#105 - John / gonads31

05/04/2016 at 09:35AM

17
#106 - Ben Hill / KaizenSoze70

05/10/2016 at 08:44PM

17
#107 - よっぴぃ / yoppynmhs

05/12/2016 at 05:02AM

17
#108 - george iv / geowa4

05/14/2016 at 03:09AM

17
#109 - David Devecsery / devecsery

06/12/2016 at 07:32PM

17
#110 - Ryan van Rensburg / rdvr001

07/18/2016 at 06:40PM

17
#111 - George Angelopoulos / g_usermod

08/05/2016 at 08:46AM

17
#112 - Netrisk Cool / C00lt0

09/30/2016 at 08:31AM

17
#113 - TweetDreams / TweetMusicians

10/08/2016 at 11:13PM

17
#114 - James Burns / James_Ian_Burns

11/11/2016 at 08:32PM

18
#115 - Niru Maheswaranathan / niru_m

04/21/2016 at 01:08AM

18
#116 - Ernesto Nakamura / ernestonakamura

04/21/2016 at 03:37AM

18
#117 - Shawn Wallis / bote52469207

04/21/2016 at 04:05AM

18
#118 - Champion Pierre / Pierre_darkirus

04/21/2016 at 05:49PM

18
#119 - Blake Tereau / BlakeTereau

04/26/2016 at 03:52PM

18
#120 - T. Sakuma / taku39

04/29/2016 at 06:22AM

18
#121 - Joseph Barratt / josephmbarratt

05/02/2016 at 08:53PM

18
#122 - Andres Araya / arayaandresfco

05/20/2016 at 03:03PM

18
#123 - malet / Malet

06/22/2016 at 07:19PM

18
#124 - Reuben Huxley / missiontocode

06/29/2016 at 06:39AM

18
#125 - Dan Madden / guthran

07/15/2016 at 02:44PM

18
#126 - Yann / yannstadnicki

02/21/2017 at 09:22AM

18
#127 - Brian Hall / _bruab_

03/06/2017 at 02:42PM

19
#128 - Lifepillar / lifepillar

04/24/2016 at 08:38AM

19
#129 - Sebastian Heil / sebokopter

04/24/2016 at 08:11PM

19
#130 - tPenguinLTG / tpenguinltg

04/25/2016 at 06:59PM

19
#131 - matt_todd / matt_todd

04/30/2016 at 08:35PM

19
#132 - Elliott Mantock / elGatoMantocko

05/03/2016 at 08:56PM

19
#133 - Tom / CronutFacts

05/07/2016 at 01:55AM

19
#134 - Daniel Allen Deutsch / cmmn_nighthawk

05/17/2016 at 06:54PM

19
#135 - Slawek Zachcial / SlawekZachcial

05/22/2016 at 03:00PM

19
#136 - wlads / wlads

05/31/2016 at 09:05PM

19
#137 - a / hfkewfhoewewog

06/02/2016 at 09:50AM

19
#138 - Alexandre Lion / lnalx

06/06/2016 at 12:10PM

19
#139 - Amory Schlender / schlamory

07/08/2016 at 05:09PM

19
#140 - karcaw / karcaw

09/14/2016 at 04:50AM

19
#141 - Constantine / ConstantineHatz

09/17/2016 at 01:51AM

19
#142 - Kyouma / kyoumaJohn

10/12/2016 at 10:59PM

19
#143 - caplod / caplod

03/26/2017 at 09:51AM

19
#144 - Bruce Horner / HerbConjurer

05/16/2017 at 02:07AM

19
#145 - John Smith / johns32768

06/18/2017 at 06:28AM

19
#146 - Stop and think / ms_uncountable

07/08/2017 at 05:17AM

19
#147 - Adam Kożuch / adamkozuch

08/01/2017 at 12:47AM

20
#148 - Campbell Davis / Campbell_Dav

05/14/2016 at 12:50AM

20
#149 - Victorien Lorcy / LorcyVictorien

05/29/2016 at 03:43PM

20
#150 - Jeremiah Goyette / JeremiahGoyette

07/31/2016 at 08:39PM

20
#151 - win me / win_me_

08/26/2016 at 02:23PM

20
#152 - James / Dronak

01/16/2017 at 03:41PM

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

04/22/2016 at 07:37AM

21
#154 - Scott Pierce / _ddrscott_

05/01/2016 at 12:04PM

22
#155 - Josh Greenwood / JoshTGreenwood

04/29/2016 at 08:56PM

22
#156 - some call me mattp / mattpep

05/12/2016 at 03:53PM

23
#157 - Richard Samuels / richardlsamuels

04/23/2016 at 06:03PM

23
#158 - Paul Inc / hiniol1982

07/13/2017 at 07:38PM

24
#159 - Samuel Masuy / samasuy

04/21/2016 at 05:48PM

24
#160 - Mustapha Hamoui / Beirutspring

06/12/2016 at 11:33AM

24
#161 - Martin Broder / mrtnbroder

09/21/2016 at 11:56PM

25
#162 - Marc / Fusselgesicht

08/12/2016 at 10:14PM

28
#163 - Norm Fasey / DeathRay1977

04/25/2016 at 01:37PM

29
#164 - Gurukandhamoorthi / Gurukandhamoor1

07/10/2017 at 02:15PM

33
#165 - Oliver Christ / 0liverChrist

07/12/2016 at 09:47PM

50
#166 - Matt Walsh / wattmalsh

02/13/2017 at 05:40AM

73
#167 - Adv_Zxy / adv_zxy

05/02/2016 at 06:52AM

77
#168 - Jon Barson / jbarson

04/22/2016 at 07:10PM