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 50d42c56dffb94000200000c

Enumerate words

Enumerate the unique words in order.

Start file
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
End file
Accusam
Aliquyam
Amet
At
Clita
Consetetur
Diam
Dolor
Dolore
Dolores
Duo
Ea
Eirmod
Elitr
Eos
Erat
Est
Et
Gubergren
Invidunt
Ipsum
Justo
Kasd
Labore
Lorem
Magna
No
Nonumy
Rebum
Sadipscing
Sanctus
Sea
Sed
Sit
Stet
Takimata
Tempor
Ut
Vero
Voluptua

View Diff

1,4c1,40
< Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
< tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
< vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
< no sea takimata sanctus est Lorem ipsum dolor sit amet.
---
> Accusam
> Aliquyam
> Amet
> At
> Clita
> Consetetur
> Diam
> Dolor
> Dolore
> Dolores
> Duo
> Ea
> Eirmod
> Elitr
> Eos
> Erat
> Est
> Et
> Gubergren
> Invidunt
> Ipsum
> Justo
> Kasd
> Labore
> Lorem
> Magna
> No
> Nonumy
> Rebum
> Sadipscing
> Sanctus
> Sea
> Sed
> Sit
> Stet
> Takimata
> Tempor
> Ut
> Vero
> Voluptua

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 59 remaining solutions by signing in and submitting your own entry
#60 Xinruo Sun / xiaoruoruo - Score: 28 - 12/22/12 @ 11:18
:%s/\W/\r/g<CR><C-V>ggU:%sor u<CR>ddZZ

0 comments

#61 Pradeep Kumar / pradeep6kumar - Score: 28 - 12/23/12 @ 13:09
:%s/\W/\r/g<CR><C-V>ggU:%sor u<CR>ddZZ

0 comments

#62 Global Maquereau / GlobalMaquereau - Score: 28 - 12/26/12 @ 09:23
:%s/\W/\r/g<CR><C-V>ggU:sor ui<CR>ddZZ

0 comments

#63 Reed Riley / ReedRile - Score: 28 - 01/19/13 @ 21:37
:%s/\W/\r/g<CR><C-V>ggU:%sor u|d|x<CR>

0 comments

#64 A.B / _a0b_ - Score: 28 - 04/30/13 @ 19:10
:%s/\W/\r/g<CR><C-V>ggU:sor u<CR>DddZZ

0 comments

#65 Arvin Moezzi / kraphti - Score: 28 - 05/09/13 @ 23:46
:%s/\W/\r/g<CR><C-V>gggU:sor u<CR>ddZZ

0 comments

#66 James / Dronak - Score: 28 - 09/20/14 @ 17:49
:%s/\W/\r/g<CR><C-V>1GgU:sor u<CR>ddZZ

0 comments

#67 Oliver Christ / 0liverChrist - Score: 29 - 09/29/13 @ 14:32
:%s/\W\+/\r/g<CR><C-V>ggU:sor u<CR>ddZZ

0 comments

#68 Ravi S Sinha / ambidextrousTx - Score: 30 - 12/21/12 @ 22:54
:%s/\W/\r/g<CR><C-V>gggUVG:sor u<CR>ddZZ

0 comments

#69 brett / brettyukich - Score: 30 - 09/22/13 @ 04:52
:%s/\W\+/\r/g<CR><C-V>gggU:sor u<CR>ddZZ

0 comments

#70 Pawel Obrok / mrYapee - Score: 34 - 12/21/12 @ 11:14
:%s/ /\r/g<CR>:%s/,\|\.<CR><C-V>ggU:sor u<CR>ZZ

0 comments

#71 Zudochkin Dmitry / vredniy - Score: 34 - 01/17/13 @ 07:35
;<Esc>:s<BS>%s/\W/\R<BS>r/g<CR><C-V>ggU:%sor u<CR>ddZZ

0 comments

#72 Vijay Chidambaram / vj_chidambaram - Score: 40 - 01/25/13 @ 03:16
:%s/\W/\r/g<CR><C-V>gggU:%sort u/<BS>|d?<BS><CR>$:$<CR>:wq<CR>

0 comments

#73 vg41 / vg41 - Score: 42 - 12/21/12 @ 09:56
:%s/ /\r/g<CR>:%s/\W//g<CR>:%s/./\U&<CR>:%sort u<CR>ZZ

0 comments

#74 CHIP CASTLE / chipcastle - Score: 47 - 12/28/13 @ 23:39
:%s/[.,]//g<CR>:%s/\<./\u&/g<CR>:%s/ /<C-V><CR>/g<CR>:sor u<CR>:x<CR>

0 comments

Created by: joe_di_castro

74 active golfers, 205 entries

Leaderboard (lowest score wins):
23
#1 - Urtica dioica / udioica

03/16/2016 at 06:08AM

23
#2 - John Braxler / braxler

03/16/2016 at 12:00PM

23
#3 - Stanislav / prstad

09/14/2016 at 01:07PM

23
#4 - Saki Gw / Sakigw

01/20/2017 at 10:03PM

25
#5 - Kerson Hsiao / KersonHsiao

12/21/2012 at 12:52PM

25
#6 - Édouard M'tou / DouardM

12/21/2012 at 03:05PM

25
#7 - Tim Chase / gumnos

12/21/2012 at 03:42PM

25
#8 - Marco Hinz / _mhinz_

12/21/2012 at 04:43PM

25
#9 - Victor Ramirez / virako

12/22/2012 at 04:57AM

25
#10 - faul_sname / faul_sname

12/22/2012 at 05:50AM

25
#11 - Hubba / HubbaBubbaFett

12/22/2012 at 06:28PM

25
#12 - DR / dde81

12/23/2012 at 12:24AM

25
#13 - XGOLFER / vimg0lfer

01/04/2013 at 10:09PM

25
#14 - retired account / retired10072015

01/11/2013 at 10:51PM

25
#15 - z0k / z0k

01/13/2013 at 11:24PM

25
#16 - nirosys / nirosys

01/19/2013 at 09:13PM

25
#17 - django unchained / DjangoTuxg

01/19/2013 at 10:48PM

25
#18 - Kai Yuan / kentyuan

02/26/2013 at 11:07AM

25
#19 - Jacob Swanner / jswanner

02/28/2013 at 07:16AM

25
#20 - Korbinian Stoemmer / PaulSmecker

03/09/2013 at 04:10PM

25
#21 - Tyler / tylerbindon

04/09/2013 at 05:46AM

25
#22 - Trevor Powell / DoomedBunnies

04/11/2013 at 01:36AM

25
#23 - Petro Тrouq / zulolosi

04/18/2013 at 07:03PM

25
#24 - Ali Moeeny / alimoeeny

05/11/2013 at 09:52PM

25
#25 - Bradd Szonye / bszonye

07/13/2013 at 12:21PM

25
#26 - Jon Krause / jkrause314

10/19/2015 at 01:17AM

25
#27 - Smylers / Smylers2

03/30/2016 at 09:14PM

26
#28 - h_east (トロッコ6個) / h_east

12/21/2012 at 10:29AM

26
#29 - Lieven Keersmaekers / LievenKeersmaek

12/22/2012 at 12:39PM

26
#30 - Kajetan Bojko / KajetanBojko

12/22/2012 at 04:36PM

26
#31 - 無ん垢の叫び / john_ababa

12/23/2012 at 09:37AM

26
#32 - oliver mueller / marcontwit

12/27/2012 at 06:49AM

26
#33 - Yann Moisan / YannMoisan

01/03/2013 at 05:47PM

26
#34 - Alec Goebel / zego5360

01/04/2013 at 07:15AM

26
#35 - Steve Tjoa / stevetjoa

02/03/2013 at 10:51PM

26
#36 - 전영식 / garam111

03/07/2013 at 01:57PM

26
#37 - Andrew Burgess / andrew8088

03/09/2013 at 03:14PM

26
#38 - Nathan / NathanHarperoni

08/08/2013 at 02:08PM

26
#39 - Arturo Escaip / arturoescaip

09/01/2013 at 08:26AM

26
#40 - Hachez Floran / FloranHachez

09/06/2013 at 11:33PM

26
#41 - jgpaiva / jgpaiva

02/10/2014 at 08:26PM

26
#42 - Justin Knag / justinknag

10/09/2014 at 03:36AM

27
#43 - joe di castro / joe_di_castro

12/21/2012 at 10:19AM

27
#44 - Marcin Sza / coot_

12/21/2012 at 10:23AM

27
#45 - Max Sherman / johnislarry

12/22/2012 at 09:07AM

27
#46 - Phil / ischi

12/27/2012 at 10:30AM

27
#47 - r / tricosahedron

01/13/2013 at 11:46PM

27
#48 - Tom Duijf / tomduijf

01/29/2013 at 05:59PM

27
#49 - Justin / justinjaffray

04/26/2013 at 02:16AM

27
#50 - Joshua Draper / JoshuaBDraper

05/25/2013 at 07:55PM

27
#51 - Eric Potter / pottereric

05/28/2013 at 01:45AM

27
#52 - Woojung Kim 김우중 / _kimwz

07/15/2013 at 05:15AM

27
#53 - cj / cj01101

08/15/2013 at 04:19AM

27
#54 - Hannes Remahl / hannesr

02/28/2014 at 04:53PM

27
#55 - Joonas Pihlajamaa / jokkebk

03/04/2014 at 07:27AM

27
#56 - Kyle Travis / kmakai

05/17/2014 at 06:08AM

27
#57 - Ram Tamtam / ramtamtamtam

07/02/2014 at 11:01AM

27
#58 - r. / rmarvie

12/23/2014 at 03:18PM

27
#59 - ltn614 / ltn614

10/01/2015 at 09:25AM

28
#60 - Xinruo Sun / xiaoruoruo

12/22/2012 at 11:18AM

28
#61 - Pradeep Kumar / pradeep6kumar

12/23/2012 at 01:09PM

28
#62 - Global Maquereau / GlobalMaquereau

12/26/2012 at 09:23AM

28
#63 - Reed Riley / ReedRile

01/19/2013 at 09:37PM

28
#64 - A.B / _a0b_

04/30/2013 at 07:10PM

28
#65 - Arvin Moezzi / kraphti

05/09/2013 at 11:46PM

28
#66 - James / Dronak

09/20/2014 at 05:49PM

29
#67 - Oliver Christ / 0liverChrist

09/29/2013 at 02:32PM

30
#68 - Ravi S Sinha / ambidextrousTx

12/21/2012 at 10:54PM

30
#69 - brett / brettyukich

09/22/2013 at 04:52AM

34
#70 - Pawel Obrok / mrYapee

12/21/2012 at 11:14AM

34
#71 - Zudochkin Dmitry / vredniy

01/17/2013 at 07:35AM

40
#72 - Vijay Chidambaram / vj_chidambaram

01/25/2013 at 03:16AM

42
#73 - vg41 / vg41

12/21/2012 at 09:56AM

47
#74 - CHIP CASTLE / chipcastle

12/28/2013 at 11:39PM