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
#301 - n.st / @0013901644043f9

10/06/2013 at 03:17PM

12
#302 - Bradley M. Small / @BradleySmall

10/24/2013 at 12:53PM

12
#303 - TJ Taylor / @dugancathal

11/05/2013 at 04:05AM

12
#304 - Fontaine Kévin / @DotSlash974

11/16/2013 at 06:16PM

12
#305 - r/standupshots / @fuckreddit

12/05/2013 at 06:56AM

12
#306 - Jacob Niehus / @wilywampa

12/18/2013 at 07:35AM

12
#307 - pikaren / @REALpikaren

12/21/2013 at 07:39AM

12
#308 - Jan Willem / @jagij

12/28/2013 at 06:29PM

12
#309 - Domingue Justin / @_jdomingue

01/01/2014 at 02:15AM

12
#310 - Johan Berg / @_berg85

01/03/2014 at 11:56AM

12
#311 - Roland Schatz / @fl_Overmind

01/06/2014 at 01:34PM

12
#312 - Fake Name / @The_Real_User

01/08/2014 at 03:39AM

12
#313 - Quota / @Quotad

01/10/2014 at 12:47PM

12
#314 - curist / @curist

01/16/2014 at 02:56AM

12
#315 - _syseng_ / @_syseng_

01/21/2014 at 09:12PM

12
#316 - João Paiva / @jgpaiva

01/29/2014 at 05:03PM

12
#317 - Larijohn Adorable / @jbpnoy6fifty

01/31/2014 at 10:53AM

12
#318 - Matthew M. Keeler / @keelerm84

02/02/2014 at 04:38AM

12
#319 - Steffen Schröder / @PanSteffek

02/03/2014 at 10:56PM

12
#320 - Vitalii / @veelenga

02/15/2014 at 08:39PM

12
#321 - barnabaguy / @barnabaguy

02/17/2014 at 09:06PM

12
#322 - Jack Jacquemmoz / @MozJack

02/27/2014 at 05:33PM

12
#323 - Ernest Walzel / @ErnestWalzel

02/28/2014 at 12:00AM

12
#324 - ney_lemke / @ney_lemke

03/03/2014 at 01:34AM

12
#325 - 영훈 / @odjfnrtm

03/13/2014 at 06:20AM

12
#326 - Victor Ramirez / @virako

03/16/2014 at 01:38AM

12
#327 - devper94 / @devper94

03/16/2014 at 08:49AM

12
#328 - Aidan Brumsickle / @aidanbrumsickle

03/26/2014 at 05:42PM

12
#329 - Brian Olpin / @bolpin

03/30/2014 at 07:47AM

12
#330 - Jeff Parent / @jeffparent

05/11/2014 at 03:52PM