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):
10
#121 - Michael LeCompte / @michaelslec

12/29/2014 at 10:52AM

10
#122 - yachi / @yaachi

12/29/2014 at 11:20AM

10
#123 - Jake Eskel / @JakeEskel

01/07/2015 at 02:42AM

10
#124 - Jordana Lachow / @TomofBedlam

01/12/2015 at 09:27PM

10
#125 - Charles Wu / @Congeec

01/14/2015 at 04:04AM

10
#126 - kimber gonzalez / @kimberlycreates

01/20/2015 at 03:10PM

10
#127 - Michael Giuffrida / @mgiuffrida

02/24/2015 at 09:10AM

10
#128 - Darth Shuvalov / @shuvalov_anton

03/01/2015 at 02:16PM

10
#129 - Alexander Kazakov / @volandkot

03/31/2015 at 08:21AM

10
#130 - Emmanuel Denloye-Ito / @EmmanuelDenloye

04/11/2015 at 08:10PM

10
#131 - E Both / @enboth

04/24/2015 at 07:50PM

10
#132 - Mutter Mumble / @muttermumble

07/10/2015 at 02:57PM

10
#133 - Ferdev vimgolf / @fergvimgolf

08/13/2015 at 09:16PM

10
#134 - Mike Adams / @davis_cromwell

10/02/2015 at 08:11PM

10
#135 - Walker Boh / @walker_boh

10/05/2015 at 02:45PM

10
#136 - Robert Goeddel / @f0rdpr3fect

11/11/2015 at 06:39PM

10
#137 - Tarik Koc / @tariktheturk

11/22/2015 at 01:40AM

10
#138 - Wilmer Bandres / @WilmerBandres

12/16/2015 at 05:40PM

10
#139 - jackliusr / @jackliusr

01/13/2016 at 10:52AM

10
#140 - Jon Krause / @jkrause314

01/27/2016 at 09:24AM

10
#141 - Aleksey Zhidkov / @AlexeyZhidkov

02/08/2016 at 03:16PM

10
#142 - ben kavanagh / @bkava

02/23/2016 at 07:06PM

10
#143 - Roberto Carraretto / @robcarraretto

02/27/2016 at 02:51PM

10
#144 - John Smith / @literacyisgood

03/25/2016 at 07:41PM

10
#145 - Tyler / @tylerbindon

04/13/2016 at 03:56AM

10
#146 - Joseph J. Piché / @jjpiche

04/13/2016 at 04:03AM

10
#147 - Ram Tamtam / @ramtamtamtam

06/28/2016 at 09:21AM

10
#148 - Benjamin Espey / @bennyty

07/28/2016 at 02:06PM

10
#149 - André Peric Tavares / @AndrePeric

07/30/2016 at 05:30PM

10
#150 - Will / @obiwan__k3n00bi

08/17/2016 at 03:56AM