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