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

65 active golfers, 202 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

15
#11 - russellzhaomao / @russellzhaomao

06/20/2022 at 11:15AM

15
#12 - Peppa Pig / @PeppaPigSg

07/03/2024 at 02:45AM

15
#13 - nickGPT / @nickandbro

08/28/2024 at 04:40AM

16
#14 - Bellator nobilis / @BNobilis

01/22/2015 at 11:16PM

16
#15 - Jean George / @JeanGeo20504212

06/07/2022 at 02:48PM

16
#16 - Berel94 / @Berel94

03/23/2024 at 11:29PM

17
#17 - Maximiliano Padulo / @mpadulo

01/05/2015 at 12:56PM

17
#18 - Petro Тrouq / @zulolosi

01/05/2015 at 03:06PM

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

01/22/2015 at 01:28PM

17
#20 - Mihai / @mihaicristiant

04/10/2019 at 08:55AM

17
#21 - vimgolfer / @vimgolfer7

12/01/2019 at 04:05AM

18
#22 - mnx / @mnxx

01/05/2015 at 10:25AM

18
#23 - Kai Yuan / @kentyuan

01/05/2015 at 11:15AM

18
#24 - Gammelin Guillaume / @ggammelin

01/05/2015 at 03:16PM

18
#25 - Paul / @paxlzi

01/07/2015 at 06:52PM

18
#26 - kobby / @_kafdot_

01/09/2015 at 11:38PM

18
#27 - ゆきみ / @edp02

01/17/2015 at 10:22AM

18
#28 - mark0829 / @mark0829

01/25/2015 at 07:45AM

18
#29 - Carlos López / @morrizon

02/03/2015 at 07:40PM

18
#30 - xieyh11 / @xieyh11

02/21/2015 at 04:11AM