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):
12
#361 - asirago / @asiragoo

12/13/2023 at 05:21AM

12
#362 - Vincent / @Walila

05/14/2024 at 02:57AM

12
#363 - 小世界 / @walilav

05/14/2024 at 03:01AM

13
#364 - Hachez Floran / @FloranHachez

09/02/2013 at 11:33AM

13
#365 - Pierre Langlois / @_pierrelanglois

09/02/2013 at 04:22PM

13
#366 - Elias Dorneles / @eliasdorneles

09/03/2013 at 03:59AM

13
#367 - RobertT / @techrt2050

09/03/2013 at 04:11AM

13
#368 - Andrew Crites / @ExplosionPills

09/11/2013 at 02:09PM

13
#369 - Ingo / @ist3fani

09/11/2013 at 05:16PM

13
#370 - Bailey Ling / @blingcoder

09/12/2013 at 03:30AM

13
#371 - brett / @brettyukich

09/18/2013 at 09:40AM

13
#372 - Jesse Nazario / @jessenzr

10/17/2013 at 07:30PM

13
#373 - Corey Glynn / @albedoa

10/19/2013 at 10:37AM

13
#374 - Gemma Lynn / @ellotheth

10/22/2013 at 05:14AM

13
#375 - J. Nick Terry / @deft_code

10/23/2013 at 08:31PM

13
#376 - A. N. / @arez42

10/24/2013 at 05:38AM

13
#377 - mwcz / @mwcz

10/30/2013 at 08:10PM

13
#378 - Petr Broz / @ipetrbroz

12/17/2013 at 10:46PM

13
#379 - winterlight / @winterlight4

12/22/2013 at 10:13PM

13
#380 - Travis Rodman / @TravisRodman

01/07/2014 at 07:20AM

13
#381 - Andreas Källberg / @Anka213

01/16/2014 at 11:51PM

13
#382 - Mark Wart / @2mando

01/28/2014 at 11:16AM

13
#383 - Chris Ciulla / @chris_ciulla

01/30/2014 at 01:26AM

13
#384 - mattsalacain / @mattsalacain

01/30/2014 at 10:33PM

13
#385 - jimauthors / @jimauthors

01/31/2014 at 11:49PM

13
#386 - ひげまにや / @higemaniya

02/01/2014 at 07:07AM

13
#387 - Amy Lim / @chasingkytes

02/03/2014 at 12:25AM

13
#388 - Jonny - Male 2.0.37 / @Jonnytron

02/11/2014 at 04:49AM

13
#389 - Spencer McAlpine / @spencermcalpine

02/11/2014 at 01:53PM

13
#390 - Bart Nagel / @bjnagel

02/20/2014 at 09:11AM