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 144 remaining solutions by signing in and submitting your own entry
#145 wlads / wlads - Score: 19 - 05/31/16 @ 21:05
$qq5i <Esc>14|dwjq4@qZZ

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


#162 Heewa / Heewa - Score: 20 - 04/03/18 @ 21:09
$i  <Esc>5G$.kki   <Esc>k.ZZ

0 comments


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

0 comments


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

0 comments


#165 Charlie OConor / charlieoconor - Score: 21 - 10/30/17 @ 23:27
$i  <Esc>j..j..2j.**XjxZZ

0 comments


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

0 comments


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


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


#174 Jeff / RealJeffIrwin - Score: 25 - 10/09/17 @ 20:01
f,i  <Esc>qqji   <Esc>q@qjji  <Esc>ZZ

0 comments


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

0 comments


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

0 comments


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


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


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


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

180 active golfers, 618 entries

Leaderboard (lowest score wins):
16
#91 - Etienne Florent / EtienneFlorent

11/23/2016 at 01:10PM

16
#92 - Hans Yelek / hans_yelek

01/11/2017 at 05:56AM

16
#93 - Daniel / Daniel00288663

03/21/2017 at 04:55PM

16
#94 - Chicuella / chicuellahere

06/06/2017 at 10:40AM

16
#95 - Carl Egbert / CarlOEgbert

06/11/2017 at 09:03PM

17
#96 - Louis Caruana / louiecaruana

04/21/2016 at 03:17AM

17
#97 - Assaf Lavie / AssafLavie

04/21/2016 at 05:35AM

17
#98 - Cristian Lupașcu / clupasq

04/21/2016 at 07:45AM

17
#99 - Knoppi Brunzmann / superknoppi

04/21/2016 at 09:14AM

17
#100 - glepha / glepha_vim

04/21/2016 at 09:47AM

17
#101 - Kai Yuan / kentyuan

04/21/2016 at 02:14PM

17
#102 - abhinavgujjar / abhinavgujjar

04/21/2016 at 05:03PM

17
#103 - Tose / Toseim

04/22/2016 at 08:02AM

17
#104 - Tallak Tveide / tallakt

04/22/2016 at 09:07AM

17
#105 - Amar / amarputki

04/22/2016 at 06:24PM

17
#106 - Daniel Burnett / mango_cheetah

04/22/2016 at 09:30PM

17
#107 - f00b8tr / f00b8tr5

04/23/2016 at 03:16AM

17
#108 - Philiphone / Philiphone

04/23/2016 at 12:55PM

17
#109 - oscar / zonza_mas

04/26/2016 at 04:00PM

17
#110 - L3viathan / L3viathan2142

04/28/2016 at 04:51PM

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

05/02/2016 at 01:54PM

17
#112 - Daniel Latzer / tournqat

05/02/2016 at 04:04PM

17
#113 - Yudi Matsuzake / yudimatsuzake

05/03/2016 at 03:09AM

17
#114 - John / gonads31

05/04/2016 at 09:35AM

17
#115 - Ben Hill / KaizenSoze70

05/10/2016 at 08:44PM

17
#116 - よっぴぃ / yoppynmhs

05/12/2016 at 05:02AM

17
#117 - george iv / geowa4

05/14/2016 at 03:09AM

17
#118 - David Devecsery / devecsery

06/12/2016 at 07:32PM

17
#119 - Ryan van Rensburg / rdvr001

07/18/2016 at 06:40PM

17
#120 - George Angelopoulos / g_usermod

08/05/2016 at 08:46AM