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

0 comments


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

468 active golfers, 1403 entries

Leaderboard (lowest score wins):
11
#211 - onthos / @onthos_

04/25/2014 at 08:44AM

11
#212 - Kane Wallmann / @ToCsIcK

04/27/2014 at 10:39AM

11
#213 - Tom Cammann / @tea_sea

05/13/2014 at 10:44AM

11
#214 - Jake Eaton / @Jake__Eaton

06/01/2014 at 06:01AM

11
#215 - Sntano Euhsk / @SEuhsk

06/05/2014 at 08:18AM

11
#216 - Zapata / @Incredible_JFP

06/12/2014 at 10:57PM

11
#217 - TapTemplate / @TapTemplate

06/28/2014 at 12:23AM

11
#218 - Tim Vim / @vim_tim

07/03/2014 at 11:42AM

11
#219 - James Scriven / @JamesDScriven

07/06/2014 at 08:23PM

11
#220 - kwa / @kwa129

07/08/2014 at 04:20AM

11
#221 - playalong / @playwithit42

07/08/2014 at 11:31AM

11
#222 - Caek / @Caek_

07/31/2014 at 03:23AM

11
#223 - Alex / @ninjabassist777

07/31/2014 at 02:45PM

11
#224 - Vim Fandango / @VimFandango

08/14/2014 at 02:16PM

11
#225 - Vim Golfer / @golfing_vim

09/04/2014 at 07:01PM

11
#226 - Dario Avitabile / @tutticapaci

09/08/2014 at 12:48PM

11
#227 - Noah Ruderman / @noahc66260

10/04/2014 at 09:32AM

11
#228 - Jose Gutierrez / @Jogusa

10/07/2014 at 11:26PM

11
#229 - Sabiki94@ブルスクの人 / @_jptomoya

10/18/2014 at 03:00AM

11
#230 - eBrnd / @eBrnd

11/02/2014 at 03:50PM

11
#231 - Matthieu Crapet / @mcr05

11/03/2014 at 11:00AM

11
#232 - kungfuchad / @kungfuchad

11/10/2014 at 01:48PM

11
#233 - Jan Novak / @odpadnimail

11/20/2014 at 02:26AM

11
#234 - david hu / @chin33z

12/17/2014 at 03:03PM

11
#235 - no name / @vimgol

01/28/2015 at 07:06PM

11
#236 - mark0829 / @mark0829

01/31/2015 at 11:30AM

11
#237 - Garrett Smith / @garrettwhsmith

03/29/2015 at 05:33PM

11
#238 - Robin Moussu / @robin_moussu

03/30/2015 at 05:32PM

11
#239 - pftb12345 / @pftb12345

04/07/2015 at 04:56AM

11
#240 - Benny Wong / @bdotdub

04/28/2015 at 03:17PM