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
#181 - Nik Klassen / @nik_klassen

10/21/2013 at 10:50PM

11
#182 - Monroe Walker / @monroewlkr

10/22/2013 at 05:12AM

11
#183 - Stephen G / @ssgelm

11/01/2013 at 09:40PM

11
#184 - Charles H. Leggett / @cleggett

11/06/2013 at 12:41AM

11
#185 - Matt Richards / @_tthew

11/19/2013 at 12:05AM

11
#186 - Rafael Rendon Pablo / @__rendon__

12/15/2013 at 02:05AM

11
#187 - Sofia Balicka / @so_phifi

12/19/2013 at 07:40PM

11
#188 - Russ Adams / @rustushki

12/24/2013 at 10:22PM

11
#189 - a / @asdfsdafdsfdsaf

01/04/2014 at 02:17AM

11
#190 - Clinton シ / @iblamefish

01/05/2014 at 07:01PM

11
#191 - oliver mueller / @marcontwit

01/11/2014 at 07:11AM

11
#192 - André / @Joschasa

01/22/2014 at 02:54PM

11
#193 - flembo's dad / @Lspacewalker

01/24/2014 at 04:23PM

11
#194 - JamesT / @jamestrinklein

01/29/2014 at 08:25AM

11
#195 - Olivier Parent / @oliparcol

02/02/2014 at 11:22AM

11
#196 - freestlr / @freestlr

02/03/2014 at 09:12AM

11
#197 - Yongho / @YONG_HO

02/06/2014 at 08:29AM

11
#198 - Marcin Cabaj / @marcincabaj

02/06/2014 at 01:21PM

11
#199 - Patrick Oscity / @der_padde

02/10/2014 at 01:12AM

11
#200 - Joonas Pihlajamaa / @jokkebk

02/17/2014 at 03:03PM

11
#201 - Lucius L. Hilley III / @unkmar

02/27/2014 at 09:25AM

11
#202 - Hannes Remahl / @hannesr

02/27/2014 at 02:37PM

11
#203 - Matthew Draper / @_matthewd

02/28/2014 at 02:23PM

11
#204 - Ri / @riateche

03/02/2014 at 12:37PM

11
#205 - William Snyders / @iam2391212

03/04/2014 at 11:38PM

11
#206 - Marchand Paul-Valère / @pvmarch

03/05/2014 at 02:20PM

11
#207 - Huang Yu / @trave7er

03/05/2014 at 09:56PM

11
#208 - Thomas GUILLORY / @thomasguillory

03/07/2014 at 01:12PM

11
#209 - Paul Jay / @PaulJay91

03/14/2014 at 08:14AM

11
#210 - Jean / @ygu0_0

03/22/2014 at 03:04PM