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):
12
#331 - Herr Oppermann / @HerrOppermann

06/16/2014 at 03:21PM

12
#332 - Jimmy McRascal / @JimmyMcRascal

07/10/2014 at 04:00AM

12
#333 - d c / @chikenwaffle

07/11/2014 at 10:55PM

12
#334 - kemar / @le_kemar

08/22/2014 at 01:29PM

12
#335 - howard lin / @howardlin0020

09/05/2014 at 08:35PM

12
#336 - David Tabachnikov / @davidtab

10/01/2014 at 12:40PM

12
#337 - Carlos A HenrĂ­quez Q / @lagunex

01/19/2015 at 02:05PM

12
#338 - SilentFl / @Silent_Fl

01/27/2015 at 09:05AM

12
#339 - TheProgrammer971 / @tp971

03/14/2015 at 11:35PM

12
#340 - Deepak Surti / @dmsurti

03/18/2015 at 09:20AM

12
#341 - shugen / @shugeno

03/23/2015 at 08:47PM

12
#342 - kandrey999 / @kandrey999

04/06/2015 at 04:16PM

12
#343 - Stefan Knudsen / @knud32

06/12/2015 at 11:23PM

12
#344 - E.O. Stinson / @yostinso

06/20/2015 at 01:22AM

12
#345 - Gerald Tilma / @GeraldTilma

10/18/2015 at 07:44PM

12
#346 - Durga Swaroop Perla / @durgaswaroop

02/20/2016 at 07:32PM

12
#347 - Chenut Ludovic / @7Brwa7

04/01/2016 at 10:58AM

12
#348 - Andres Araya / @arayaandresfco

05/21/2016 at 01:38AM

12
#349 - Ben Hill / @KaizenSoze70

06/14/2016 at 12:15AM

12
#350 - Jeremiah Goyette / @JeremiahGoyette

08/02/2016 at 05:16AM

12
#351 - Sergio / @voyeg3r

09/24/2017 at 04:04PM

12
#352 - GreenPinguin / @GreenPinguin2

04/24/2018 at 10:22AM

12
#353 - hails3 / @hails33

05/28/2018 at 04:06PM

12
#354 - Jonathan Camilleri / @Too_Many_Taken

06/02/2018 at 11:53AM

12
#355 - towc / @MateiCopot

07/08/2018 at 03:37PM

12
#356 - Marius Jurgelenas / @MarenasLT

07/19/2018 at 12:41PM

12
#357 - chaotic / @laersn

09/07/2018 at 01:47PM

12
#358 - albalitz / @_albalitz

06/12/2019 at 03:03PM

12
#359 - david ta / @tadavid

06/03/2022 at 05:17PM

12
#360 - parazidi / @parazidi

04/24/2023 at 06:56PM