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

Extract wireshark capture filter

Extract wireshark capture filter from IP plan

Start file
oam_net               10.81.137.0/29    10.81.137.1-10.81.137.6      10.81.137.6    2300
traffic_net_1         10.81.137.16/28   10.81.137.17-10.81.137.30    10.81.137.30   2301
metallb_default_pool  21.21.0.0/24      21.21.0.1-21.21.0.254        21.21.0.254    -
director_ip           10.81.137.0/29    10.81.137.5-10.81.137.5      10.81.137.6    -
oam_net               10.81.137.8/29    10.81.137.9-10.81.137.14     10.81.137.14   2302
traffic_net_1         10.81.137.32/28   10.81.137.33-10.81.137.46    10.81.137.46   2303
istio_ip_1            10.81.139.1/32    10.81.139.1-10.81.139.1      -              -
End file
net 10.81.137.0/29 or net 10.81.137.16/28 or net 21.21.0.0/24 or net 10.81.137.0/29 or net 10.81.137.8/29 or net 10.81.137.32/28 or net 10.81.139.1/32

View Diff

1,7c1
< oam_net               10.81.137.0/29    10.81.137.1-10.81.137.6      10.81.137.6    2300
< traffic_net_1         10.81.137.16/28   10.81.137.17-10.81.137.30    10.81.137.30   2301
< metallb_default_pool  21.21.0.0/24      21.21.0.1-21.21.0.254        21.21.0.254    -
< director_ip           10.81.137.0/29    10.81.137.5-10.81.137.5      10.81.137.6    -
< oam_net               10.81.137.8/29    10.81.137.9-10.81.137.14     10.81.137.14   2302
< traffic_net_1         10.81.137.32/28   10.81.137.33-10.81.137.46    10.81.137.46   2303
< istio_ip_1            10.81.139.1/32    10.81.139.1-10.81.139.1      -              -
---
> net 10.81.137.0/29 or net 10.81.137.16/28 or net 21.21.0.0/24 or net 10.81.137.0/29 or net 10.81.137.8/29 or net 10.81.137.32/28 or net 10.81.139.1/32

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 69 remaining solutions by signing in and submitting your own entry
#70 Antwane Mason / @admason1413 - Score: 66 - 09/13/19 @ 19:52
:%s/[a-z1_]\++<BS>\s\+\([0-9.//]\+\)\p*/net \1<CR>:!<BS>1,$-1s/\n/ or /<CR>:x<CR>

0 comments


Created by: @rax0m

70 active golfers, 213 entries

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

12/20/2020 at 06:21PM

25
#2 - John Braxler / @braxler

01/28/2021 at 07:40PM

25
#3 - Jianfeng / @Jianfen22425058

01/31/2021 at 09:06AM

25
#4 - Jung Yeon Park / @park_jungy

02/09/2021 at 02:28AM

25
#5 - A A A / @37fatos

03/11/2021 at 11:04PM

25
#6 - Roman Privalov / @RomanPrivalov

09/23/2021 at 12:04PM

25
#7 - dorianm / @dorianm

05/08/2022 at 10:27PM

25
#8 - moh ayaya / @AyayaMoh

08/31/2023 at 05:14PM

25
#9 - Aly Thobani / @alythobani

05/30/2024 at 09:36PM

25
#10 - Peppa Pig / @PeppaPi95550250

07/02/2024 at 07:04AM

26
#11 - Norbert / @mullno

09/01/2019 at 02:23PM

26
#12 - Smylers / @Smylers2

09/01/2019 at 08:05PM

26
#13 - Ron Holt / @ron_holt

09/02/2019 at 12:08AM

26
#14 - tPenguinLTG / @tpenguinltg

09/02/2019 at 03:28AM

26
#15 - Saki Gw / @Sakigw

09/02/2019 at 01:00PM

26
#16 - AndrzejWasowski@scholar.social 🌻 πŸ•ŠοΈ / @AndrzejWasowski

09/03/2019 at 12:34PM

26
#17 - sooqua / @sooqua

09/04/2019 at 12:04PM

26
#18 - Oskar Fridell / @rax0m

09/16/2019 at 09:41AM

26
#19 - Cassandra / @kascein

09/17/2019 at 08:56PM

26
#20 - Adam Hartz / @awareofnow

09/20/2019 at 12:40AM

26
#21 - Viktor Styrud / @ViktorStyrud

09/24/2019 at 08:51AM

26
#22 - vimgolfer / @vimgolfer7

09/29/2019 at 04:04AM

26
#23 - Sam O'Malley / @Samuel_OMalley

10/12/2019 at 04:27AM

26
#24 - Mario Olofo / @mario_olofo

10/21/2019 at 07:32PM

26
#25 - countime / @countime1

03/16/2020 at 11:55AM

26
#26 - Luoyb / @Luoyb

10/28/2023 at 01:24AM

27
#27 - πšƒπš’πšπš˜πšžπšŠπš— πšƒπšŽπš’πšœπšœπš’πšŽπš› / @TitouanT_

09/01/2019 at 08:00AM

27
#28 - Ivo BlΓΆchliger / @aigledesalpes

09/01/2019 at 05:04PM

27
#29 - JΜ•Μ»Ν…o̠̻̘hΜΌΜ–n̙̩̝͕ D̹̗̗͝oeΜΆΜ±Μ₯Ν™ / @JohnJDoe2

09/02/2019 at 06:53AM

27
#30 - dpetrovic_vimgolf / @DpetrovicV

09/02/2019 at 11:43AM