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 496 remaining solutions by signing in and submitting your own entry
#497 Thomas Feiler / @SirTibsTibsford - Score: 45 - 09/04/13 @ 21:23
:%s-\<\([0-9A-F]\+\)\([Z$]*\)\>-\L\1\E\2-g<CR>ZZ

0 comments


#498 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

498 active golfers, 1547 entries

Leaderboard (lowest score wins):
13
#391 - Sean Stout / @s183s657

12/10/2015 at 04:18AM

13
#392 - Ryan Marcotte / @ryanjmarcotte

02/15/2016 at 08:32PM

13
#393 - Dinesh Bhosale / @MrDineshBhosale

04/01/2016 at 09:53PM

13
#394 - mattp (part of the 💉💉💉 club) / @mattpep

05/12/2016 at 09:25PM

13
#395 - Jon McClennon / @mcclennon19

12/20/2016 at 04:49PM

13
#396 - Brian Hall / @_bruab_

05/13/2017 at 07:41PM

13
#397 - Stop and think / @ms_uncountable

07/07/2017 at 08:38PM

13
#398 - Geoff / @RealGeoffErwin

12/18/2017 at 08:13PM

13
#399 - c0llision / @sh3llcode

01/27/2018 at 08:52PM

13
#400 - xer0.5ive / @Bibekshah

07/09/2018 at 04:30PM

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

09/02/2013 at 06:11AM

14
#402 - Eric Potter / @pottereric

10/24/2013 at 03:40PM

14
#403 - Pierre Stévens / @GeoBSD

11/20/2013 at 04:58PM

14
#404 - Arsenic Hall / @FoxLisk

01/28/2014 at 11:15PM

14
#405 - Anthony ® / @Anthony22109

01/29/2014 at 10:28PM

14
#406 - Jay R Bolton / @the_swerve

01/30/2014 at 08:51PM

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

02/02/2014 at 02:06PM

14
#408 - Nico Gevers / @gevious_

02/05/2014 at 06:54AM

14
#409 - Tim Suchanek / @TimSuchanek

02/09/2014 at 08:40PM

14
#410 - Shaun Robinson / @env

02/11/2014 at 03:23AM

14
#411 - Christian / @paierlep

02/14/2014 at 10:57PM

14
#412 - Chi Bong Ho / @chibongho

02/16/2014 at 02:40AM

14
#413 - Yiyang Chen / @stackngxc

03/03/2014 at 11:27AM

14
#414 - Peter J. Foti / @peterjfoti

03/03/2014 at 08:13PM

14
#415 - Bart / @oneofmanybarts

03/11/2014 at 02:29PM

14
#416 - Dmitry Teslenko / @krab_mozga

04/07/2014 at 08:17AM

14
#417 - stephencheng / @stephencheng

05/06/2014 at 12:41PM

14
#418 - Hendrik Lammers / @hendriklammers

06/20/2014 at 06:39PM

14
#419 - David Hume / @djh95

07/07/2014 at 10:06AM

14
#420 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 02:21PM