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):
13
#391 - asdf / @201679996

03/18/2014 at 10:52AM

13
#392 - Felipe Jaramillo F / @mrfelipe

04/05/2014 at 03:19AM

13
#393 - Peter Strawson / @PeterStrawson

04/08/2014 at 09:31PM

13
#394 - Bryan McKelvey / @bryanmckelvey

04/28/2014 at 12:52AM

13
#395 - Patrick Pitoscia / @Patrick03960431

08/04/2014 at 03:52AM

13
#396 - April Gentle / @chen327684096

08/22/2014 at 11:15AM

13
#397 - A / @Tower_1980

11/10/2014 at 10:38AM

13
#398 - ぷりケツにるぽ / @nillpo

01/05/2015 at 07:15AM

13
#399 - xieyh11 / @xieyh11

02/26/2015 at 09:01AM

13
#400 - Matthew Pryor / @HodgekaGames

03/11/2015 at 05:26PM

13
#401 - Raj / @brshenoy

04/28/2015 at 02:56PM

13
#402 - Elizabeth / @sprinkles418

06/18/2015 at 07:20PM

13
#403 - Maxim Prokopenko / @max1cp

07/21/2015 at 06:29PM

13
#404 - Ben Vandervalk / @benvvalk

09/27/2015 at 05:11AM

13
#405 - Sean Stout / @s183s657

12/10/2015 at 04:18AM

13
#406 - Ryan Marcotte / @ryanjmarcotte

02/15/2016 at 08:32PM

13
#407 - Dinesh Bhosale / @MrDineshBhosale

04/01/2016 at 09:53PM

13
#408 - mattp (part of the 💉💉💉 club) / @mattpep

05/12/2016 at 09:25PM

13
#409 - Jon McClennon / @mcclennon19

12/20/2016 at 04:49PM

13
#410 - Brian Hall / @_bruab_

05/13/2017 at 07:41PM

13
#411 - Stop and think / @ms_uncountable

07/07/2017 at 08:38PM

13
#412 - Geoff / @RealGeoffErwin

12/18/2017 at 08:13PM

13
#413 - c0llision / @sh3llcode

01/27/2018 at 08:52PM

13
#414 - xer0.5ive / @Bibekshah

07/09/2018 at 04:30PM

13
#415 - Janzen / @__Coos

09/29/2022 at 07:12AM

13
#416 - Jan Scholz / @radikalliberal

10/17/2024 at 09:35PM

14
#417 - Корнев Руслан / @woto7

09/02/2013 at 06:11AM

14
#418 - Eric Potter / @pottereric

10/24/2013 at 03:40PM

14
#419 - Pierre Stévens / @GeoBSD

11/20/2013 at 04:58PM

14
#420 - Arsenic Hall / @FoxLisk

01/28/2014 at 11:15PM