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 5526aef5814f89118e00f23c

camel riding

add a prefix on some camelCase variables

Start file
val (schemas, activeCount, techTagCount, sharedCount, allowedPathsCount, rootCount, searchableCount) = fieldStats(store)
End file
val (schemas, schActiveCount, schTechTagCount, schSharedCount, schAllowedPathsCount, schRootCount, schSearchableCount) = fieldStats(store)

View Diff

diff --git a/vimgolf-input.txt b/vimgolf-output.txt
index 9d508c1..212ab0c 100644
--- a/vimgolf-input.txt
+++ b/vimgolf-output.txt
@@ -1 +1 @@
-val (schemas, activeCount, techTagCount, sharedCount, allowedPathsCount, rootCount, searchableCount) = fieldStats(store)
+val (schemas, schActiveCount, schTechTagCount, schSharedCount, schAllowedPathsCount, schRootCount, schSearchableCount) = fieldStats(store)

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 254 remaining solutions by signing in and submitting your own entry
#255 Adrian Steffen / @fencer85math1 - Score: 53 - 04/13/15 @ 21:58
4wgUl2w2wugUl2w.2w.2w.2w.2w.isch<C-C><C-C><C-C><C-C>3b.3b.3b.3b.3b.ZZ

0 comments


Created by: @YannMoisan

255 active golfers, 703 entries

Leaderboard (lowest score wins):
18
#181 - marcelo jacobus / @marcelo_jacobus

04/10/2015 at 03:47PM

18
#182 - Omer Lachish / @rauchy

04/12/2015 at 11:10AM

18
#183 - Dan Evron / @danevron

04/12/2015 at 11:16AM

18
#184 - John Lee / @NSA_agent_209

04/12/2015 at 06:38PM

18
#185 - Koen De Causmaecker / @KoenCaus

04/12/2015 at 08:59PM

18
#186 - Bart / @oneofmanybarts

04/13/2015 at 11:25AM

18
#187 - P-H N. / @PeAcHe41

04/14/2015 at 12:14PM

18
#188 - Daniel Pham / @dany_pham

04/16/2015 at 02:13AM

18
#189 - Will McClellan / @willmcc_

04/17/2015 at 07:13AM

18
#190 - 김재겸 / @KimJaeKyeom

04/17/2015 at 08:57AM

18
#191 - Russell Ball / @rtball2

04/17/2015 at 09:59PM

18
#192 - Nathan LaVeck / @nslaveck

04/19/2015 at 08:31PM

18
#193 - Gracjan Grala / @gracjangrala

04/21/2015 at 05:05PM

18
#194 - Slartibartfast / @S_Bartfast

04/22/2015 at 08:57AM

18
#195 - Michael Cordell / @mike_cordell

04/27/2015 at 04:25PM

18
#196 - Olivier Debon / @OlivierSwift

05/05/2015 at 10:03AM

18
#197 - R. R. Provencher / @RRProvencher

05/08/2015 at 09:51PM

18
#198 - Mauro Persano / @fzort

05/23/2015 at 04:07PM

18
#199 - Ammar Najjar / @ammarnajjar

05/25/2015 at 07:22PM

18
#200 - Shizukesa / @Shizukesa

07/06/2015 at 10:39PM

18
#201 - Lindsay Swift / @_lindsai_

07/07/2015 at 01:38AM

18
#202 - Joel Gallant / @joelg236

07/23/2015 at 03:07PM

18
#203 - aisapatino / @aisapatino

08/02/2015 at 03:37AM

18
#204 - Дима Давыдов / @xaykot

08/14/2015 at 09:34PM

18
#205 - Jesse Atkinson / @jsatk

08/29/2015 at 03:09AM

18
#206 - Sergey Semushin / @Predelnik

08/29/2015 at 08:39AM

18
#207 - Restroom Sounds / @RestroomSounds

09/08/2015 at 02:28AM

18
#208 - Andrew Michaud / @andrewjmichaud

09/15/2015 at 10:36PM

18
#209 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 07:36PM

18
#210 - Pete Sevander / @Sevanteri

11/12/2015 at 12:40PM