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):
16
#31 - Nico / @_Nico_Caro

10/01/2016 at 04:36AM

16
#32 - trx / @trxdbg

10/12/2016 at 02:25PM

16
#33 - Alan Turing / @alantrng

11/28/2016 at 11:58PM

16
#34 - Etai Nativ / @enativ72

02/25/2017 at 09:26AM

16
#35 - Zhihong Liu / @pieapple03

02/26/2017 at 06:45AM

16
#36 - sijinyuan / @sijinyuan

03/01/2017 at 01:52AM

16
#37 - Ilya Shakirov / @aelaau

03/22/2017 at 10:23AM

16
#38 - 梧桐王子 / @WutongYujie

05/04/2017 at 12:54PM

16
#39 - Hocan Eittbe / @fifthwallfly

05/12/2017 at 02:38AM

16
#40 - 杨洋 / @176795444

07/02/2017 at 03:46AM

16
#41 - Turkey Man / @lvturkeyman

11/13/2017 at 08:34AM

16
#42 - Benoit Mortgat / @Benoit_Mortgat

11/15/2017 at 02:23PM

16
#43 - Oskar Fridell / @rax0m

02/02/2018 at 03:19PM

16
#44 - ParasamGateZero / @ParasamGateZero

02/19/2018 at 07:58AM

16
#45 - DHM / @DHM29978992

04/28/2018 at 03:20AM

16
#46 - Daniël De Koker / @daniel_koker

07/04/2018 at 07:52AM

16
#47 - chaotic / @laersn

09/07/2018 at 02:32PM

16
#48 - Dax / @zacoxi

11/19/2018 at 06:54AM

16
#49 - majo senf / @majo_senf

06/21/2019 at 12:42PM

16
#50 - Melvin Cheung / @MelvinCheung

11/12/2019 at 10:34AM

16
#51 - Viktor Styrud / @ViktorStyrud

11/28/2019 at 04:19PM

16
#52 - Miłosz Łakomy / @foobar01123

12/11/2019 at 05:56AM

16
#53 - RockerZZY / @rocker_zzy

06/16/2020 at 12:25AM

17
#54 - Jon Krause / @jkrause314

04/14/2016 at 11:57PM

17
#55 - glepha / @glepha_vim

04/15/2016 at 07:06AM

17
#56 - Victor Haffreingue / @nobe_4

04/15/2016 at 08:13AM

17
#57 - Jan Bundesmann / @janbundesmann

04/15/2016 at 10:26AM

17
#58 - abhinavgujjar / @abhinavgujjar

04/15/2016 at 06:01PM

17
#59 - johannes err / @into_the_beta

04/16/2016 at 09:16AM

17
#60 - Blake Tereau / @BlakeTereau

04/16/2016 at 03:58PM