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):
10
#91 - Strabs / @artistavenue

02/04/2014 at 09:27AM

10
#92 - Zudov / @zudov_me

02/04/2014 at 05:40PM

10
#93 - Pete Gadomski / @petegadomski

02/06/2014 at 04:14PM

10
#94 - Mina Naguib / @minaguib

02/09/2014 at 08:14PM

10
#95 - Fred Israel / @fredisrael

02/11/2014 at 08:18PM

10
#96 - Will / @VVi11_I_AM

02/14/2014 at 05:27PM

10
#97 - Michael Bitzi / @mibitzi

02/14/2014 at 08:12PM

10
#98 - Павел Шнель / @lic06397

02/15/2014 at 03:33PM

10
#99 - Konrad / @zichul

03/08/2014 at 02:15AM

10
#100 - Robert Siemieniec / @rsiemieniec

03/12/2014 at 11:19AM

10
#101 - Jeremy Gold / @JeremyGold3

03/15/2014 at 09:38AM

10
#102 - Matt Stinson / @MrMatt2532

03/20/2014 at 03:01AM

10
#103 - Jeff / @just_geophree

03/29/2014 at 08:35PM

10
#104 - BurntBrainSoup / @BurntBrainSoup

04/15/2014 at 10:25PM

10
#105 - David Shields / @salacio

04/22/2014 at 09:08PM

10
#106 - kiho choi / @ArtStandAlone

04/24/2014 at 11:37AM

10
#107 - 土ヤ / @ttsuchiya

04/27/2014 at 02:03AM

10
#108 - Norm Fasey / @DeathRay1977

05/03/2014 at 11:55AM

10
#109 - Chaitanya Desu / @ChaituNu

05/04/2014 at 04:06PM

10
#110 - Federico Galassi / @federicogalassi

05/27/2014 at 10:49AM

10
#111 - Steffen Siering / @ursobln

06/06/2014 at 12:07AM

10
#112 - Robert Bruce / @therealrobru

06/11/2014 at 12:54AM

10
#113 - John Meisner / @jmeisned

06/24/2014 at 08:31PM

10
#114 - Lasse Dalegaard / @ldalegaard

07/07/2014 at 08:49PM

10
#115 - Dominik Szerszeń / @DominikSze

07/23/2014 at 07:26AM

10
#116 - Oleg Tsymbalyuk / @oleg_tc

07/30/2014 at 04:46AM

10
#117 - Mattias Fransson / @azzidoos

09/15/2014 at 08:29PM

10
#118 - Johannes H. / @neVexa

09/23/2014 at 09:27AM

10
#119 - Roberto Alegro / @robertoaall

11/30/2014 at 05:00AM

10
#120 - Ivan Brennan / @ivanbrennan

12/06/2014 at 05:29PM