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):
11
#61 - David Gustavsson / mrGustaphe

06/14/2017 at 03:47PM

11
#62 - Anne Pacalet / _Anne_P

07/20/2017 at 12:07PM

11
#63 - Turkey Man / lvturkeyman

11/10/2017 at 04:48PM

11
#64 - ParasamGateZero / ParasamGateZero

01/31/2018 at 07:34AM

11
#65 - GreenPinguin / GreenPinguin2

03/30/2018 at 03:37PM

11
#66 - Matt Robinson / mmrobins

04/03/2018 at 03:52PM

11
#67 - Tim Buckley 🚀 / timbucki

04/03/2018 at 04:05PM

11
#68 - DHM / DHM29978992

04/21/2018 at 02:58AM

11
#69 - platypusDancing / platypusDancing

05/03/2018 at 07:35PM

12
#70 - Alex Rod. / thealex23ro

07/01/2016 at 08:34PM

13
#71 - Matt Rasmus / _mattrasmus

10/10/2016 at 04:03PM

14
#72 - Jon Krause / jkrause314

04/21/2016 at 07:52AM

15
#73 - Smylers / Smylers2

04/27/2016 at 10:10AM

15
#74 - Tamas Gal (Tom) / tamasgal

05/12/2016 at 02:42PM

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

05/21/2016 at 11:25AM

15
#76 - Vaughn Cato / vaughncato

05/26/2016 at 01:40PM

15
#77 - Arijus / argshook

06/02/2016 at 01:27PM

15
#78 - tgmeng / lazy_fabric

06/07/2016 at 11:14AM

15
#79 - Ram Tamtam / ramtamtamtam

06/22/2016 at 08:55AM

15
#80 - André Peric Tavares / andre_peric

07/20/2016 at 08:53PM

15
#81 - Bill Ruddock / biinari

10/31/2016 at 03:03AM

15
#82 - timerella® / timerella

11/17/2016 at 10:08PM

15
#83 - Ryan Marcotte / ryanjmarcotte

11/23/2016 at 10:56PM

15
#84 - Benoit Mortgat / Benoit_Mortgat

11/14/2017 at 03:45PM

15
#85 - Fichera Gaetano / gaetanofic

04/11/2018 at 02:59PM

16
#86 - Victor Haffreingue / nobe_4

04/21/2016 at 05:59AM

16
#87 - Sebastián Mancilla / smancill_m

05/06/2016 at 11:27PM

16
#88 - Jacob Niehus / wilywampa

06/20/2016 at 02:44AM

16
#89 - Ben Baker-Smith / Bit_Synthesis

07/17/2016 at 06:07AM

16
#90 - John Barbero Unenge / JBarberU

10/19/2016 at 12:53PM