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
#61 - Philiphone / @Philiphone

04/17/2016 at 07:58AM

17
#62 - E Both / @enboth

04/17/2016 at 03:29PM

17
#63 - Domingue Justin / @_jdomingue

04/17/2016 at 06:11PM

17
#64 - Kai Yuan / @kentyuan

04/18/2016 at 11:33AM

17
#65 - Robert Mosher / @rcmosher

04/18/2016 at 01:58PM

17
#66 - Dimitar Dimitrov / @kurkale6ka

04/19/2016 at 08:58AM

17
#67 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 05:05PM

17
#68 - Jason Pleau / @JasonPleau

05/05/2016 at 12:54AM

17
#69 - Andres Araya / @arayaandresfco

05/14/2016 at 02:09AM

17
#70 - Tom / @CronutFacts

05/15/2016 at 09:42PM

17
#71 - tgmeng / @lazy_fabric

06/08/2016 at 08:29AM

17
#72 - Michal Sylwester / @msylw

06/09/2016 at 04:53AM

17
#73 - Gabriel Tailor / @gabriel_tailor

06/09/2016 at 07:35AM

17
#74 - David Devecsery / @devecsery

06/12/2016 at 08:07PM

17
#75 - Ram Tamtam / @ramtamtamtam

06/22/2016 at 09:28AM

17
#76 - Lifepillar / @lifepillar

07/06/2016 at 07:28PM

17
#77 - Mort Rainey / @arch_midnight

08/22/2016 at 01:05AM

17
#78 - Christian Rondeau / @c_rondeau

10/17/2016 at 03:02AM

17
#79 - Marcin / @Marcin89439917

12/31/2016 at 01:22AM

17
#80 - Alex Linden / @alexwlinden1

04/26/2017 at 06:36PM

17
#81 - Remus Dalrymple / @bornintheflames

05/06/2017 at 12:00AM

17
#82 - Matthew Mongeau / @halogenandtoast

05/12/2017 at 12:53AM

17
#83 - Rami Hovi / @hacker_lawyer

05/18/2017 at 09:45AM

17
#84 - Carl Egbert / @CarlOEgbert

06/12/2017 at 01:11AM

17
#85 - Paul Draghicescu / @pdragy

03/22/2018 at 10:54PM

17
#86 - Elite Hacker of the Light / @L3E7

05/08/2018 at 12:49PM

17
#87 - name / @name65894813

11/24/2018 at 05:09AM

17
#88 - Mihai / @mihaicristiant

12/24/2018 at 12:45PM

17
#89 - Ivo Blöchliger / @aigledesalpes

08/17/2019 at 11:36AM

17
#90 - Lory / @Lory46845742

11/20/2019 at 01:07PM