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 50ae009b65b8db0002000047

Let's play some Ivmgolf

Oops, I spelled that wrong.

Start file
Ivm is an awesome text editor based on
Iv, and is used to play a game called
Ivmgolf. A challenge, simple for many
Ivmgolfers, can still hide secrets.
End file
Vim is an awesome text editor based on
Vi, and is used to play a game called
Vimgolf. A challenge, simple for many
Vimgolfers, can still hide secrets.

View Diff

1,4c1,4
< Ivm is an awesome text editor based on
< Iv, and is used to play a game called
< Ivmgolf. A challenge, simple for many
< Ivmgolfers, can still hide secrets.
---
> Vim is an awesome text editor based on
> Vi, and is used to play a game called
> Vimgolf. A challenge, simple for many
> Vimgolfers, can still hide secrets.

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 292 remaining solutions by signing in and submitting your own entry
#293 Jonas K. / geratheon - Score: 10 - 02/19/14 @ 12:45
<C-V>Gl~<C-V>GxpZZ

0 comments


#294 Radu Bogdan Croitoru / dotx - Score: 10 - 02/21/14 @ 23:28
<C-V>Gl~<C-V>GxpZZ

0 comments


#295 Ravi S Sinha / ambidextrousTx - Score: 10 - 03/25/14 @ 05:06
<C-V>Gl~<C-V>GxpZZ

0 comments


#296 Derek Bever / derekbever - Score: 10 - 07/09/14 @ 01:32
<C-V>l4jsVi<Esc>ZZ

0 comments


#297 AA / stonewareslord - Score: 10 - 07/16/14 @ 18:36
<C-V>Gxpgvl~ZZ

0 comments


#298 Yuval Netanel / Yuval5555 - Score: 10 - 08/31/14 @ 14:14
<C-V><C-E>xp<C-V><C-E><Left>~ZZ

0 comments


#299 Roy Vim / RoyVim - Score: 10 - 09/26/14 @ 10:27
<C-V>l4jsVi<Esc>ZZ

0 comments


#300 Elizabeth / sprinkles418 - Score: 10 - 12/18/14 @ 15:41
<C-V>Gxpgvl~ZZ

0 comments


#301 William Ott / oddalot - Score: 10 - 04/09/15 @ 04:47
<C-V>4GlcVi<Esc>ZZ

0 comments


#302 Sergio / voyeg3r - Score: 10 - 12/18/16 @ 12:11
<C-V>GlsVi<Esc><Esc>ZZ

0 comments


#303 melgaardbjorn / melgaardbjorn - Score: 10 - 03/17/17 @ 11:01
<C-V>3jlcVi<Esc>ZZ

0 comments


#304 Gurukandhamoorthi / Gurukandhamoor1 - Score: 10 - 07/13/17 @ 11:47
<C-V>Gxpgvl~ZZ

0 comments


#305 Bhatta Sushmith / bsushmith - Score: 10 - 08/25/17 @ 20:27
<C-V>Gl~<C-V>GxpZZ

0 comments


#306 Matt Creenan / mcreenan - Score: 11 - 07/17/13 @ 01:00
<C-V>Gxphgvl~ZZ

0 comments


#307 Dave Aitken / actionshrimp - Score: 11 - 08/27/13 @ 18:32
<CR><C-V>Gl~<C-V>GxpZZ

0 comments


#308 Raphaël Saunier / RaphaelSaunier - Score: 11 - 08/27/13 @ 18:40
<C-V>Gxpgvlg~ZZ

0 comments


#309 Hern Oy / HernOy2 - Score: 11 - 08/28/13 @ 09:53
<C-V>Gxph<C-V>Gl~ZZ

0 comments


#310 Christopher Green / cg433n - Score: 11 - 08/28/13 @ 17:44
<C-V>Gl~gvhxpZZ

0 comments


#311 Billy Ripper / dirtlamb5 - Score: 11 - 10/23/13 @ 21:43
<C-V>Glg~<C-V>GxpZZ

0 comments


#312 Dan / dcuaron - Score: 11 - 05/26/14 @ 07:54
<C-V>jjjlsVi<Esc>ZZ

0 comments


#313 Jaakko Hannikainen / jgke_ - Score: 11 - 07/17/14 @ 14:03
<C-V>Gxp<Left><C-V>G<Right>~ZZ

0 comments


#314 Raphaël De Giusti / raphdg - Score: 12 - 11/22/12 @ 11:04
:%s/Iv/Vi<CR>ZZ

0 comments


#315 沢城うぃんびー / w1mvy - Score: 12 - 11/23/12 @ 08:55
:%s/Iv/Vi<CR>ZZ

0 comments


#316 Asenar / asenar - Score: 12 - 11/25/12 @ 14:41
:%s#Iv#Vi<CR>ZZ

0 comments


#317 captain_morgan / captain_morgan - Score: 12 - 11/27/12 @ 00:29
:%s/Iv/Vi<CR>ZZ

0 comments


#318 Biacho / Biacho - Score: 12 - 12/09/12 @ 01:55
:%s/Iv/Vi<CR>ZZ

0 comments


#319 Volodimir Barna / RobertoUA - Score: 12 - 12/15/12 @ 10:25
<C-V>4jxpgv~l.ZZ

0 comments


#320 Michael / patheticpat - Score: 12 - 12/17/12 @ 10:04
<C-V>3jl~<C-V>3jxpZZ

0 comments


#321 z0k / z0k - Score: 12 - 12/19/12 @ 12:21
:%s/Iv/Vi<CR>ZZ

0 comments


#322 Camilla Krag Jensen / naxoc - Score: 12 - 03/22/13 @ 16:01
<C-V>4jxp<C-V>4jh~ZZ

0 comments


#323 Dr Rev J. '𝕵. 𝕶𝖎𝖗𝖈𝖍𝖆𝖗𝖙𝖟' Kirchartz / JKirchartz - Score: 12 - 07/22/13 @ 13:03
:%s/Iv/Vi<CR>ZZ

0 comments


#324 Matty Williams / matty_jwilliams - Score: 12 - 08/28/13 @ 09:51
<C-V>4jl~<C-V>4jxpZZ

0 comments


#325 venkatakrishnan / venkatk_ - Score: 12 - 10/03/13 @ 21:35
:%s/Iv/Vi<CR>ZZ

0 comments


#326 Chris Ford / ctford - Score: 12 - 10/20/13 @ 08:39
:%s/Iv/Vi<CR>ZZ

0 comments


#327 Tan Le ☺ / tancnle - Score: 12 - 01/02/14 @ 04:18
:%s/Iv/Vi<CR>ZZ

0 comments


#328 Justin Weidner / justinweidner - Score: 12 - 03/11/14 @ 20:23
:%s/Iv/Vi<CR>ZZ

0 comments


#329 Jacob / jayekub - Score: 12 - 03/23/14 @ 21:45
:%s/Iv/Vi<CR>ZZ

0 comments


#330 TimWolla / TimWolla - Score: 12 - 06/02/14 @ 23:13
:%s/Iv/Vi<CR>ZZ

0 comments


#331 darookee / darookee - Score: 12 - 06/25/14 @ 13:49
:%s/Iv/Vi<CR>ZZ

0 comments


#332 Patrick Pitoscia / Patrick03960431 - Score: 12 - 08/05/14 @ 03:23
:%s/Iv/Vi<CR>ZZ

0 comments


#333 Yariv / yarivb - Score: 12 - 08/31/14 @ 14:21
:%s/Iv/Vi<CR>ZZ

0 comments


#334 Evan Coleman / edc1591 - Score: 12 - 05/06/15 @ 14:33
:%s/Iv/Vi<CR>ZZ

0 comments


#335 Mendel Simon / agentms11 - Score: 12 - 12/09/15 @ 19:42
<C-V>4jl~gvhxpZZ

0 comments


#336 Etienne Tremel / etiennetremel - Score: 12 - 02/07/16 @ 20:55
<C-V>Gld<C-V>GIVi<Esc>ZZ

0 comments


#337 Cristian Lupașcu / clupasq - Score: 12 - 02/08/16 @ 12:18
:%s/../Vi<CR>ZZ

0 comments


#338 Zach Gulde / zgulde - Score: 12 - 02/29/16 @ 05:56
:%s/Iv/Vi<CR>ZZ

0 comments


#339 Alex Hammel / AlexJHammel - Score: 13 - 12/22/12 @ 20:51
:%s/Iv/Vi/<CR>ZZ

0 comments


#340 Fernando Axel Ellis / Axel_Ellis - Score: 13 - 10/02/13 @ 21:29
qdRVi<Esc><CR>q3@dZZ

0 comments


#341 aaron lim / aronax666 - Score: 13 - 04/27/14 @ 14:30
<C-G><Esc><C-V>Gl~<C-V>Gxp<Esc>ZZ

0 comments


#342 Andrew Larson / applarson - Score: 13 - 04/15/15 @ 18:15
:%s/Iv/Vi/<CR>ZZ

0 comments


#343 Jonas Lindmark / lindmarkjonas - Score: 14 - 11/22/12 @ 15:17
:%s/Iv/Vi/g<CR>ZZ

0 comments


#344 Alan Shen / sunzenshen - Score: 14 - 07/05/13 @ 07:23
:%s/Iv/Vi/g<CR>ZZ

0 comments


#345 Daniel Collin / daniel_collin - Score: 14 - 08/28/13 @ 11:39
:%s/Iv/Vi/g<CR>ZZ

0 comments


#346 RobertT / techrt2050 - Score: 14 - 09/03/13 @ 18:28
qq~~0xp+q3@qZZ

0 comments


#347 Bill Booth / ohiopyle - Score: 14 - 01/29/14 @ 10:05
:%s/Iv/Vi/g<CR>ZZ

0 comments


#348 Ben Bailey / bennett - Score: 14 - 03/13/14 @ 03:57
:%s/Iv/Vi/g<CR>ZZ

0 comments


#349 w1zeman1p / wizemanip - Score: 14 - 05/10/14 @ 03:46
:%s/Iv/Vi/g<CR>ZZ

0 comments


#350 Hanakun. / akunohanaKUN - Score: 14 - 10/21/14 @ 07:40
:%s/Iv/Vi/g<CR>ZZ

0 comments


#351 z0c / zerocabal - Score: 14 - 06/12/18 @ 08:51
:%s/Iv/Vi/g<CR>ZZ

0 comments


#352 Max Sherman / johnislarry - Score: 15 - 11/22/12 @ 11:13
qq~x0P~j0q3@qZZ

0 comments


#353 Claudio Ortolina / cloud8421 - Score: 15 - 11/27/12 @ 19:54
:%norm xp0~~<CR>ZZ

0 comments


#354 Andrew Michaud / andrewjmichaud - Score: 15 - 09/04/15 @ 01:35
RVi<Esc>hj.jh.jh.ZZ

0 comments


#355 Netznarkose / netznarkose - Score: 15 - 08/01/17 @ 16:56
:%s /Iv/Vi/g<CR>ZZ

0 comments


#356 Ty Wince / tylerwince - Score: 15 - 09/28/17 @ 21:22
<C-V>3jrVl<C-V>3jri:wq<CR>

0 comments


#357 Pradeep Kumar / pradeep6kumar - Score: 16 - 12/10/12 @ 15:22
:%s/Iv/Vi/g<CR>:wq<CR>

0 comments


#358 Jordan Hackworth / JordanHackworth - Score: 16 - 05/29/13 @ 23:12
:%s/Iv/Vi/g<CR>VVZZ

0 comments


#359 Chirag Tailor / ctailor2 - Score: 18 - 01/27/14 @ 02:32
:%s/IV<BS>v/Vi/g<CR>:wq<CR>

0 comments


#360 Дмитрий Васильев / VasilyevDmitriy - Score: 18 - 06/19/17 @ 08:16
<C-V>4jxp<C-V>4j~h<C-V>4j~:wq<CR>

0 comments


#361 fumi komi / kommy_vx - Score: 23 - 03/28/13 @ 05:22
<C-V>l4ggd<C-V>l4gg~l<C-V>4gglIi<Esc>ZZ

0 comments


#362 Joshua Travis / jktravis - Score: 27 - 11/23/12 @ 02:21
:%s/\(i\)\(v\)/\u\2\L\1/<CR>ZZ

0 comments


#363 Max Short / maxshort23 - Score: 30 - 05/03/16 @ 05:05
:%s/V<BS>I/V/gI<CR>:%s/v/i/gI<CR>:w<CR>:q<CR>

0 comments


#364 wilddog64 / chengkai318 - Score: 31 - 12/17/13 @ 20:23
2~0xp<Esc>jh2~0xpjh2~0xp<Esc>j02~0xp<Esc>ZZ

0 comments


#365 Liu Ho Yin / jason_lhy - Score: 63 - 01/25/13 @ 18:20
xai<Esc>+xai<Esc>+uuuuuuuqaxa<Esc>uquuuqaxa<Esc>uuuuq<Esc><Esc>qad<Esc>quuqax~P~+q3@a:w<CR>:q<CR>

0 comments


Created by: udioica

365 active golfers, 853 entries

Leaderboard (lowest score wins):
7
#1 - Kerson Hsiao / KersonHsiao

11/22/2012 at 12:57PM

7
#2 - Urtica dioica / udioica

11/22/2012 at 01:14PM

7
#3 - Tim Chase / gumnos

11/22/2012 at 01:48PM

7
#4 - Conner McDaniel / connermcd

11/22/2012 at 03:50PM

7
#5 - Zach Gotsch / CodeAthena

11/22/2012 at 09:54PM

7
#6 - mhb / mhbvim

11/23/2012 at 01:54AM

7
#7 - Yavor Atov / YavorAtOff

11/23/2012 at 09:27AM

7
#8 - Adelar S. Queiróz / adelarsq

11/25/2012 at 02:20PM

7
#9 - Drew Neil / nelstrom

11/26/2012 at 10:58PM

7
#10 - Alex Klen / alexanderklen

11/27/2012 at 07:54AM

7
#11 - Viktor Stanchev / Vikstrous

11/27/2012 at 07:54AM

7
#12 - Tom Cammann / tea_sea

11/27/2012 at 07:39PM

7
#13 - Tomasz Jureczko / codehaha

11/27/2012 at 07:55PM

7
#14 - mattgibb / mattgibb

11/27/2012 at 07:58PM

7
#15 - Jordan Eldredge / captbaritone

12/01/2012 at 05:12AM

7
#16 - Lance Levine / LanceSMLevine

12/01/2012 at 09:32AM

7
#17 - Michael / mjs2600

12/01/2012 at 05:54PM

7
#18 - nicolas bo / thevegeta

12/06/2012 at 08:18AM

7
#19 - František Hartman / frant_hartm

12/06/2012 at 07:55PM

7
#20 - Matthias Wolf / matz__e

12/10/2012 at 02:44AM

7
#21 - Alec Goebel / zego5360

01/04/2013 at 09:17AM

7
#22 - Zach Kelling / zeekay

02/25/2013 at 07:33PM

7
#23 - Tyler / tylerbindon

04/06/2013 at 04:35PM

7
#24 - Justin / justinjaffray

04/24/2013 at 06:00PM

7
#25 - Chasetopher / chasetopherlee

04/29/2013 at 08:54AM

7
#26 - Adit Cahya Ramadhan / aditcr8

05/18/2013 at 11:07AM

7
#27 - Marco Hinz / _mhinz_

05/23/2013 at 08:35PM

7
#28 - Tom User / kiryph

05/30/2013 at 11:45AM

7
#29 - Norm Fasey / DeathRay1977

06/03/2013 at 01:35PM

7
#30 - Shoop Da Whoop / ShoopDaWhoop8

06/06/2013 at 08:11PM