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):
11
#241 - onthos / @onthos_

04/25/2014 at 08:44AM

11
#242 - Kane Wallmann / @ToCsIcK

04/27/2014 at 10:39AM

11
#243 - T / @tea_sea

05/13/2014 at 10:44AM

11
#244 - Jake Eaton / @Jake__Eaton

06/01/2014 at 06:01AM

11
#245 - Sntano Euhsk / @SEuhsk

06/05/2014 at 08:18AM

11
#246 - Zapata / @Incredible_JFP

06/12/2014 at 10:57PM

11
#247 - TapTemplate / @TapTemplate

06/28/2014 at 12:23AM

11
#248 - Tim Vim / @vim_tim

07/03/2014 at 11:42AM

11
#249 - James Scriven / @JamesDScriven

07/06/2014 at 08:23PM

11
#250 - kwa / @kwa129

07/08/2014 at 04:20AM

11
#251 - playalong / @playwithit42

07/08/2014 at 11:31AM

11
#252 - Caek / @Caek_

07/31/2014 at 03:23AM

11
#253 - Alex / @ninjabassist777

07/31/2014 at 02:45PM

11
#254 - Vim Fandango / @VimFandango

08/14/2014 at 02:16PM

11
#255 - Vim Golfer / @golfing_vim

09/04/2014 at 07:01PM

11
#256 - Dario Avitabile / @tutticapaci

09/08/2014 at 12:48PM

11
#257 - Noah Ruderman / @noahc66260

10/04/2014 at 09:32AM

11
#258 - Jose Gutierrez / @Jogusa

10/07/2014 at 11:26PM

11
#259 - jptomoya / @_jptomoya

10/18/2014 at 03:00AM

11
#260 - eBrnd / @eBrnd

11/02/2014 at 03:50PM

11
#261 - Matt / @mcr05

11/03/2014 at 11:00AM

11
#262 - kungfuchad / @kungfuchad

11/10/2014 at 01:48PM

11
#263 - Jan Novak / @odpadnimail

11/20/2014 at 02:26AM

11
#264 - david hu / @chin33z

12/17/2014 at 03:03PM

11
#265 - no name / @vimgol

01/28/2015 at 07:06PM

11
#266 - mark0829 / @mark0829

01/31/2015 at 11:30AM

11
#267 - Garrett Smith / @garrettwhsmith

03/29/2015 at 05:33PM

11
#268 - Robin Moussu / @robin_moussu

03/30/2015 at 05:32PM

11
#269 - pftb12345 / @pftb12345

04/07/2015 at 04:56AM

11
#270 - Benny Wong / @bdotdub

04/28/2015 at 03:17PM