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 5aa68c3b81f0830009000005

Subnetting

Split up the IP addresses in the right way.

Start file
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
37.192.0.0/13
End file
37.192.0.0/18
37.192.64.0/18
37.192.128.0/18
37.192.192.0/18
37.193.0.0/18
37.193.64.0/18
37.193.128.0/18
37.193.192.0/18
37.194.0.0/18
37.194.64.0/18
37.194.128.0/18
37.194.192.0/18
37.195.0.0/18
37.195.64.0/18
37.195.128.0/18
37.195.192.0/18
37.196.0.0/18
37.196.64.0/18
37.196.128.0/18
37.196.192.0/18
37.197.0.0/18
37.197.64.0/18
37.197.128.0/18
37.197.192.0/18
37.198.0.0/18
37.198.64.0/18
37.198.128.0/18
37.198.192.0/18
37.199.0.0/18
37.199.64.0/18
37.199.128.0/18
37.199.192.0/18

View Diff

1,32c1,32
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
< 37.192.0.0/13
---
> 37.192.0.0/18
> 37.192.64.0/18
> 37.192.128.0/18
> 37.192.192.0/18
> 37.193.0.0/18
> 37.193.64.0/18
> 37.193.128.0/18
> 37.193.192.0/18
> 37.194.0.0/18
> 37.194.64.0/18
> 37.194.128.0/18
> 37.194.192.0/18
> 37.195.0.0/18
> 37.195.64.0/18
> 37.195.128.0/18
> 37.195.192.0/18
> 37.196.0.0/18
> 37.196.64.0/18
> 37.196.128.0/18
> 37.196.192.0/18
> 37.197.0.0/18
> 37.197.64.0/18
> 37.197.128.0/18
> 37.197.192.0/18
> 37.198.0.0/18
> 37.198.64.0/18
> 37.198.128.0/18
> 37.198.192.0/18
> 37.199.0.0/18
> 37.199.64.0/18
> 37.199.128.0/18
> 37.199.192.0/18

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 38 remaining solutions by signing in and submitting your own entry
#39 Jurica / @Jurica34581259 - Score: 169 - 12/06/18 @ 04:17
:%s/13/18<CR>1Gf2:for i in [2 <BS>, <BS>3,4,5,6,7,8,9]<CR>for j in [1,2,3,4]<CR>normal <BS><BS><BS><BS><BS><BS><BS>execute 'normal'.<BS><BS> '.<BS><BS>r'.i.'j'<CR>endfor<CR>endfor<CR>1Glllllllqajcw64<Esc>jhcw128<Esc>jhhcw192<Esc>jhhq7@aZZ

0 comments


Created by: @rax0m

39 active golfers, 131 entries

Leaderboard (lowest score wins):
29
#1 - Jon Krause / @jkrause314

03/13/2018 at 06:30AM

29
#2 - Smylers / @Smylers2

03/13/2018 at 09:33AM

29
#3 - GreenPinguin / @GreenPinguin2

03/13/2018 at 02:57PM

29
#4 - 梧桐王子 / @WutongYujie

04/28/2018 at 08:45AM

29
#5 - Kerson Hsiao / @KersonHsiao

07/07/2018 at 04:03PM

29
#6 - Daniël De Koker / @daniel_koker

07/12/2018 at 10:13AM

29
#7 - John Braxler / @braxler

06/28/2019 at 09:37PM

29
#8 - Oskar Fridell / @rax0m

09/16/2019 at 09:46AM

29
#9 - Jan Liu / @Jagsomarjan

09/29/2020 at 05:26PM

29
#10 - Jianfeng / @Jianfen22425058

02/01/2021 at 11:15AM

29
#11 - Jean George / @JeanGeo20504212

04/19/2022 at 10:18PM

29
#12 - quemeraisc / @quemeraisc

05/12/2022 at 04:31PM

29
#13 - moh ayaya / @AyayaMoh

09/18/2023 at 07:32PM

29
#14 - Luoyb / @Luoyb

11/14/2023 at 07:56AM

29
#15 - Peppa Pig / @PeppaPi95550250

07/01/2024 at 01:54AM

29
#16 - nickGPT / @nickandbro

08/27/2024 at 05:16AM

30
#17 - Guirec CORBEL / @GuirecCorbel

03/13/2018 at 06:24AM

34
#18 - Jonathan Eidsness / @jonathaneidsnes

03/18/2018 at 12:20AM

34
#19 - Mihai / @mihaicristiant

03/18/2019 at 11:11AM

34
#20 - Lory / @Lory46845742

02/03/2020 at 03:56PM

34
#21 - mevmev / @mevmev8

10/03/2021 at 07:56PM

35
#22 - Bruce Adams / @bruceadams1054

10/11/2018 at 10:52AM

36
#23 - Jan Bundesmann / @janbundesmann

03/13/2018 at 01:01PM

36
#24 - Bart Reynolds / @bartums

03/20/2018 at 01:44PM

37
#25 - bsjd / @bsjd

03/12/2018 at 09:31PM

37
#26 - DHM / @DHM29978992

04/15/2018 at 01:37AM

38
#27 - Vim Golfer / @vimgolfing

03/14/2018 at 11:43PM

38
#28 - Jonathan Camilleri / @Too_Many_Taken

06/03/2018 at 08:19AM

38
#29 - KoroneListener / @KoroneListener

09/05/2024 at 02:23PM

39
#30 - Lisa Ugray / @lisa_ugray

03/13/2018 at 12:46PM