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

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 229 remaining solutions by signing in and submitting your own entry
#230 Benjamin Zimmer / @techerausa - Score: 57 - 09/30/13 @ 14:53
dddddd<Down><Down><Down>dd<Down><Down>dddddddd<Down><Down><Down><Down><Down><Down>dddddd<Down>dddd<Down><Down><Down>dddddddd<Down><Down>dd:wq<CR>

0 comments


Created by: @powertomato

230 active golfers, 419 entries

Leaderboard (lowest score wins):
9
#181 - Jean George / @JeanGeo20504212

04/19/2022 at 06:41AM

9
#182 - x03n046 / @x03n046

05/24/2022 at 02:46AM

9
#183 - Alex / @AlexanderHeatl2

05/27/2022 at 05:15PM

9
#184 - quemeraisc / @quemeraisc

05/31/2022 at 02:20PM

9
#185 - russellzhaomao / @russellzhaomao

06/06/2022 at 02:44AM

9
#186 - z00master / @z00master

08/23/2022 at 03:54PM

9
#187 - Neo / @neothetranquil

09/25/2022 at 04:57AM

9
#188 - Tejaswini Deshmukh / @todeshmukh

09/25/2022 at 09:50PM

9
#189 - Santosh Latpate / @sblatpate

09/25/2022 at 11:49PM

9
#190 - Janzen / @__Coos

09/26/2022 at 01:00PM

9
#191 - James Marshall / @astrophd

10/13/2022 at 10:30PM

9
#192 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 10:58PM

9
#193 - Joe Bushi / @joebushi

12/02/2022 at 07:50AM

9
#194 - Olivier Bégassat / @zk_evm

06/15/2023 at 01:45PM

9
#195 - Peppa Pig / @PeppaPigSg

07/03/2024 at 05:20AM

9
#196 - nickGPT / @nickandbro

08/28/2024 at 06:22PM

9
#197 - Pablo Acuna / @pacuna

11/03/2024 at 10:16PM

9
#198 - martinorav / @martinorav

01/12/2025 at 07:07PM

10
#199 - Gwilym Kuiper / @gwilymk

07/12/2013 at 01:53PM

10
#200 - Joel Taylor / @joelteon_

07/23/2013 at 01:54AM

10
#201 - Vinicius Souza / @vsouzas

07/28/2013 at 02:16PM

10
#202 - vansan / @VinceVansan

08/25/2013 at 02:16PM

10
#203 - Inuka Jayasekera / @a_new_car

08/28/2013 at 09:50PM

10
#204 - bunnies president / @bunnies4p

10/22/2013 at 06:31PM

10
#205 - David Tran / @everyzero

10/30/2013 at 08:06PM

10
#206 - Jurica / @Jurica34581259

12/13/2018 at 05:03PM

11
#207 - Woojung Kim 김우중 / @_kimwz

07/15/2013 at 04:09AM

11
#208 - Vestrobaa / @Vestrobaa

07/19/2013 at 05:27PM

11
#209 - Bart of Denver / @bartofdenver

08/12/2013 at 04:48AM

11
#210 - Sami Niiranen / @saminiir

10/13/2013 at 10:32AM