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 54aa4898e87aa400023e3a19

Wget failed to download redirections

Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.

Start file
--2015-01-04 17:52:38--  https://archive.org/download/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv
Resolving archive.org... 207.241.224.2
Connecting to archive.org|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia700401.us.archive.org/4/items/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv [following]
--2015-01-04 17:52:39--  https://ia700401.us.archive.org/4/items/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv
Resolving ia700401.us.archive.org... 207.241.228.50
Connecting to ia700401.us.archive.org|207.241.228.50|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name `ia700401.us.archive.org'.
To connect to ia700401.us.archive.org insecurely, use `--no-check-certificate'.
--2015-01-04 18:01:21--  https://archive.org/download/ScarletStreet/Scarlet_Street_512kb.mp4
Resolving archive.org... 207.241.224.2
Connecting to archive.org|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia902300.us.archive.org/25/items/ScarletStreet/Scarlet_Street_512kb.mp4 [following]
--2015-01-04 18:01:22--  https://ia902300.us.archive.org/25/items/ScarletStreet/Scarlet_Street_512kb.mp4
Resolving ia902300.us.archive.org... 207.241.228.50
Connecting to ia902300.us.archive.org|207.241.228.50|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name `ia902300.us.archive.org'.
To connect to ia902300.us.archive.org insecurely, use `--no-check-certificate'.
--2015-01-04 18:01:23--  https://archive.org/download/Timetable1956/Timetable1956.mp4
Resolving archive.org... 207.241.224.2
Connecting to archive.org|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia600801.us.archive.org/4/items/Timetable1956/Timetable1956.mp4 [following]
--2015-01-04 18:01:24--  https://ia600801.us.archive.org/4/items/Timetable1956/Timetable1956.mp4
Resolving ia600801.us.archive.org... 207.241.227.151
Connecting to ia600801.us.archive.org|207.241.227.151|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name `ia600801.us.archive.org'.
To connect to ia600801.us.archive.org insecurely, use `--no-check-certificate'.
--2015-01-04 18:01:25--  https://archive.org/download/TooLateForTears/TooLateForTears.mp4
Resolving archive.org... 207.241.224.2
Connecting to archive.org|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia600409.us.archive.org/13/items/TooLateForTears/TooLateForTears.mp4 [following]
--2015-01-04 18:01:27--  https://ia600409.us.archive.org/13/items/TooLateForTears/TooLateForTears.mp4
Resolving ia600409.us.archive.org... 207.241.227.219
Connecting to ia600409.us.archive.org|207.241.227.219|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name `ia600409.us.archive.org'.
To connect to ia600409.us.archive.org insecurely, use `--no-check-certificate'.
--2015-01-04 18:01:28--  https://archive.org/download/Quicksand_clear/Quicksand_512kb.mp4
Resolving archive.org... 207.241.224.2
Connecting to archive.org|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia600406.us.archive.org/14/items/Quicksand_clear/Quicksand_512kb.mp4 [following]
--2015-01-04 18:01:29--  https://ia600406.us.archive.org/14/items/Quicksand_clear/Quicksand_512kb.mp4
Resolving ia600406.us.archive.org... 207.241.227.216
Connecting to ia600406.us.archive.org|207.241.227.216|:443... connected.
ERROR: no certificate subject alternative name matches
        requested host name `ia600406.us.archive.org'.
To connect to ia600406.us.archive.org insecurely, use `--no-check-certificate'.
End file
https://ia700401.us.archive.org/4/items/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv
https://ia902300.us.archive.org/25/items/ScarletStreet/Scarlet_Street_512kb.mp4
https://ia600801.us.archive.org/4/items/Timetable1956/Timetable1956.mp4
https://ia600409.us.archive.org/13/items/TooLateForTears/TooLateForTears.mp4
https://ia600406.us.archive.org/14/items/Quicksand_clear/Quicksand_512kb.mp4

View Diff

1,55c1,5
< --2015-01-04 17:52:38--  https://archive.org/download/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv
< Resolving archive.org... 207.241.224.2
< Connecting to archive.org|207.241.224.2|:443... connected.
< HTTP request sent, awaiting response... 302 Moved Temporarily
< Location: https://ia700401.us.archive.org/4/items/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv [following]
< --2015-01-04 17:52:39--  https://ia700401.us.archive.org/4/items/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv
< Resolving ia700401.us.archive.org... 207.241.228.50
< Connecting to ia700401.us.archive.org|207.241.228.50|:443... connected.
< ERROR: no certificate subject alternative name matches
<         requested host name `ia700401.us.archive.org'.
< To connect to ia700401.us.archive.org insecurely, use `--no-check-certificate'.
< --2015-01-04 18:01:21--  https://archive.org/download/ScarletStreet/Scarlet_Street_512kb.mp4
< Resolving archive.org... 207.241.224.2
< Connecting to archive.org|207.241.224.2|:443... connected.
< HTTP request sent, awaiting response... 302 Moved Temporarily
< Location: https://ia902300.us.archive.org/25/items/ScarletStreet/Scarlet_Street_512kb.mp4 [following]
< --2015-01-04 18:01:22--  https://ia902300.us.archive.org/25/items/ScarletStreet/Scarlet_Street_512kb.mp4
< Resolving ia902300.us.archive.org... 207.241.228.50
< Connecting to ia902300.us.archive.org|207.241.228.50|:443... connected.
< ERROR: no certificate subject alternative name matches
<         requested host name `ia902300.us.archive.org'.
< To connect to ia902300.us.archive.org insecurely, use `--no-check-certificate'.
< --2015-01-04 18:01:23--  https://archive.org/download/Timetable1956/Timetable1956.mp4
< Resolving archive.org... 207.241.224.2
< Connecting to archive.org|207.241.224.2|:443... connected.
< HTTP request sent, awaiting response... 302 Moved Temporarily
< Location: https://ia600801.us.archive.org/4/items/Timetable1956/Timetable1956.mp4 [following]
< --2015-01-04 18:01:24--  https://ia600801.us.archive.org/4/items/Timetable1956/Timetable1956.mp4
< Resolving ia600801.us.archive.org... 207.241.227.151
< Connecting to ia600801.us.archive.org|207.241.227.151|:443... connected.
< ERROR: no certificate subject alternative name matches
<         requested host name `ia600801.us.archive.org'.
< To connect to ia600801.us.archive.org insecurely, use `--no-check-certificate'.
< --2015-01-04 18:01:25--  https://archive.org/download/TooLateForTears/TooLateForTears.mp4
< Resolving archive.org... 207.241.224.2
< Connecting to archive.org|207.241.224.2|:443... connected.
< HTTP request sent, awaiting response... 302 Moved Temporarily
< Location: https://ia600409.us.archive.org/13/items/TooLateForTears/TooLateForTears.mp4 [following]
< --2015-01-04 18:01:27--  https://ia600409.us.archive.org/13/items/TooLateForTears/TooLateForTears.mp4
< Resolving ia600409.us.archive.org... 207.241.227.219
< Connecting to ia600409.us.archive.org|207.241.227.219|:443... connected.
< ERROR: no certificate subject alternative name matches
<         requested host name `ia600409.us.archive.org'.
< To connect to ia600409.us.archive.org insecurely, use `--no-check-certificate'.
< --2015-01-04 18:01:28--  https://archive.org/download/Quicksand_clear/Quicksand_512kb.mp4
< Resolving archive.org... 207.241.224.2
< Connecting to archive.org|207.241.224.2|:443... connected.
< HTTP request sent, awaiting response... 302 Moved Temporarily
< Location: https://ia600406.us.archive.org/14/items/Quicksand_clear/Quicksand_512kb.mp4 [following]
< --2015-01-04 18:01:29--  https://ia600406.us.archive.org/14/items/Quicksand_clear/Quicksand_512kb.mp4
< Resolving ia600406.us.archive.org... 207.241.227.216
< Connecting to ia600406.us.archive.org|207.241.227.216|:443... connected.
< ERROR: no certificate subject alternative name matches
<         requested host name `ia600406.us.archive.org'.
< To connect to ia600406.us.archive.org insecurely, use `--no-check-certificate'.
---
> https://ia700401.us.archive.org/4/items/Man_Who_Cheated_Himself/Man_Who_Cheated_Himself.ogv
> https://ia902300.us.archive.org/25/items/ScarletStreet/Scarlet_Street_512kb.mp4
> https://ia600801.us.archive.org/4/items/Timetable1956/Timetable1956.mp4
> https://ia600409.us.archive.org/13/items/TooLateForTears/TooLateForTears.mp4
> https://ia600406.us.archive.org/14/items/Quicksand_clear/Quicksand_512kb.mp4

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 41 remaining solutions by signing in and submitting your own entry
#42 Jon Krause / jkrause314 - Score: 24 - 12/03/15 @ 22:23
:v/ht/d<CR>qqdthkd2kkq4@qZZ

0 comments

#43 0x255 / 0x255 - Score: 25 - 01/05/15 @ 13:02
:v/]/d<CR><C-V>f 5kd:%s/ .*//<CR>ZZ

0 comments

#44 Rod Knowlton / codelahoma - Score: 25 - 01/07/15 @ 15:51
:v/]/d<CR><C-V>f 5kd:%s/ .*//<CR>ZZ

0 comments

#45 Saher El-Neklawy / saherneklawy - Score: 26 - 01/05/15 @ 08:58
:v/^L/d<CR><C-V>ggf <Del>:%s/ .*//<CR>ZZ

0 comments

#46 Oliver Christ / 0liverChrist - Score: 26 - 01/11/15 @ 22:30
:v/Lo/d<CR><C-V>ggf d:%s/ .*//<CR>ZZ

0 comments

#47 Léo S / LeoSauvaget - Score: 27 - 08/28/15 @ 18:49
:v/<BS>/]/d<CR>qq^^df f d$kq4@qZZ

0 comments

#48 ltn614 / ltn614 - Score: 30 - 09/21/15 @ 11:01
:v/]/d<CR>:%s/.*: \(.*\) .*/\1<CR>ZZ

0 comments

#49 Skúli Jóhannsson / skulibj - Score: 32 - 06/26/15 @ 23:43
:v/^L/d<CR>:%s/.*n: //<CR>:%s/ .*//<CR>ZZ

0 comments

#50 Константин / xni - Score: 34 - 01/22/15 @ 13:38
:v/Lo/d<CR>:g//s/.* \(.*\) .*/\1/g<CR>ZZ

0 comments

#51 Stefan Sonski / stefansonski - Score: 34 - 03/08/15 @ 13:16
:v/^L/d<CR>:%s/.*\s\(.*\)\s.*/\1/g<CR>ZZ

0 comments

#52 luffy / raxcoi - Score: 38 - 01/06/15 @ 14:32
:g!/Location/d<CR><C-V>ggwld:%s/ \[f.*$//g<CR>ZZ

0 comments

Created by: rmarvie

52 active golfers, 147 entries

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

01/05/2015 at 01:35PM

15
#2 - John Braxler / braxler

01/05/2015 at 02:25PM

15
#3 - kimber gonzalez / kimberlycreates

01/06/2015 at 08:54PM

15
#4 - Carlos A Henríquez Q / lagunex

01/16/2015 at 01:39PM

15
#5 - Håken Lid / haakenlid

01/19/2015 at 10:54AM

15
#6 - Плеханов Дмитрий / onemanstartup

01/21/2015 at 04:45PM

15
#7 - Charles Wu / Congeec

01/24/2015 at 06:58AM

15
#8 - Alexander Kazakov / volandkot

03/31/2015 at 10:42AM

16
#9 - Bellator nobilis / BNobilis

01/22/2015 at 11:16PM

17
#10 - Maximiliano Padulo / mpadulo

01/05/2015 at 12:56PM

17
#11 - Petro Тrouq / zulolosi

01/05/2015 at 03:06PM

17
#12 - Иоаннъ / Vaneskot

01/22/2015 at 01:28PM

18
#13 - mnx / mnxx

01/05/2015 at 10:25AM

18
#14 - Kai Yuan / kentyuan

01/05/2015 at 11:15AM

18
#15 - Gammelin Guillaume / ggammelin

01/05/2015 at 03:16PM

18
#16 - Paul / paxlzi

01/07/2015 at 06:52PM

18
#17 - kobby / _kafdot_

01/09/2015 at 11:38PM

18
#18 - YAMADA Yukimi / edp02

01/17/2015 at 10:22AM

18
#19 - mark0829 / mark0829

01/25/2015 at 07:45AM

18
#20 - Carlos López / morrizon

02/03/2015 at 07:40PM

18
#21 - xieyh11 / xieyh11

02/21/2015 at 04:11AM

18
#22 - Matthieu Crapet / mcr05

02/26/2015 at 07:52PM

18
#23 - pftb12345 / pftb12345

04/09/2015 at 11:59PM

18
#24 - Ben Hill / KaizenSoze70

11/16/2017 at 02:17PM

19
#25 - Steve / Logogenics

01/17/2015 at 02:35AM

19
#26 - Angus Warren / SuperJediWombat

01/22/2015 at 01:34PM

20
#27 - Zapata / Incredible_JFP

01/05/2015 at 11:57AM

20
#28 - Dr Rev J Kirchartz / JKirchartz

01/19/2015 at 04:24PM

20
#29 - TheProgrammer971 / tp971

03/22/2015 at 10:47AM

20
#30 - Tim Grebien / tiggg

02/22/2017 at 09:22AM

20
#31 - Daniel / Daniel00288663

04/05/2017 at 09:34AM

22
#32 - Josu Oyanguren / josuoyanguren

01/08/2015 at 10:27AM

22
#33 - Charles H. Leggett / cleggett

01/15/2015 at 01:40PM

22
#34 - vgmct / vgmct

04/26/2015 at 04:49AM

23
#35 - blamitter / blamitter

01/08/2015 at 09:00PM

23
#36 - John Smith / intanalyst1

02/28/2015 at 08:49PM

23
#37 - Кисы / ubermuschi

03/03/2015 at 12:06AM

23
#38 - Márton Németh / nemarci42

03/01/2017 at 05:44PM

23
#39 - Gurukandhamoorthi / Gurukandhamoor1

08/14/2017 at 03:08PM

24
#40 - r. / rmarvie

01/05/2015 at 08:37AM

24
#41 - SilentFl / Silent_Fl

01/26/2015 at 10:25AM

24
#42 - Jon Krause / jkrause314

12/03/2015 at 10:23PM

25
#43 - 0x255 / 0x255

01/05/2015 at 01:02PM

25
#44 - Rod Knowlton / codelahoma

01/07/2015 at 03:51PM

26
#45 - Saher El-Neklawy / saherneklawy

01/05/2015 at 08:58AM

26
#46 - Oliver Christ / 0liverChrist

01/11/2015 at 10:30PM

27
#47 - Léo S / LeoSauvaget

08/28/2015 at 06:49PM

30
#48 - ltn614 / ltn614

09/21/2015 at 11:01AM

32
#49 - Skúli Jóhannsson / skulibj

06/26/2015 at 11:43PM

34
#50 - Константин / xni

01/22/2015 at 01:38PM

34
#51 - Stefan Sonski / stefansonski

03/08/2015 at 01:16PM

38
#52 - luffy / raxcoi

01/06/2015 at 02:32PM