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

0 comments


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

0 comments


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

0 comments


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


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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


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

0 comments


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


#75 Dmitry Zudochkin / 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


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


#77 bob / 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


#78 Gurukandhamoorthi / Gurukandhamoor1 - Score: 42 - 08/23/17 @ 16:02
:%s/ /\r/g<CR>:%s/[%<BS>^a-zA-Z]//g<CR><C-V>HU:sor u<CR>ZZ

0 comments


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

79 active golfers, 219 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

23
#5 - Turkey Man / lvturkeyman

12/07/2017 at 02:55AM

25
#6 - Kerson Hsiao / KersonHsiao

12/21/2012 at 12:52PM

25
#7 - Édouard M'tou / DouardM

12/21/2012 at 03:05PM

25
#8 - Tim Chase / gumnos

12/21/2012 at 03:42PM

25
#9 - Marco Hinz / _mhinz_

12/21/2012 at 04:43PM

25
#10 - Victor Ramirez / virako

12/22/2012 at 04:57AM

25
#11 - faul_sname / faul_sname

12/22/2012 at 05:50AM

25
#12 - Hubba / HubbaBubbaFett

12/22/2012 at 06:28PM

25
#13 - DR / dde81

12/23/2012 at 12:24AM

25
#14 - XGOLFER / vimg0lfer

01/04/2013 at 10:09PM

25
#15 - retired account / retired10072015

01/11/2013 at 10:51PM

25
#16 - z0k / z0k

01/13/2013 at 11:24PM

25
#17 - nirosys / nirosys

01/19/2013 at 09:13PM

25
#18 - django unchained / DjangoTuxg

01/19/2013 at 10:48PM

25
#19 - Kai Yuan / kentyuan

02/26/2013 at 11:07AM

25
#20 - Jacob Swanner / jswanner

02/28/2013 at 07:16AM

25
#21 - Korbinian Stoemmer / PaulSmecker

03/09/2013 at 04:10PM

25
#22 - Tyler / tylerbindon

04/09/2013 at 05:46AM

25
#23 - Trevor Powell / DoomedBunnies

04/11/2013 at 01:36AM

25
#24 - Petro Тrouq / zulolosi

04/18/2013 at 07:03PM

25
#25 - Ali Moeeny / alimoeeny

05/11/2013 at 09:52PM

25
#26 - Bradd Szonye / bszonye

07/13/2013 at 12:21PM

25
#27 - Jon Krause / jkrause314

10/19/2015 at 01:17AM

25
#28 - Smylers / Smylers2

03/30/2016 at 09:14PM

25
#29 - Sergio / voyeg3r

09/24/2017 at 05:11PM

25
#30 - DHM / DHM29978992

05/29/2018 at 01:14AM