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