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 53 remaining solutions by signing in and submitting your own entry
#54 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

54 active golfers, 153 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

15
#9 - Turkey Man / @lvturkeyman

11/29/2017 at 07:05AM

15
#10 - DHM / @DHM29978992

05/28/2018 at 12:59AM

16
#11 - Bellator nobilis / @BNobilis

01/22/2015 at 11:16PM

17
#12 - Maximiliano Padulo / @mpadulo

01/05/2015 at 12:56PM

17
#13 - Petro Тrouq / @zulolosi

01/05/2015 at 03:06PM

17
#14 - Иоаннъ / @Vaneskot

01/22/2015 at 01:28PM

18
#15 - mnx / @mnxx

01/05/2015 at 10:25AM

18
#16 - Kai Yuan / @kentyuan

01/05/2015 at 11:15AM

18
#17 - Gammelin Guillaume / @ggammelin

01/05/2015 at 03:16PM

18
#18 - Paul / @paxlzi

01/07/2015 at 06:52PM

18
#19 - kobby / @_kafdot_

01/09/2015 at 11:38PM

18
#20 - YAMADA Yukimi / @edp02

01/17/2015 at 10:22AM

18
#21 - mark0829 / @mark0829

01/25/2015 at 07:45AM

18
#22 - Carlos López / @morrizon

02/03/2015 at 07:40PM

18
#23 - xieyh11 / @xieyh11

02/21/2015 at 04:11AM

18
#24 - Matthieu Crapet / @mcr05

02/26/2015 at 07:52PM

18
#25 - pftb12345 / @pftb12345

04/09/2015 at 11:59PM

18
#26 - Ben Hill / @KaizenSoze70

11/16/2017 at 02:17PM

19
#27 - Steve / @Logogenics

01/17/2015 at 02:35AM

19
#28 - Angus Warren / @SuperJediWombat

01/22/2015 at 01:34PM

20
#29 - Zapata / @Incredible_JFP

01/05/2015 at 11:57AM

20
#30 - Dr Rev J. '𝕵. 𝕶𝖎𝖗𝖈𝖍𝖆𝖗𝖙𝖟' Kirchartz / @JKirchartz

01/19/2015 at 04:24PM