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 571028960c64c90990000003

From A to B

Mirror and change this text block

Start file
A.a.A.A.A
A.A.a.A.A
A.A.A.a.A
End file
BBBbB
BBbBB
BbBBB

View Diff

1,3c1,3
< A.a.A.A.A
< A.A.a.A.A
< A.A.A.a.A
---
> BBBbB
> BBbBB
> BbBBB

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 148 remaining solutions by signing in and submitting your own entry
#149 白猫(zhu) / @cat2flower - Score: 42 - 06/04/16 @ 17:43
:%s/\.//g<CR>:%s/A/B/g<CR>:%s/a/b/g<CR>kddpkkddjpZZ

0 comments


Created by: @LluisMa

149 active golfers, 533 entries

Leaderboard (lowest score wins):
22
#121 - André Peric Tavares / @AndrePeric

07/20/2016 at 11:33PM

22
#122 - James / @Dronak

08/03/2016 at 11:30PM

22
#123 - Lukas Kruemel / @KruemelKobold

10/06/2016 at 09:55AM

22
#124 - TweetDreams / @TweetMusicians

10/09/2016 at 04:49AM

22
#125 - Brian Hall / @_bruab_

03/09/2017 at 03:19PM

22
#126 - caplod / @caplod

03/26/2017 at 10:49AM

22
#127 - Geoff / @RealGeoffErwin

12/18/2017 at 08:39PM

22
#128 - Sourciluss / @sourciluss

01/22/2018 at 12:52AM

23
#129 - Georg Grauberger / @GeorgGrauberger

04/18/2016 at 02:35PM

23
#130 - Eleanor Weigert / @EleanorClarinet

05/14/2016 at 12:18AM

23
#131 - Mikkel Knudsen / @mikk2168

09/28/2016 at 02:22AM

24
#132 - Hans Yelek / @hans_yelek

01/12/2017 at 03:37AM

24
#133 - José / @AngelGaldamez

09/07/2019 at 11:53PM

25
#134 - pysnow530 / @pysnow530

11/29/2019 at 05:18AM

28
#135 - Tose / @Toseim

04/17/2016 at 10:14AM

29
#136 - Gracjan Grala / @gracjangrala

06/03/2016 at 02:39PM

29
#137 - Aaron / @_Lordofthevoid_

12/09/2019 at 07:02AM

30
#138 - José Miguel González / @jmgaguilera

04/17/2016 at 09:58AM

33
#139 - Anoop Kumar / @anooplive

04/15/2016 at 12:48AM

33
#140 - matt_todd / @matt_todd

04/15/2016 at 11:27PM

33
#141 - Arnold Manzano / @arnoldmanzano

04/19/2016 at 06:53AM

36
#142 - Jurica / @Jurica34581259

11/16/2018 at 04:39PM

38
#143 - Michael Foley / @m1foley

04/14/2016 at 11:58PM

38
#144 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 03:22PM

38
#145 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 08:03PM

40
#146 - Niru Maheswaranathan / @niru_m

04/15/2016 at 03:45AM

40
#147 - mojito / @simplihot

04/18/2016 at 11:19AM

41
#148 - Avery Wilkening / @awilkening

06/29/2016 at 07:35PM

42
#149 - 白猫(zhu) / @cat2flower

06/04/2016 at 05:43PM