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 51dfe1d12b2f6d0002000046

Delete unwanted lines

Delete all lines which does not end in "o.."

Start file
gamag
gamah
ganci
gaoag
gaoah
gaoci
gbmag
gboch
gboci
gcmag
gcmah
gcmai
gcnci
gcoag
gcoah
gcoai
gcoch
gcobg
gcoci
hamag
hamah
hanci
haoag
hbmag
hbnci
hboag
hboch
hboci
hcmag
hcncg
hcnch
hcnci
hcoag
hcoci
iamag
End file
gaoag
gaoah
gaoci
gboch
gboci
gcoag
gcoah
gcoai
gcoch
gcobg
gcoci
haoag
hboag
hboch
hboci
hcoag
hcoci

View Diff

1,3d0
< gamag
< gamah
< ganci
7d3
< gbmag
10,13d5
< gcmag
< gcmah
< gcmai
< gcnci
20,22d11
< hamag
< hamah
< hanci
24,25d12
< hbmag
< hbnci
29,32d15
< hcmag
< hcncg
< hcnch
< hcnci
35d17
< iamag

Solutions by @maaslalani:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @powertomato

229 active golfers, 413 entries

Solutions by @maaslalani:
9
#170 - Maas Lalani / @maaslalani

12/07/2018 at 05:30AM

9
#>170 - Maas Lalani / @maaslalani

12/07/2018 at 05:31AM

11
#>211 - Maas Lalani / @maaslalani

12/07/2018 at 05:30AM

12
#>220 - Maas Lalani / @maaslalani

12/07/2018 at 05:29AM

13
#>223 - Maas Lalani / @maaslalani

12/07/2018 at 05:29AM

15
#>223 - Maas Lalani / @maaslalani

12/07/2018 at 05:27AM

15
#>223 - Maas Lalani / @maaslalani

12/07/2018 at 05:29AM

17
#>224 - Maas Lalani / @maaslalani

12/07/2018 at 05:27AM

24
#>224 - Maas Lalani / @maaslalani

12/07/2018 at 05:26AM

49
#>228 - Maas Lalani / @maaslalani

12/07/2018 at 05:12AM

62
#>229 - Maas Lalani / @maaslalani

12/07/2018 at 05:14AM