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):
17
#91 - int@紅ぽよ / @int_cl

08/08/2020 at 09:34AM

18
#92 - Smylers / @Smylers2

04/15/2016 at 08:17AM

18
#93 - ELINGUI Pascal Uriel / @elinguiuriel

04/20/2016 at 02:20PM

18
#94 - Nigel Rahkola / @NinjaRahkola

05/11/2016 at 05:51AM

18
#95 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 09:30PM

18
#96 - Oliver Christ / @0liverChrist

07/12/2016 at 10:22PM

18
#97 - jinx balotchnik / @balotchnik

10/14/2016 at 02:43AM

18
#98 - Etienne Florent / @EtienneFlorent

11/25/2016 at 08:22AM

18
#99 - Alexander Bessonov / @nonsleepr

03/21/2017 at 09:45PM

18
#100 - Ryan Nevius / @ryannevius

03/22/2020 at 08:13PM

19
#101 - Dani El / @tequnix

04/15/2016 at 10:34AM

19
#102 - Eric Roberts / @notabmovieactor

04/15/2016 at 04:17PM

19
#103 - Håkon Bråten / @h_braten

04/26/2016 at 03:15PM

19
#104 - James Potter / @JJPotterkowski

07/21/2016 at 10:02PM

19
#105 - Yann / @yannstad

02/22/2017 at 10:16PM

19
#106 - dadav 🥀 / @__dadav__

08/19/2017 at 03:44PM

20
#107 - Amory Schlender / @schlamory

07/09/2016 at 05:28AM

20
#108 - Utkrisht Dhankar / @UtkrishtDhankar

09/08/2016 at 05:16AM

20
#109 - Raymond Chee / @rchomium

03/05/2017 at 05:45AM

20
#110 - Bitt Faulk / @bittfaulk

03/16/2020 at 07:31PM

21
#111 - Louis Caruana / @louiecaruana

04/15/2016 at 02:43AM

21
#112 - Cristian Lupașcu / @clupasq

04/15/2016 at 05:50AM

21
#113 - Luc Trudeau / @LT_Pragmatic

04/15/2016 at 10:35AM

21
#114 - Darren Tsung / @darrentsung

05/09/2016 at 05:22PM

21
#115 - aestetix / @aestetix

05/17/2016 at 11:01AM

21
#116 - Ben Hill / @KaizenSoze70

06/15/2016 at 12:15PM

22
#117 - Clémence / @Clemence_Neoxia

04/15/2016 at 07:46AM

22
#118 - Alex Ch / @_AlexCh_

04/15/2016 at 11:59PM

22
#119 - malet / @Malet

06/23/2016 at 06:27PM

22
#120 - Robert Newbould / @c0nspiracy

06/29/2016 at 04:50PM