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):
42
#31 - Kevin Keefe / @KevinKeefe5

05/15/2020 at 02:14AM

44
#32 - Jay Knight ♞ / @jayknight

05/03/2018 at 08:06PM

46
#33 - Saki Gw / @Sakigw

03/12/2018 at 03:07PM

49
#34 - tPenguinLTG / @tpenguinltg

03/12/2018 at 04:33PM

51
#35 - z00master / @z00master

09/09/2022 at 05:31PM

54
#36 - Meda Marisela / @LongbowMeda

03/13/2018 at 01:20AM

56
#37 - Cristian Lupașcu / @clupasq

03/12/2018 at 03:37PM

69
#38 - Micah Halter / @mehalter

05/03/2018 at 07:44PM

169
#39 - Jurica / @Jurica34581259

12/06/2018 at 04:17AM