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

61 active golfers, 188 entries

Leaderboard (lowest score wins):
27
#31 - Baine Wedlock / @BaineWedlock

09/06/2019 at 09:10AM

27
#32 - Lory / @Lory46845742

11/07/2019 at 02:26PM

27
#33 - Jason Neylon / @jasonneylon

03/15/2020 at 11:22AM

27
#34 - hepebexè / @hepebexe

02/18/2021 at 07:22PM

28
#35 - Καράτε Μόνο / @karate_mono

09/02/2019 at 10:12AM

28
#36 - Алексей Кашуба / @Alex_Kashuba

09/02/2019 at 09:17PM

28
#37 - Michael Meixner / @meixner62

01/23/2020 at 06:24PM

28
#38 - quemeraisc / @quemeraisc

08/18/2022 at 03:03PM

29
#39 - Roger Stoltz / @rogsto1

11/25/2019 at 11:44PM

30
#40 - Aioriya / @AioriyaDonk

09/23/2019 at 01:46AM

30
#41 - Alex / @AlexanderHeatl2

07/06/2022 at 09:58PM

31
#42 - greengreen / @greengr09073862

09/01/2019 at 01:57PM

31
#43 - Andrew Blokzyl / @linuxKd

09/03/2019 at 07:28PM

31
#44 - theBecwar / @thebecwar

09/08/2019 at 06:49PM

31
#45 - :wq / @write_quit_22

05/24/2021 at 06:39AM

31
#46 - Ilay Skutelsky / @ISkutelsky

08/04/2022 at 08:35PM

32
#47 - Jonathan Eidsness / @jonathaneidsnes

09/03/2019 at 08:56PM

32
#48 - Zach Ingbretsen / @ZIngbretsen

09/06/2019 at 02:01PM

32
#49 - RockerZZY / @rocker_zzy

06/13/2020 at 03:25AM

33
#50 - Floyd Gantt / @fgantt

09/04/2019 at 04:55PM

34
#51 - Rohan Verma / @rhnvrm

09/05/2019 at 10:33PM

35
#52 - Alexander L. / @Lexol4s

09/10/2019 at 12:44AM

35
#53 - Miko / @_m_ik_o_

09/26/2019 at 04:09PM

39
#54 - Mark Brody / @_markbrody

11/06/2019 at 09:29PM

43
#55 - Adam Bumpus / @bumpus_adam

09/03/2019 at 05:38PM

44
#56 - Hans Lidiki / @HLidiki

09/07/2019 at 05:11PM

44
#57 - Yabūchi Takeshi / @WhiteKyoto

09/10/2019 at 09:09AM

49
#58 - Никита Семёнов / @NiKoS1707

09/24/2022 at 06:37PM

52
#59 - averageRandomPerson / @averageRandomP1

09/14/2019 at 04:17AM

58
#60 - Zviad Mgaloblishvili / @ZMgaloblishvili

10/10/2019 at 09:19PM