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
#181 - James / @Dronak

09/01/2013 at 03:24AM

11
#182 - Steve Tjoa / @stevetjoa

09/01/2013 at 04:28AM

11
#183 - joe di castro / @joe_di_castro

09/01/2013 at 07:56AM

11
#184 - Kai Yuan / @kentyuan

09/01/2013 at 11:57AM

11
#185 - mnx / @mnxx

09/01/2013 at 08:40PM

11
#186 - Trevor Powell / @DoomedBunnies

09/01/2013 at 10:27PM

11
#187 - buz / @buzbone

09/02/2013 at 08:42AM

11
#188 - Dom Armstrong / @dom_cycleface

09/03/2013 at 01:08PM

11
#189 - cj / @cj01101

09/03/2013 at 05:24PM

11
#190 - Yann Moisan / @YannMoisan

09/03/2013 at 06:57PM

11
#191 - retired account / @retired10072015

09/08/2013 at 09:08PM

11
#192 - Kerson Hsiao / @KersonHsiao

09/09/2013 at 10:43AM

11
#193 - 오종빈(Jongbin Oh) / @ohyecloudy

09/11/2013 at 09:14AM

11
#194 - Rafa Garcia / @fafa

09/11/2013 at 06:19PM

11
#195 - Andrew Noyes / @seyonwerdna

09/12/2013 at 03:57AM

11
#196 - apof / @9pof

09/14/2013 at 05:15AM

11
#197 - Max Sherman / @johnislarry

09/14/2013 at 07:25PM

11
#198 - Mika Laitinen / @MikaELaitinen

09/14/2013 at 08:07PM

11
#199 - Lee Jackson / @morphemass

09/20/2013 at 12:03PM

11
#200 - nona urbiz / @nospampleasemam

09/28/2013 at 07:10AM

11
#201 - Killian Huyghe / @KillianHUYGHE

09/29/2013 at 01:19AM

11
#202 - hiding / @I_haveno_name

10/02/2013 at 08:24PM

11
#203 - quadybohme / @quadybohme

10/04/2013 at 08:57PM

11
#204 - Jamie Schembri / @shkm

10/09/2013 at 07:24PM

11
#205 - Marcin Szamotulski / @me_coot

10/09/2013 at 08:23PM

11
#206 - Anatolii Sakhnik / @sakhnik

10/11/2013 at 03:07PM

11
#207 - Joakim / @golfjoakim

10/12/2013 at 07:28AM

11
#208 - I / @ForgetIt17

10/15/2013 at 03:41PM

11
#209 - newton / @newtonsmartt

10/15/2013 at 06:21PM

11
#210 - Liam Wilkins / @CallMeWilkins

10/17/2013 at 04:51PM