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):
13
#361 - xieyh11 / @xieyh11

02/26/2015 at 09:01AM

13
#362 - Matthew Pryor / @HodgekaGames

03/11/2015 at 05:26PM

13
#363 - Raj / @brshenoy

04/28/2015 at 02:56PM

13
#364 - Elizabeth / @sprinkles418

06/18/2015 at 07:20PM

13
#365 - Maxim Prokopenko / @max1cp

07/21/2015 at 06:29PM

13
#366 - Ben Vandervalk / @benvvalk

09/27/2015 at 05:11AM

13
#367 - Sean Stout / @s183s657

12/10/2015 at 04:18AM

13
#368 - Ryan Marcotte / @ryanjmarcotte

02/15/2016 at 08:32PM

13
#369 - Dinesh Bhosale / @MrDineshBhosale

04/01/2016 at 09:53PM

13
#370 - some call me mattp / @mattpep

05/12/2016 at 09:25PM

13
#371 - Jon McClennon / @mcclennon19

12/20/2016 at 04:49PM

13
#372 - Brian Hall / @_bruab_

05/13/2017 at 07:41PM

13
#373 - Stop and think / @ms_uncountable

07/07/2017 at 08:38PM

13
#374 - Geoff / @RealGeoffErwin

12/18/2017 at 08:13PM

13
#375 - c0llision / @sh3llcode

01/27/2018 at 08:52PM

13
#376 - xer0.5ive / @Bibekshah

07/09/2018 at 04:30PM

14
#377 - Корнев Руслан / @woto7

09/02/2013 at 06:11AM

14
#378 - Eric Potter / @pottereric

10/24/2013 at 03:40PM

14
#379 - Pierre Stévens / @GeoBSD

11/20/2013 at 04:58PM

14
#380 - Arsenic Hall / @FoxLisk

01/28/2014 at 11:15PM

14
#381 - Anthony ® / @Anthony22109

01/29/2014 at 10:28PM

14
#382 - Jay R Bolton / @the_swerve

01/30/2014 at 08:51PM

14
#383 - Павел Игоревич / @VizierST

02/02/2014 at 02:06PM

14
#384 - Nico Gevers / @gevious_

02/05/2014 at 06:54AM

14
#385 - Tim Suchanek / @TimSuchanek

02/09/2014 at 08:40PM

14
#386 - Shaun Robinson / @env

02/11/2014 at 03:23AM

14
#387 - c.p. / @paierlep

02/14/2014 at 10:57PM

14
#388 - Chi Bong Ho / @chibongho

02/16/2014 at 02:40AM

14
#389 - Yiyang Chen / @yiyangc91

03/03/2014 at 11:27AM

14
#390 - Peter J. Foti / @peterjfoti

03/03/2014 at 08:13PM