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

Checkerboard case pattern

All the squares are white. Make some of them black. But only the right ones.

Start file
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa

End file
aAaAaAaA
AaAaAaAa
aAaAaAaA
AaAaAaAa
aAaAaAaA
AaAaAaAa
aAaAaAaA
AaAaAaAa

View Diff

1,8c1,8
< aaaaaaaa
< aaaaaaaa
< aaaaaaaa
< aaaaaaaa
< aaaaaaaa
< aaaaaaaa
< aaaaaaaa
< aaaaaaaa
---
> aAaAaAaA
> AaAaAaAa
> aAaAaAaA
> AaAaAaAa
> aAaAaAaA
> AaAaAaAa
> aAaAaAaA
> AaAaAaAa

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 38 remaining solutions by signing in and submitting your own entry
#39 Kirill Gordeenko / kgordeenko - Score: 24 - 02/05/14 @ 14:17
:%s/aa/aA/g<CR>qaV~kkq4@aZZ

0 comments

#40 Oh fear / ohfear_num - Score: 25 - 12/01/12 @ 22:20
qql~l~l~l~w~l~l~l~wq3@qZZ

0 comments

#41 Ravi S Sinha / ambidextrousTx - Score: 25 - 12/02/12 @ 20:39
qal~l~l~l~w~l~l~l~wq3@aZZ

0 comments

#42 Michael / patheticpat - Score: 25 - 12/17/12 @ 09:51
8dd4IaA<Esc>o<Esc>4IAa<Esc>ygg3PGo<Esc>ZZ

0 comments

#43 James / Dronak - Score: 25 - 09/03/13 @ 02:24
qql~l~l~l~+~l~l~l~+q3@qZZ

0 comments

#44 Eric Andres / eric_m_andres - Score: 26 - 12/07/12 @ 18:29
l~l~l~l~yypV~Vky3P9GdGo<Esc>ZZ

0 comments

#45 XGOLFER / vimg0lfer - Score: 27 - 01/05/13 @ 02:32
qql~l~l~l~0j~l~l~l~0jq3@qZZ

0 comments

#46 Woojung Kim 김우중 / _kimwz - Score: 27 - 07/17/13 @ 04:48
lqa~lq3@aw4@aVky3P:9,14d<CR>ZZ

0 comments

#47 Pradeep Kumar / pradeep6kumar - Score: 30 - 01/12/13 @ 04:36
l~l.l.l.2G.l.l.l.gg2Yj3p9G6DZZ

0 comments

#48 Chris Maguire / chriswmaguire - Score: 51 - 11/29/12 @ 16:34
:%s/\r<BS>n/a/g<CR>:s/aa/aA/g<CR>:s/\(\w\{8\}\)\w/\1\r/g<CR>xZZ

0 comments

Created by: udioica

48 active golfers, 105 entries

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

11/30/2012 at 01:46AM

15
#2 - Urtica dioica / udioica

11/30/2012 at 02:12AM

15
#3 - John Braxler / braxler

07/23/2014 at 02:36PM

16
#4 - Conner McDaniel / connermcd

11/29/2012 at 12:12PM

16
#5 - dimsharav / dimsharav

11/30/2012 at 01:34PM

16
#6 - Matt Garriott / GarriottMatt

12/08/2012 at 11:51PM

16
#7 - Ray Lehtiniemi / rayll

12/09/2012 at 09:24AM

16
#8 - Édouard M'tou / DouardM

12/19/2012 at 04:15PM

16
#9 - Kai Yuan / kentyuan

02/25/2013 at 01:53AM

16
#10 - Al Stanforth / AlStanforth

05/01/2013 at 03:19PM

16
#11 - Tyler / tylerbindon

11/15/2013 at 03:07AM

16
#12 - Jared Meyering / Jmeyering

02/28/2014 at 10:25PM

16
#13 - Joonas Pihlajamaa / jokkebk

03/18/2014 at 10:12AM

16
#14 - pftb12345 / pftb12345

04/26/2015 at 09:53AM

16
#15 - mark0829 / mark0829

07/01/2015 at 06:50AM

17
#16 - Daniel Lundin / danielundin

11/29/2012 at 02:07PM

17
#17 - Marcin Sza / coot_

11/29/2012 at 03:14PM

17
#18 - Vasil Sakarov / vsakarov

11/30/2012 at 12:53AM

17
#19 - a24f0600 / a24f0600

11/30/2012 at 11:54AM

17
#20 - Lieven Keersmaekers / LievenKeersmaek

11/30/2012 at 03:53PM

17
#21 - Brian Stolz / tecnobrat

11/30/2012 at 07:15PM

17
#22 - Mattiassich Ákos / mattiassicha

12/02/2012 at 07:44AM

17
#23 - Daniel Jonsson / DanielJonss

01/18/2013 at 12:41PM

17
#24 - Jon Krause / jkrause314

02/12/2016 at 09:28PM

18
#25 - Scott McGinness / scottie_000

11/29/2012 at 02:51PM

18
#26 - Adelar S. Queiróz / adelarsq

11/29/2012 at 10:13PM

18
#27 - Roberto Bonvallet / rbonvall

04/13/2013 at 05:41PM

19
#28 - Hubba / HubbaBubbaFett

11/29/2012 at 08:16PM

19
#29 - Johnny Tong / johnnytong

11/30/2012 at 01:10AM

19
#30 - Piotr Śniegowski / PiotrSniegowski

06/06/2013 at 12:58PM

20
#31 - 無ん垢の叫び / john_ababa

12/02/2012 at 04:42PM

20
#32 - Marco Hinz / _mhinz_

05/24/2013 at 07:07PM

21
#33 - Caek / Caek_

09/19/2014 at 12:40AM

23
#34 - Trevor Powell / DoomedBunnies

12/05/2012 at 05:12AM

23
#35 - Heath Patterson / HeathPatterson

08/03/2013 at 11:29PM

24
#36 - Thijs Brobbel / tiesmaster

11/30/2012 at 05:18PM

24
#37 - Justin / justinjaffray

04/24/2013 at 01:23AM

24
#38 - cj / cj01101

10/24/2013 at 05:37PM

24
#39 - Kirill Gordeenko / kgordeenko

02/05/2014 at 02:17PM

25
#40 - Oh fear / ohfear_num

12/01/2012 at 10:20PM

25
#41 - Ravi S Sinha / ambidextrousTx

12/02/2012 at 08:39PM

25
#42 - Michael / patheticpat

12/17/2012 at 09:51AM

25
#43 - James / Dronak

09/03/2013 at 02:24AM

26
#44 - Eric Andres / eric_m_andres

12/07/2012 at 06:29PM

27
#45 - XGOLFER / vimg0lfer

01/05/2013 at 02:32AM

27
#46 - Woojung Kim 김우중 / _kimwz

07/17/2013 at 04:48AM

30
#47 - Pradeep Kumar / pradeep6kumar

01/12/2013 at 04:36AM

51
#48 - Chris Maguire / chriswmaguire

11/29/2012 at 04:34PM