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

09/01/2013 at 03:24AM

11
#152 - Steve Tjoa / @stevetjoa

09/01/2013 at 04:28AM

11
#153 - joe di castro / @joe_di_castro

09/01/2013 at 07:56AM

11
#154 - Kai Yuan / @kentyuan

09/01/2013 at 11:57AM

11
#155 - mnx / @mnxx

09/01/2013 at 08:40PM

11
#156 - Trevor Powell / @DoomedBunnies

09/01/2013 at 10:27PM

11
#157 - buz / @buzbone

09/02/2013 at 08:42AM

11
#158 - Dom Armstrong / @dom_cycleface

09/03/2013 at 01:08PM

11
#159 - cj / @cj01101

09/03/2013 at 05:24PM

11
#160 - Yann Moisan / @YannMoisan

09/03/2013 at 06:57PM

11
#161 - retired account / @retired10072015

09/08/2013 at 09:08PM

11
#162 - Kerson Hsiao / @KersonHsiao

09/09/2013 at 10:43AM

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

09/11/2013 at 09:14AM

11
#164 - Rafa Garcia / @fafa

09/11/2013 at 06:19PM

11
#165 - Andrew Noyes / @seyonwerdna

09/12/2013 at 03:57AM

11
#166 - apof / @9pof

09/14/2013 at 05:15AM

11
#167 - Max Sherman / @johnislarry

09/14/2013 at 07:25PM

11
#168 - Mika Laitinen / @MikaELaitinen

09/14/2013 at 08:07PM

11
#169 - Lee Jackson / @morphemass

09/20/2013 at 12:03PM

11
#170 - nona urbiz / @nospampleasemam

09/28/2013 at 07:10AM

11
#171 - Killian Huyghe / @KillianHUYGHE

09/29/2013 at 01:19AM

11
#172 - hiding / @I_haveno_name

10/02/2013 at 08:24PM

11
#173 - quadybohme / @quadybohme

10/04/2013 at 08:57PM

11
#174 - Jamie Schembri / @shkm

10/09/2013 at 07:24PM

11
#175 - Marcin Sza / @coot_

10/09/2013 at 08:23PM

11
#176 - Anatolii Sakhnik / @sakhnik

10/11/2013 at 03:07PM

11
#177 - Joakim / @golfjoakim

10/12/2013 at 07:28AM

11
#178 - I / @ForgetIt17

10/15/2013 at 03:41PM

11
#179 - newton / @newtonsmartt

10/15/2013 at 06:21PM

11
#180 - Liam Wilkins / @CallMeWilkins

10/17/2013 at 04:51PM