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

0 comments


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

498 active golfers, 1547 entries

Leaderboard (lowest score wins):
10
#61 - Christian C. Salvadó / @cmsalvado

11/14/2013 at 07:06AM

10
#62 - Edgar Hipp / @EdgarHipp

11/14/2013 at 08:51PM

10
#63 - Jared Meyering / @Jmeyering

11/25/2013 at 09:28PM

10
#64 - Brett Cassette / @brettcassette

12/01/2013 at 05:18AM

10
#65 - ichnom / @ichnom

12/10/2013 at 08:47PM

10
#66 - Augustin Trancart / @autra42

12/18/2013 at 05:32PM

10
#67 - Andrew O'Neill / @AndroidOatmeal

12/20/2013 at 02:52AM

10
#68 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:57PM

10
#69 - chilicuil / @chilicuil

12/27/2013 at 09:24AM

10
#70 - Herrington Darkholme / @nonamesheep

01/02/2014 at 05:56AM

10
#71 - alex scott / @4l3xsc0tt

01/15/2014 at 03:56PM

10
#72 - 黒猫 / @darkfeline

01/17/2014 at 10:48AM

10
#73 - adi li / @guessimtoolate

01/18/2014 at 02:12PM

10
#74 - John / @BerlinSchneider

01/18/2014 at 08:43PM

10
#75 - Daniel Jonsson / @DanielJonss

01/21/2014 at 04:12PM

10
#76 - Rasmus P / @rasmup

01/21/2014 at 06:52PM

10
#77 - Jon Evans / @burmasauce

01/28/2014 at 07:09PM

10
#78 - Marcin Radomski / @_dextero

01/29/2014 at 10:05AM

10
#79 - Brian Sullivan / @bmsullivan

01/29/2014 at 03:28PM

10
#80 - Jakob Lundberg / @JakobLundberg

01/31/2014 at 10:32AM

10
#81 - Ali El Amine / @Allouch95

02/02/2014 at 11:15AM

10
#82 - Reese Wilson / @shinyvimgolf

02/03/2014 at 05:36AM

10
#83 - grey wolfs / @grey_wolfs

02/03/2014 at 10:14AM

10
#84 - Tyler Holien / @tylerholien

02/03/2014 at 06:47PM

10
#85 - Strabs / @artistavenue

02/04/2014 at 09:27AM

10
#86 - Zudov / @zudov_me

02/04/2014 at 05:40PM

10
#87 - Pete Gadomski / @petegadomski

02/06/2014 at 04:14PM

10
#88 - Mina Naguib / @minaguib

02/09/2014 at 08:14PM

10
#89 - Fred Israel / @fredisrael

02/11/2014 at 08:18PM

10
#90 - Will / @VVi11_I_AM

02/14/2014 at 05:27PM