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

10/21/2013 at 10:50PM

11
#212 - Monroe Walker / @monroewlkr

10/22/2013 at 05:12AM

11
#213 - Stephen G / @ssgelm

11/01/2013 at 09:40PM

11
#214 - Charles H. Leggett / @cleggett

11/06/2013 at 12:41AM

11
#215 - Matt Richards / @_tthew

11/19/2013 at 12:05AM

11
#216 - Rafael Rendon Pablo / @__rendon__

12/15/2013 at 02:05AM

11
#217 - Sofia Balicka / @so_phifi

12/19/2013 at 07:40PM

11
#218 - Russ Adams / @rustushki

12/24/2013 at 10:22PM

11
#219 - a / @asdfsdafdsfdsaf

01/04/2014 at 02:17AM

11
#220 - Clinton シ / @iblamefish

01/05/2014 at 07:01PM

11
#221 - oliver mueller / @marcontwit

01/11/2014 at 07:11AM

11
#222 - André / @Joschasa

01/22/2014 at 02:54PM

11
#223 - changling / @Lspacewalker

01/24/2014 at 04:23PM

11
#224 - JamesT / @jamestrinklein

01/29/2014 at 08:25AM

11
#225 - Olivier Parent / @oliparcol

02/02/2014 at 11:22AM

11
#226 - freestlr / @freestlr

02/03/2014 at 09:12AM

11
#227 - Yongho / @YONG_HO

02/06/2014 at 08:29AM

11
#228 - Marcin Cabaj / @marcincabaj

02/06/2014 at 01:21PM

11
#229 - Patrick Oscity / @der_padde

02/10/2014 at 01:12AM

11
#230 - Joonas Pihlajamaa / @jokkebk

02/17/2014 at 03:03PM

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

02/27/2014 at 09:25AM

11
#232 - Hannes Remahl / @hannesr

02/27/2014 at 02:37PM

11
#233 - Matthew Draper / @_matthewd

02/28/2014 at 02:23PM

11
#234 - Ri / @riateche

03/02/2014 at 12:37PM

11
#235 - William Snyders / @iam2391212

03/04/2014 at 11:38PM

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

03/05/2014 at 02:20PM

11
#237 - Space Sloth / @daspacesloth

03/05/2014 at 09:56PM

11
#238 - Thomas GUILLORY / @thomasguillory

03/07/2014 at 01:12PM

11
#239 - Paul Jay / @PaulJay91

03/14/2014 at 08:14AM

11
#240 - Jean / @ygu0_0

03/22/2014 at 03:04PM