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):
12
#271 - Fontaine Kévin / @DotSlash974

11/16/2013 at 06:16PM

12
#272 - r/standupshots / @fuckreddit

12/05/2013 at 06:56AM

12
#273 - Jacob Niehus / @wilywampa

12/18/2013 at 07:35AM

12
#274 - pikaren / @REALpikaren

12/21/2013 at 07:39AM

12
#275 - Jan Willem / @jagij

12/28/2013 at 06:29PM

12
#276 - Domingue Justin / @_jdomingue

01/01/2014 at 02:15AM

12
#277 - Johan Berg / @_berg85

01/03/2014 at 11:56AM

12
#278 - Roland Schatz / @fl_Overmind

01/06/2014 at 01:34PM

12
#279 - Fake Name / @The_Real_User

01/08/2014 at 03:39AM

12
#280 - Quota / @Quotad

01/10/2014 at 12:47PM

12
#281 - curist / @curist

01/16/2014 at 02:56AM

12
#282 - _syseng_ / @_syseng_

01/21/2014 at 09:12PM

12
#283 - João Paiva / @jgpaiva

01/29/2014 at 05:03PM

12
#284 - Larijohn Adorable / @jbpnoy6fifty

01/31/2014 at 10:53AM

12
#285 - Matthew M. Keeler / @keelerm84

02/02/2014 at 04:38AM

12
#286 - Steffen Schröder / @PanSteffek

02/03/2014 at 10:56PM

12
#287 - Vitalii / @veelenga

02/15/2014 at 08:39PM

12
#288 - barnabaguy / @barnabaguy

02/17/2014 at 09:06PM

12
#289 - Jack Jacquemmoz / @MozJack

02/27/2014 at 05:33PM

12
#290 - Ernest Walzel / @ErnestWalzel

02/28/2014 at 12:00AM

12
#291 - ney_lemke / @ney_lemke

03/03/2014 at 01:34AM

12
#292 - 영훈 / @odjfnrtm

03/13/2014 at 06:20AM

12
#293 - Victor Ramirez / @virako

03/16/2014 at 01:38AM

12
#294 - devper94 / @devper94

03/16/2014 at 08:49AM

12
#295 - Aidan Brumsickle / @aidanbrumsickle

03/26/2014 at 05:42PM

12
#296 - Brian Olpin / @bolpin

03/30/2014 at 07:47AM

12
#297 - Jeff Parent / @jeffparent

05/11/2014 at 03:52PM

12
#298 - Herr Oppermann / @HerrOppermann

06/16/2014 at 03:21PM

12
#299 - Jimmy McRascal / @JimmyMcRascal

07/10/2014 at 04:00AM

12
#300 - d c / @chikenwaffle

07/11/2014 at 10:55PM