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):
25
#511 - Jurica / @Jurica34581259

11/16/2018 at 01:46PM

28
#512 - Hiroshi Funai / @hfunai

09/23/2013 at 02:13AM

28
#513 - William Ott / @oddalot

12/08/2013 at 04:33AM

29
#514 - 5hIYi80Y007 / @5Y007

12/03/2013 at 01:24PM

30
#515 - ren / @wxoc

02/12/2014 at 02:05AM

31
#516 - Justin Johnson / @j26774

01/17/2014 at 07:25PM

45
#517 - Thomas Feiler / @SirTibsTibsford

09/04/2013 at 09:23PM

45
#518 - mathac / @mathacgolf

05/05/2014 at 07:29PM