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 52222f6ea98cbe0002000078

Letter case trickery

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

Start file
A4E SUM 3C0Z
2B A9 NE F2Z
End file
a4e SUM 3c0Z
2b a9 NE f2Z

View Diff

1,2c1,2
< A4E SUM 3C0Z
< 2B A9 NE F2Z
---
> a4e SUM 3c0Z
> 2b a9 NE f2Z

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 466 remaining solutions by signing in and submitting your own entry
#467 Thomas Feiler / @SirTibsTibsford - Score: 45 - 09/04/13 @ 21:23
:%s-\<\([0-9A-F]\+\)\([Z$]*\)\>-\L\1\E\2-g<CR>ZZ

0 comments


#468 mathac / @mathacgolf - Score: 45 - 05/05/14 @ 19:29
:%s/A\|E\|C\|\B\|F/\L&/g<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>4<CR>ZZ

0 comments


Created by: @NbTson

468 active golfers, 1403 entries

Leaderboard (lowest score wins):
14
#391 - Bart / @oneofmanybarts

03/11/2014 at 02:29PM

14
#392 - Dmitry Teslenko / @krab_mozga

04/07/2014 at 08:17AM

14
#393 - stephencheng / @stephencheng

05/06/2014 at 12:41PM

14
#394 - Hendrik Lammers / @hendriklammers

06/20/2014 at 06:39PM

14
#395 - David Hume / @djh95

07/07/2014 at 10:06AM

14
#396 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 02:21PM

14
#397 - Tact Overflow / @muppling

01/07/2015 at 01:49PM

14
#398 - Котов Роман / @Oxaide16

05/23/2015 at 06:38AM

14
#399 - Jack Z / @itszhou

06/28/2015 at 06:02PM

14
#400 - Marko / @suchtie

12/27/2015 at 08:14PM

14
#401 - fuck GFW / @ravishGFW

01/05/2016 at 05:08AM

14
#402 - KangHun Seo / @shirano80

11/26/2016 at 07:09AM

14
#403 - Paul Jones / @thepauljones

06/21/2018 at 02:52PM

15
#404 - Billy Ripper / @dirtlamb5

10/23/2013 at 06:44AM

15
#405 - Kim Laï Trinh / @KimLaTrinh

01/23/2014 at 05:15PM

15
#406 - Arnaud Brousseau / @arnaudbrousseau

02/03/2014 at 05:26PM

15
#407 - Luis Rodriguez / @luisthecoder

11/16/2018 at 12:33AM

16
#408 - Bart of Denver / @bartofdenver

08/31/2013 at 08:28PM

16
#409 - Matt Boehm / @mattboehm

08/31/2013 at 10:58PM

16
#410 - engy / @engydmw

09/02/2013 at 06:32PM

16
#411 - Michael Biebl / @michaelbiebl

09/28/2013 at 06:09AM

16
#412 - Mac Heller-Ogden / @twosoul

11/01/2013 at 09:29PM

16
#413 - Eduardo / @bbaaxx

03/07/2014 at 03:29PM

16
#414 - Lance Levine / @LanceSMLevine

04/02/2014 at 04:51AM

16
#415 - ZorgroZ / @ZorgroZ

04/12/2014 at 03:15PM

16
#416 - Tapio Salonsaari / @tapiosalonsaari

05/21/2014 at 01:05PM

16
#417 - Oliver Christ / @0liverChrist

01/12/2015 at 12:16AM

16
#418 - Evan Coleman / @edc1591

04/28/2015 at 02:47PM

16
#419 - Jakob Schöttl / @jschoettl

12/20/2015 at 05:00AM

16
#420 - Gurukandhamoorthi / @Gurukandhamoor1

07/11/2017 at 01:57PM