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):
9
#31 - hepebexè / @hepebexe

01/07/2021 at 09:04PM

9
#32 - A A A / @37fatos

01/17/2021 at 09:18PM

9
#33 - Jung Yeon Park / @park_jungy

01/27/2021 at 12:01AM

9
#34 - Flimsy Giraffe / @flimsy_giraffe

12/25/2021 at 04:52AM

9
#35 - russellzhaomao / @russellzhaomao

06/10/2022 at 10:34AM

9
#36 - Alex / @AlexanderHeatl2

07/08/2022 at 09:28PM

9
#37 - Omar Alawadhi / @OmarAla59544225

10/17/2022 at 09:43PM

9
#38 - vladanscy / @vladanscy

02/04/2023 at 02:17PM

9
#39 - Leonard Bereska / @LeonardBereska

02/19/2023 at 10:04PM

9
#40 - Peppa Pig / @PeppaPigSg

07/03/2024 at 04:54AM

9
#41 - nickGPT / @nickandbro

08/28/2024 at 06:12PM

10
#42 - Bunwut Tson / @NbTson

08/31/2013 at 11:58PM

10
#43 - Stephen Drodge / @sjdrodge

09/01/2013 at 01:40AM

10
#44 - Arturo Escaip / @arturoescaip

09/01/2013 at 01:58AM

10
#45 - Petro Тrouq / @zulolosi

09/01/2013 at 04:49AM

10
#46 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

09/01/2013 at 04:17PM

10
#47 - Jon Keating / @emostar

09/02/2013 at 08:38AM

10
#48 - Volodymyr / @vkrest

09/02/2013 at 12:38PM

10
#49 - Oliver Caldwell / @OliverCaldwell

09/06/2013 at 10:17AM

10
#50 - yaon / @yaon4

09/09/2013 at 03:28PM

10
#51 - Francois Picalausa / @fpicalausa

09/13/2013 at 04:29PM

10
#52 - Swing And A Miss / @DieByTheDie

09/15/2013 at 11:07AM

10
#53 - Matt Green / @emgeeeeee

09/15/2013 at 03:08PM

10
#54 - Julien Gueytat / @jgueytat

09/17/2013 at 11:45AM

10
#55 - Grandy Nguyen / @GrandyNguyen

09/22/2013 at 04:52PM

10
#56 - Jaime sánchez / @jashbeta

09/28/2013 at 02:21PM

10
#57 - Throw Away / @throwaway111111

10/01/2013 at 11:05PM

10
#58 - Devin Gray / @devinagray

10/03/2013 at 04:57AM

10
#59 - aRkadeFR / @aRkadeFR

10/06/2013 at 09:33PM

10
#60 - StarkHalo / @hellektor

10/06/2013 at 10:10PM