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):
17
#121 - Netrisk Cool / C00lt0

09/30/2016 at 08:31AM

17
#122 - TweetDreams / TweetMusicians

10/08/2016 at 11:13PM

17
#123 - James Burns / James_Ian_Burns

11/11/2016 at 08:32PM

18
#124 - Niru Maheswaranathan / niru_m

04/21/2016 at 01:08AM

18
#125 - Ernesto Nakamura / ernestonakamura

04/21/2016 at 03:37AM

18
#126 - Shawn Wallis / bote52469207

04/21/2016 at 04:05AM

18
#127 - Champion Pierre / Pierre_darkirus

04/21/2016 at 05:49PM

18
#128 - Blake Tereau / BlakeTereau

04/26/2016 at 03:52PM

18
#129 - T. Sakuma / taku39

04/29/2016 at 06:22AM

18
#130 - Joseph Barratt / josephmbarratt

05/02/2016 at 08:53PM

18
#131 - Andres Araya / arayaandresfco

05/20/2016 at 03:03PM

18
#132 - malet / Malet

06/22/2016 at 07:19PM

18
#133 - Reuben Huxley / missiontocode

06/29/2016 at 06:39AM

18
#134 - Dan Madden / guthran

07/15/2016 at 02:44PM

18
#135 - Yann / yannstadnicki

02/21/2017 at 09:22AM

18
#136 - Brian Hall / _bruab_

03/06/2017 at 02:42PM

19
#137 - Lifepillar / lifepillar

04/24/2016 at 08:38AM

19
#138 - Sebastian Heil / sebokopter

04/24/2016 at 08:11PM

19
#139 - tPenguinLTG / tpenguinltg

04/25/2016 at 06:59PM

19
#140 - matt_todd / matt_todd

04/30/2016 at 08:35PM

19
#141 - Elliott Mantock / elGatoMantocko

05/03/2016 at 08:56PM

19
#142 - Tom / CronutFacts

05/07/2016 at 01:55AM

19
#143 - Daniel Allen Deutsch / cmmn_nighthawk

05/17/2016 at 06:54PM

19
#144 - Slawek Zachcial / SlawekZachcial

05/22/2016 at 03:00PM

19
#145 - wlads / wlads

05/31/2016 at 09:05PM

19
#146 - a / hfkewfhoewewog

06/02/2016 at 09:50AM

19
#147 - Alexandre Lion / lnalx

06/06/2016 at 12:10PM

19
#148 - Amory Schlender / schlamory

07/08/2016 at 05:09PM

19
#149 - karcaw / karcaw

09/14/2016 at 04:50AM

19
#150 - Constantine / ConstantineHatz

09/17/2016 at 01:51AM