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):
11
#241 - Lindsay Swift / @_lindsai_

07/07/2015 at 09:22PM

11
#242 - Endre Galaczi / @galacziendre

07/30/2015 at 02:47PM

11
#243 - Sergey Semushin / @Predelnik

09/01/2015 at 06:15AM

11
#244 - Bogumił Kamiński / @BogumilKaminski

10/26/2015 at 08:00PM

11
#245 - Janine Cheng / @janineist

02/14/2016 at 03:38AM

11
#246 - Tj / @yrddy

02/22/2016 at 04:54AM

11
#247 - Kostas / @blackraven_13

02/26/2016 at 03:17AM

11
#248 - Jaron Hamlik / @jdhamlik

02/27/2016 at 11:28PM

11
#249 - Michael Potter / @MicLeviPotter

03/04/2016 at 06:53PM

11
#250 - Dimitar Dimitrov / @kurkale6ka

03/14/2016 at 03:51PM

11
#251 - Jan Bundesmann / @janbundesmann

04/13/2016 at 01:10PM

11
#252 - Samuel Masuy / @samasuy

04/14/2016 at 12:08AM

11
#253 - Netrisk Cool / @C00lt0

10/04/2016 at 02:17PM

11
#254 - TweetDreams / @TweetMusicians

10/10/2016 at 04:00PM

11
#255 - Kyouma / @kyoumaJohn

10/14/2016 at 05:36PM

11
#256 - BareTull / @BareTull3

12/12/2017 at 11:12AM

11
#257 - LC / @leeren

03/02/2018 at 10:25AM

11
#258 - Víctor López / @viticlick

08/23/2018 at 09:35AM

12
#259 - Timothée Gauthier / @zmf_tim

08/31/2013 at 10:56PM

12
#260 - Christopher Norris / @__c_norris__

09/01/2013 at 12:58AM

12
#261 - Fernando Axel Ellis / @Axel_Ellis

09/06/2013 at 04:19PM

12
#262 - atemeresclencare / @kfzhyzdj

09/13/2013 at 10:21PM

12
#263 - Hawk Newton / @hawknewton

09/17/2013 at 01:48AM

12
#264 - Víctor Brigé / @vbrige

09/17/2013 at 08:22PM

12
#265 - Steven Weller / @suweller

09/26/2013 at 03:28PM

12
#266 - Fedor Stepanov / @yasorrat

09/28/2013 at 03:15PM

12
#267 - George GZ Zakhour / @AlloGeorge

09/29/2013 at 02:53PM

12
#268 - n.st / @0013901644043f9

10/06/2013 at 03:17PM

12
#269 - Bradley M. Small / @BradleySmall

10/24/2013 at 12:53PM

12
#270 - TJ Taylor / @dugancathal

11/05/2013 at 04:05AM