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 152 remaining solutions by signing in and submitting your own entry
#153 Robert Goeddel / f0rdpr3fect - Score: 9 - 11/13/15 @ 19:51
:v/o/d<CR>ZZ

0 comments

#154 Jon Krause / jkrause314 - Score: 9 - 11/17/15 @ 07:32
:v/o/d<CR>ZZ

0 comments

#155 Izabel Jelenić / IzabelJelenic - Score: 9 - 12/25/15 @ 23:04
:v/o/d<CR>ZZ

0 comments

#156 FURYROAD☭LIKER🌹 / quiggy - Score: 9 - 05/18/16 @ 14:41
:v/o/d<CR>ZZ

0 comments

#157 Foo Bar / foobar01123 - Score: 9 - 06/02/16 @ 22:16
:v:o:d<CR>ZZ

0 comments

#158 Chris / Gaunah_ - Score: 9 - 09/07/16 @ 18:10
:v/o/d<CR>ZZ

0 comments

#159 jinx balotchnik / balotchnik - Score: 9 - 10/14/16 @ 22:04
:v/o/d<CR>ZZ

0 comments

#160 Michał Dytko / DytkoM - Score: 9 - 12/29/16 @ 14:24
:v/o/d<CR>ZZ

0 comments

#161 Yann / yannstadnicki - Score: 9 - 03/01/17 @ 01:19
:v/o/d<CR>ZZ

0 comments

#162 Daniel / Daniel00288663 - Score: 9 - 04/03/17 @ 13:33
:v/o/d<CR>ZZ

0 comments

#163 Gurukandhamoorthi / Gurukandhamoor1 - Score: 9 - 07/28/17 @ 14:11
:v/o/d<CR>ZZ

0 comments

#164 Gwilym Kuiper / gwilymk - Score: 10 - 07/12/13 @ 13:53
:g!/o/d<CR>ZZ

0 comments

#165 Joel Taylor / joelteon_ - Score: 10 - 07/23/13 @ 01:54
:g!/o/d<CR>ZZ

0 comments

#166 Vinicius Souza / vsouzas - Score: 10 - 07/28/13 @ 14:16
:%v/o/d<CR>ZZ

0 comments

#167 vansan / VinceVansan - Score: 10 - 08/25/13 @ 14:16
:g!/o/d<CR>ZZ

0 comments

#168 Inuka Jayasekera / a_new_car - Score: 10 - 08/28/13 @ 21:50
:g!/o/d<CR>ZZ

0 comments

#169 bunnies president / bunnies4p - Score: 10 - 10/22/13 @ 18:31
:%v/o/d<CR>ZZ

0 comments

#170 David Tran / everyzero - Score: 10 - 10/30/13 @ 20:06
:g!/o/d<CR>ZZ

0 comments

#171 Woojung Kim 김우중 / _kimwz - Score: 11 - 07/15/13 @ 04:09
:v/o../d<CR>ZZ

0 comments

#172 Vestrobaa / Vestrobaa - Score: 11 - 07/19/13 @ 17:27
:v/o../d<CR>ZZ

0 comments

#173 Bart of Denver / bartofdenver - Score: 11 - 08/12/13 @ 04:48
:v/o../d<CR>ZZ

0 comments

#174 Sami Niiranen / saminiir - Score: 11 - 10/13/13 @ 10:32
:v/o../d<CR>ZZ

0 comments

#175 Taurus Olson / TaurusOlson - Score: 11 - 01/31/14 @ 22:04
:<Up><Up>v/o/d<CR>ZZ

0 comments

#176 Ali El Amine / Allouch95 - Score: 11 - 02/02/14 @ 20:02
:v/o../d<CR>ZZ

0 comments

#177 fSchl / FelixSchlitter - Score: 12 - 07/16/13 @ 00:22
:v/o..$/d<CR>ZZ

0 comments

#178 benzrf / benzrf - Score: 12 - 07/18/13 @ 15:59
:v/o..$/d<CR>ZZ

0 comments

#179 Trae Robrock / trobrock - Score: 12 - 07/22/13 @ 18:30
:g!/o../d<CR>ZZ

0 comments

#180 Joey Twiddle / joeytwiddle - Score: 12 - 09/01/13 @ 16:39
:v/o..$/d<CR>ZZ

0 comments

#181 Chirag Tailor / ctailor2 - Score: 12 - 01/29/14 @ 05:13
:g!/o/d<CR>:wq<CR>

0 comments

#182 Bill Booth / ohiopyle - Score: 12 - 01/29/14 @ 10:03
:v/o..$/d<CR>ZZ

0 comments

#183 Hugh barrigan / nagirrab - Score: 12 - 02/25/14 @ 21:18
:v/o..$/d<CR>ZZ

0 comments

#184 AC / quadface - Score: 12 - 04/29/15 @ 22:52
:v/o.*$/d<CR>ZZ

0 comments

#185 Elias Dorneles / eliasdorneles - Score: 13 - 09/03/13 @ 02:11
:g!/o..$/d<CR>ZZ

0 comments

#186 Ade Duke / adeduke - Score: 13 - 09/28/13 @ 17:56
:v/o/d<CR>:wq<BS>q<CR>

0 comments

#187 venkatakrishnan / venkatk_ - Score: 17 - 08/19/13 @ 15:36
:g/[^o]\w\w$/d<CR>ZZ

0 comments

#188 Jesse House / house9twx - Score: 34 - 07/17/13 @ 15:28
3dd3jdd2j4dd6j3ddj2dd3j4ddjjdd:wq<CR>

0 comments

#189 Alberto Pose / thepose - Score: 42 - 11/06/13 @ 18:08
:%s /..[^o]<Left><Left><Left><Left><Left><Left>^<Right><Right><Right><Right><Right><Right>..\n/g<BS>/g<CR><Esc><Esc>dd<Esc>:x<CR>

0 comments

#190 Eduardo Hashimoto / eduhashi - Score: 42 - 02/16/17 @ 00:00
dd..jjj.jj....jjjjjj...j..jjj....jj.:w<CR>:q<CR>

0 comments

#191 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

191 active golfers, 304 entries

Leaderboard (lowest score wins):
9
#1 - Kai Yuan / kentyuan

07/12/2013 at 12:03PM

9
#2 - Justin / justinjaffray

07/12/2013 at 12:06PM

9
#3 - powertomato / powertomato

07/12/2013 at 12:30PM

9
#4 - Tim Chase / gumnos

07/12/2013 at 01:09PM

9
#5 - eWaves / GiulioBortot

07/12/2013 at 01:25PM

9
#6 - Christopher Bahr / bahrware

07/12/2013 at 03:47PM

9
#7 - Oh fear / ohfear_num

07/12/2013 at 04:07PM

9
#8 - Volodymyr / vkrest

07/12/2013 at 04:30PM

9
#9 - Steve Tjoa / stevetjoa

07/12/2013 at 06:14PM

9
#10 - Urtica dioica / udioica

07/12/2013 at 09:14PM

9
#11 - Bradd Szonye / bszonye

07/13/2013 at 02:20AM

9
#12 - Sean Todd / descentintomael

07/13/2013 at 04:31AM

9
#13 - Petro Тrouq / zulolosi

07/13/2013 at 09:47AM

9
#14 - Ed Zukowski / dataoverflow

07/13/2013 at 01:58PM

9
#15 - jan muha / h4ct1c

07/13/2013 at 02:59PM

9
#16 - Aaron Bieber / aaronbieber

07/13/2013 at 05:01PM

9
#17 - nobody / 1892343453

07/13/2013 at 09:19PM

9
#18 - omahn / omahn

07/14/2013 at 09:32AM

9
#19 - Giorgio Sironi / giorgiosironi

07/14/2013 at 09:08PM

9
#20 - mnx / mnxx

07/15/2013 at 11:59AM

9
#21 - Matt Cook / mattcook08

07/15/2013 at 04:18PM

9
#22 - Tom Gould / tomgould92

07/16/2013 at 10:42PM

9
#23 - Adit Cahya Ramadhan / aditcr8

07/18/2013 at 04:47AM

9
#24 - Rainer Koirikivi / rkoiriki

07/18/2013 at 10:41AM

9
#25 - Maksim S. / waynesayonara

07/18/2013 at 06:45PM

9
#26 - Ingo / ist3fani

07/18/2013 at 07:15PM

9
#27 - Dr Rev J Kirchartz / JKirchartz

07/19/2013 at 03:19AM

9
#28 - ———đίxίє—flαтlίиє——— / _dixie_flatline

07/19/2013 at 06:47PM

9
#29 - Nathan / NathanHarperoni

07/19/2013 at 11:25PM

9
#30 - Jeroen van der Neut / jvdneut

07/20/2013 at 12:02PM

9
#31 - Joshua Draper / JoshuaBDraper

07/21/2013 at 03:34PM

9
#32 - Michael Lemley / audienceofnone

07/23/2013 at 08:05PM

9
#33 - Carl Shotwell / carl_talks

07/23/2013 at 08:23PM

9
#34 - Kevin Etienne / 42__kevin

07/23/2013 at 10:45PM

9
#35 - Justin Le / mstk

07/24/2013 at 07:30AM

9
#36 - Peter Lustig / LustigPeter42

07/29/2013 at 09:38PM

9
#37 - Tullio Facchinetti / toolleeo

07/30/2013 at 10:20AM

9
#38 - Kevin McGladdery / run_kmc

07/31/2013 at 06:14PM

9
#39 - Tom Saeger / tomsaeger

08/01/2013 at 07:10AM

9
#40 - Heath Patterson / HeathPatterson

08/02/2013 at 05:27PM

9
#41 - Felix Stridsberg / FelixStridsberg

08/03/2013 at 12:32PM

9
#42 - cj / cj01101

08/03/2013 at 07:31PM

9
#43 - Peter Johannson / PeterJohannson

08/03/2013 at 07:36PM

9
#44 - Laurent Brulet / lbrulet

08/04/2013 at 01:11PM

9
#45 - Armand Halbert / armandhalbert

08/08/2013 at 04:18PM

9
#46 - Matt / mattdbridges

08/09/2013 at 02:50PM

9
#47 - Gdleon / GdLe0n

08/10/2013 at 09:28AM

9
#48 - retired account / retired10072015

08/12/2013 at 10:18AM

9
#49 - Dan Harrington / Dan1H1

08/13/2013 at 01:54AM

9
#50 - Przemysław Kamiński / CXLII

08/13/2013 at 06:16AM

9
#51 - _ky_ / ultimate_ky

08/13/2013 at 06:46AM

9
#52 - Mike West / mwest67

08/13/2013 at 12:14PM

9
#53 - Michael / mjs2600

08/14/2013 at 12:17AM

9
#54 - David Pathakjee / DavidPathakjee

08/15/2013 at 04:05AM

9
#55 - Some(coder) / hauleth

08/15/2013 at 09:07PM

9
#56 - Chris Webb / chriswebb_42

08/22/2013 at 10:44PM

9
#57 - Rémi Jézéquel / Remjez

08/23/2013 at 01:55PM

9
#58 - Fontaine Kévin / DotSlash974

08/24/2013 at 04:58PM

9
#59 - Barry Nichols / Barry_Nichols

08/26/2013 at 06:04AM

9
#60 - Dan / dan_winkler

08/28/2013 at 03:37AM

9
#61 - Super Garbage / SuperGarbage0

08/29/2013 at 05:22AM

9
#62 - Tyler HT Cipriani / tylercipriani

08/29/2013 at 03:19PM

9
#63 - Bradley Tse / bradleytse

08/30/2013 at 01:15AM

9
#64 - Arthur叔 / Arthurljg

08/31/2013 at 10:58AM

9
#65 - isayoldchap / isayoldchap

09/02/2013 at 09:58AM

9
#66 - Daniel Kovacic / dkov01

09/02/2013 at 09:12PM

9
#67 - Arturo Escaip / arturoescaip

09/03/2013 at 01:11AM

9
#68 - Амар / amar_battulga

09/05/2013 at 01:29PM

9
#69 - James / Dronak

09/06/2013 at 12:43AM

9
#70 - Kerson Hsiao / KersonHsiao

09/09/2013 at 01:53AM

9
#71 - yaon / yaon4

09/10/2013 at 02:24PM

9
#72 - Andrew Crites / ExplosionPills

09/11/2013 at 02:37PM

9
#73 - Stephen Drodge / sjdrodge

09/12/2013 at 02:46AM

9
#74 - Oliver Christ / 0liverChrist

09/15/2013 at 09:16PM

9
#75 - Hawk Newton / hawknewton

09/17/2013 at 02:25AM

9
#76 - Matt Green / emgeeeeee

09/17/2013 at 03:09AM

9
#77 - Sean McKenna / sean__mckenna

09/18/2013 at 08:54PM

9
#78 - brett / brettyukich

09/18/2013 at 10:10PM

9
#79 - Rafa Garcia / fafa

09/19/2013 at 08:49AM

9
#80 - nona urbiz / nospampleasemam

09/28/2013 at 07:47AM

9
#81 - George GZ Zakhour / AlloGeorge

09/29/2013 at 03:00PM

9
#82 - prinz / prinzdezibel

09/29/2013 at 07:15PM

9
#83 - codegourmet / codegourmet

10/01/2013 at 11:47AM

9
#84 - Marcin Sza / coot_

10/10/2013 at 09:58AM

9
#85 - Joakim / golfjoakim

10/12/2013 at 10:35AM

9
#86 - foo / foo88832727

10/18/2013 at 08:00PM

9
#87 - Chris Ford / ctford

10/20/2013 at 11:08AM

9
#88 - Tyler / tylerbindon

10/20/2013 at 04:15PM

9
#89 - Gemma Lynn / ellotheth

10/22/2013 at 06:27AM

9
#90 - Casey Dwyer / caseydwyer

10/23/2013 at 02:01PM

9
#91 - A. N. / arez42

10/24/2013 at 12:06PM

9
#92 - Eric Potter / pottereric

10/24/2013 at 03:55PM

9
#93 - Tzipan / Tzipan

10/27/2013 at 01:30PM

9
#94 - Hoz / hzopak

10/28/2013 at 03:21PM

9
#95 - Fnord Everywhere / FnordE

10/30/2013 at 03:49PM

9
#96 - mwcz / mwcz

11/01/2013 at 06:15PM

9
#97 - Charlene Tshos / charlymul

11/06/2013 at 05:27PM

9
#98 - Jonathan Potter / nTypeRed

11/12/2013 at 06:40PM

9
#99 - gary.klindt@googlema / garstekli

11/14/2013 at 09:56PM

9
#100 - Daniel Marjenburgh / dmarjenburgh

11/17/2013 at 01:53PM

9
#101 - Stefan Schmidt / stafue

12/06/2013 at 10:24AM

9
#102 - wilddog64 / chengkai318

12/17/2013 at 07:52PM

9
#103 - Petr Broz / ipetrbroz

12/18/2013 at 09:15PM

9
#104 - Zach Kemp / zvksf

12/19/2013 at 07:35PM

9
#105 - Joshua Appelman / JoshuaAppelman

12/21/2013 at 09:23PM

9
#106 - Sam Burk / smwbk

12/23/2013 at 03:26AM

9
#107 - pikaren / REALpikaren

12/23/2013 at 03:49PM

9
#108 - Karun Ramakrishnan / the_karun

12/26/2013 at 07:07AM

9
#109 - Yann Moisan / YannMoisan

01/01/2014 at 07:29PM

9
#110 - Matt Parnell / parnmattdev

01/02/2014 at 10:50PM

9
#111 - Robert Argeanton / argeanton

01/06/2014 at 08:52AM

9
#112 - Fake Name / The_Real_User

01/13/2014 at 12:45AM

9
#113 - Andreas Källberg / Anka213

01/17/2014 at 06:03AM

9
#114 - Quota / Quotad

01/21/2014 at 04:44PM

9
#115 - Alex Kunin / alexkunin

02/02/2014 at 05:29PM

9
#116 - Michael Bitzi / mibitzi

02/14/2014 at 09:46PM

9
#117 - Павел Шнель / lic06397

02/15/2014 at 08:35AM

9
#118 - Chi Bong Ho / chibongho

02/16/2014 at 02:47AM

9
#119 - Joonas Pihlajamaa / jokkebk

02/21/2014 at 10:10PM

9
#120 - Dheeraj Sayala / dheerosaur

02/25/2014 at 01:35PM

9
#121 - TimWolla / TimWolla

03/13/2014 at 09:45PM

9
#122 - John Braxler / braxler

03/26/2014 at 04:15PM

9
#123 - Lance Levine / LanceSMLevine

04/02/2014 at 05:15AM

9
#124 - Felipe Jaramillo F / mrfelipe

04/05/2014 at 02:23PM

9
#125 - RB / powerage88

04/07/2014 at 09:41PM

9
#126 - Felipe Spychalski / fspychalski

04/09/2014 at 05:05PM

9
#127 - onthos / onthos_

04/25/2014 at 11:33AM

9
#128 - Solar Powered Robot / moskrin

05/01/2014 at 01:26PM

9
#129 - Anthony Robson / anthonyrobson9

05/05/2014 at 01:52AM

9
#130 - Tom Cammann / tea_sea

05/12/2014 at 04:30PM

9
#131 - Hyper Bovine / hyperbovine

05/12/2014 at 05:26PM

9
#132 - Jay Phillips / rocketman8473

06/23/2014 at 05:15AM

9
#133 - John Meisner / jmeisned

06/26/2014 at 05:55PM

9
#134 - playalong / playwithit42

07/09/2014 at 11:13AM

9
#135 - magizbox / rain_1024

07/13/2014 at 04:25AM

9
#136 - Ram Tamtam / ramtamtamtam

07/16/2014 at 02:06PM

9
#137 - Patrick Pitoscia / Patrick03960431

08/09/2014 at 04:43PM

9
#138 - bratliff / bratliff

08/10/2014 at 06:42AM

9
#139 - Tj / yrddy

08/19/2014 at 03:31AM

9
#140 - kemar / le_kemar

08/29/2014 at 11:10AM

9
#141 - Eric Kever / codeoverlode

09/30/2014 at 04:02AM

9
#142 - Dario Avitabile / tutticapaci

09/30/2014 at 10:05AM

9
#143 - Jose Gutierrez / Jogusa

10/22/2014 at 03:23PM

9
#144 - r. / rmarvie

12/20/2014 at 01:55PM

9
#145 - Adam Redfern / AdmRedfern

12/23/2014 at 09:26AM

9
#146 - Carlos A Henríquez Q / lagunex

01/19/2015 at 12:51PM

9
#147 - SilentFl / Silent_Fl

02/05/2015 at 09:06AM

9
#148 - pftb12345 / pftb12345

04/11/2015 at 01:53PM

9
#149 - Clark DuVall / theclarkatron

05/22/2015 at 05:05AM

9
#150 - Jack Z / itszhou

06/28/2015 at 09:06PM

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 - FURYROAD☭LIKER🌹 / quiggy

05/18/2016 at 02:41PM

9
#157 - Foo Bar / 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 / yannstadnicki

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

10
#164 - Gwilym Kuiper / gwilymk

07/12/2013 at 01:53PM

10
#165 - Joel Taylor / joelteon_

07/23/2013 at 01:54AM

10
#166 - Vinicius Souza / vsouzas

07/28/2013 at 02:16PM

10
#167 - vansan / VinceVansan

08/25/2013 at 02:16PM

10
#168 - Inuka Jayasekera / a_new_car

08/28/2013 at 09:50PM

10
#169 - bunnies president / bunnies4p

10/22/2013 at 06:31PM

10
#170 - David Tran / everyzero

10/30/2013 at 08:06PM

11
#171 - Woojung Kim 김우중 / _kimwz

07/15/2013 at 04:09AM

11
#172 - Vestrobaa / Vestrobaa

07/19/2013 at 05:27PM

11
#173 - Bart of Denver / bartofdenver

08/12/2013 at 04:48AM

11
#174 - Sami Niiranen / saminiir

10/13/2013 at 10:32AM

11
#175 - Taurus Olson / TaurusOlson

01/31/2014 at 10:04PM

11
#176 - Ali El Amine / Allouch95

02/02/2014 at 08:02PM

12
#177 - fSchl / FelixSchlitter

07/16/2013 at 12:22AM

12
#178 - benzrf / benzrf

07/18/2013 at 03:59PM

12
#179 - Trae Robrock / trobrock

07/22/2013 at 06:30PM

12
#180 - Joey Twiddle / joeytwiddle

09/01/2013 at 04:39PM

12
#181 - Chirag Tailor / ctailor2

01/29/2014 at 05:13AM

12
#182 - Bill Booth / ohiopyle

01/29/2014 at 10:03AM

12
#183 - Hugh barrigan / nagirrab

02/25/2014 at 09:18PM

12
#184 - AC / quadface

04/29/2015 at 10:52PM

13
#185 - Elias Dorneles / eliasdorneles

09/03/2013 at 02:11AM

13
#186 - Ade Duke / adeduke

09/28/2013 at 05:56PM

17
#187 - venkatakrishnan / venkatk_

08/19/2013 at 03:36PM

34
#188 - Jesse House / house9twx

07/17/2013 at 03:28PM

42
#189 - Alberto Pose / thepose

11/06/2013 at 06:08PM

42
#190 - Eduardo Hashimoto / eduhashi

02/16/2017 at 12:00AM

57
#191 - Benjamin Zimmer / techerausa

09/30/2013 at 02:53PM