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

210 active golfers, 350 entries

Leaderboard (lowest score wins):
9
#151 - Mike Wabst / @wabst

08/11/2015 at 07:59PM

9
#152 - Walker Boh / @walker_boh

10/19/2015 at 08:21AM

9
#153 - Robert Goeddel / @f0rdpr3fect

11/13/2015 at 07:51PM

9
#154 - Jon Krause / @jkrause314

11/17/2015 at 07:32AM

9
#155 - Izabel Jeleni─ç / @IzabelJelenic

12/25/2015 at 11:04PM

9
#156 - quiggy­čî╣ / @quiggy

05/18/2016 at 02:41PM

9
#157 - Miłosz Łakomy / @foobar01123

06/02/2016 at 10:16PM

9
#158 - Chris / @Gaunah_

09/07/2016 at 06:10PM

9
#159 - jinx balotchnik / @balotchnik

10/14/2016 at 10:04PM

9
#160 - Michał Dytko / @DytkoM

12/29/2016 at 02:24PM

9
#161 - Yann / @yannstad

03/01/2017 at 01:19AM

9
#162 - Daniel / @Daniel00288663

04/03/2017 at 01:33PM

9
#163 - Gurukandhamoorthi / @Gurukandhamoor1

07/28/2017 at 02:11PM

9
#164 - Turkey Man / @lvturkeyman

11/26/2017 at 04:58PM

9
#165 - Alphonse Mariya / @alfunx

01/19/2018 at 07:42PM

9
#166 - DHM / @DHM29978992

05/08/2018 at 01:10AM

9
#167 - Benny / @b1299709

07/12/2018 at 12:39PM

9
#168 - Dani├źl De Koker / @daniel_koker

07/28/2018 at 09:54PM

9
#169 - Not real / @Notreal70353016

09/23/2018 at 03:21AM

9
#170 - Maas Lalani / @maaslalani

12/07/2018 at 05:30AM

9
#171 - timonegk / @timonegk

12/12/2018 at 11:16PM

9
#172 - Mihai / @mihaicristiant

03/18/2019 at 08:46AM

9
#173 - Graham Singer / @grahamsinger

06/03/2019 at 11:20PM

9
#174 - Ben M / @Sweet_Scientist

06/07/2019 at 04:58AM

9
#175 - Miko / @_m_ik_o_

10/24/2019 at 12:15PM

9
#176 - Lory / @Lory46845742

12/18/2019 at 01:30PM

9
#177 - Fukunishi Hashitoku / @FHashitoku

05/08/2020 at 02:49PM

9
#178 - Stefan Richter / @r1chter19

05/10/2020 at 11:00PM

9
#179 - RockerZZY / @rocker_zzy

06/10/2020 at 11:08PM

9
#180 - mindgitrwx / @mindgitrwx

09/17/2020 at 02:54PM