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

0 comments


#518 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

518 active golfers, 1630 entries

Leaderboard (lowest score wins):
15
#451 - Aaron / @_Lordofthevoid_

12/04/2019 at 07:54PM

16
#452 - Bart of Denver / @bartofdenver

08/31/2013 at 08:28PM

16
#453 - Matt Boehm / @mattboehm

08/31/2013 at 10:58PM

16
#454 - engy / @engydmw

09/02/2013 at 06:32PM

16
#455 - Michael Biebl / @michaelbiebl

09/28/2013 at 06:09AM

16
#456 - Mac Heller-Ogden / @twosoul

11/01/2013 at 09:29PM

16
#457 - Eduardo / @bbaaxx

03/07/2014 at 03:29PM

16
#458 - Lance Levine / @LanceSMLevine

04/02/2014 at 04:51AM

16
#459 - ZorgroZ / @ZorgroZ

04/12/2014 at 03:15PM

16
#460 - Tapio Salonsaari / @tapiosalonsaari

05/21/2014 at 01:05PM

16
#461 - Oliver Christ / @0liverChrist

01/12/2015 at 12:16AM

16
#462 - Evan Coleman / @edc1591

04/28/2015 at 02:47PM

16
#463 - Jakob Schöttl / @jschoettl

12/20/2015 at 05:00AM

16
#464 - Gurukandhamoorthi / @Gurukandhamoor1

07/11/2017 at 01:57PM

16
#465 - POSIX / @po6ix

01/22/2022 at 03:53PM

16
#466 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 10:51PM

16
#467 - Jacob / @FuPingstar

02/01/2024 at 07:27PM

17
#468 - Nick Bakkegaard / @Bakkemand

09/18/2013 at 11:32AM

17
#469 - Daniel Marjenburgh / @dmarjenburgh

11/17/2013 at 02:47PM

17
#470 - John Hilts / @johnhilts

02/04/2014 at 07:38AM

17
#471 - Aurélien Vallée / @aurelienvallee

02/04/2014 at 11:48AM

17
#472 - daveseibert / @daveseibert

05/09/2014 at 09:08PM

17
#473 - Andreas Heider / @AndreasHeider

05/30/2014 at 09:09PM

17
#474 - AC / @quadface

08/23/2014 at 07:08PM

17
#475 - luffy / @raxcoi

12/24/2014 at 01:50PM

17
#476 - chvzvhn / @chvzvhn

04/28/2015 at 12:33AM

17
#477 - Ryan van Rensburg / @rdvr001

07/23/2016 at 08:25AM

17
#478 - Brent Woo / @BrentPWoo

10/11/2018 at 02:43PM

17
#479 - Ray Dennis / @raysden

01/05/2021 at 10:25PM

18
#480 - Sukesan1984 / @sukesan1984

09/12/2013 at 11:55AM