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):
18
#31 - Matt / @mcr05

02/26/2015 at 07:52PM

18
#32 - pftb12345 / @pftb12345

04/09/2015 at 11:59PM

18
#33 - Ben Hill / @KaizenSoze70

11/16/2017 at 02:17PM

18
#34 - RockerZZY / @rocker_zzy

07/21/2020 at 03:05AM

19
#35 - Steve / @Logogenics

01/17/2015 at 02:35AM

19
#36 - SuperJediWombat / @SuperJediWombat

01/22/2015 at 01:34PM

20
#37 - Zapata / @Incredible_JFP

01/05/2015 at 11:57AM

20
#38 - Dr Rev J. “I am not a bot!” Kirchartz, KSC, KHS / @JKirchartz

01/19/2015 at 04:24PM

20
#39 - TheProgrammer971 / @tp971

03/22/2015 at 10:47AM

20
#40 - Tim Grebien / @tiggg

02/22/2017 at 09:22AM

20
#41 - Daniel / @Daniel00288663

04/05/2017 at 09:34AM

20
#42 - TimMcGuire / @mcguire

02/26/2020 at 09:24PM

22
#43 - Josu Oyanguren / @josuoyanguren

01/08/2015 at 10:27AM

22
#44 - Charles H. Leggett / @cleggett

01/15/2015 at 01:40PM

22
#45 - vgmct / @vgmct

04/26/2015 at 04:49AM

22
#46 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 09:54PM

22
#47 - James / @Dronak

12/07/2022 at 09:45PM

23
#48 - blamitter ✏️ / @blamitter

01/08/2015 at 09:00PM

23
#49 - John Smith / @intanalyst1

02/28/2015 at 08:49PM

23
#50 - Кисы / @ubermuschi

03/03/2015 at 12:06AM

23
#51 - Márton Németh / @nemarci42

03/01/2017 at 05:44PM

23
#52 - Gurukandhamoorthi / @Gurukandhamoor1

08/14/2017 at 03:08PM

24
#53 - r. / @rmarvie

01/05/2015 at 08:37AM

24
#54 - SilentFl / @Silent_Fl

01/26/2015 at 10:25AM

24
#55 - Jon Krause / @jkrause314

12/03/2015 at 10:23PM

25
#56 - 0x255 / @0x255

01/05/2015 at 01:02PM

25
#57 - Rod Knowlton / @codelahoma

01/07/2015 at 03:51PM

26
#58 - Saher El-Neklawy / @saherneklawy

01/05/2015 at 08:58AM

26
#59 - Oliver Christ / @0liverChrist

01/11/2015 at 10:30PM

27
#60 - Léo S / @LeoSauvaget

08/28/2015 at 06:49PM