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 252 remaining solutions by signing in and submitting your own entry
#253 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

253 active golfers, 697 entries

Leaderboard (lowest score wins):
16
#91 - Mariano Macchi / @mmacchif

05/02/2015 at 03:51PM

16
#92 - Sam Cristall / @sbcristall

05/04/2015 at 10:35PM

16
#93 - Tom van der Lee / @TomVdLee

05/13/2015 at 07:04AM

16
#94 - Mateusz / @foobar98765

05/22/2015 at 02:28PM

16
#95 - Adetque / @Adetque

05/29/2015 at 09:02AM

16
#96 - Lifepillar / @lifepillar

06/15/2015 at 08:16PM

16
#97 - Mutter Mumble / @muttermumble

06/17/2015 at 03:27PM

16
#98 - 𖤐 𝔅𝔞𝔡𝔤𝔢𝔯 𖤐 🦇 / @drksvnt

06/25/2015 at 10:57AM

16
#99 - Skúli Jóhannsson / @skulibj

06/25/2015 at 07:49PM

16
#100 - Jack Z / @itszhou

06/28/2015 at 04:01PM

16
#101 - Peter B / @l0wm4x

08/03/2015 at 08:22PM

16
#102 - Marcin Sza / @coot_

08/15/2015 at 05:38PM

16
#103 - Nick Xiao / @nicoster

08/22/2015 at 04:18AM

16
#104 - Paulo Romeira / @pauloromeira

08/24/2015 at 03:05AM

16
#105 - Kirill Cherkashin / @kirjs

09/01/2015 at 06:07PM

16
#106 - oscar / @zonza_mas

09/04/2015 at 03:16PM

16
#107 - thlix / @thlix

01/11/2016 at 08:45PM

16
#108 - retro / @tryphopp

01/20/2016 at 08:35AM

16
#109 - Guirec CORBEL / @GuirecCorbel

02/10/2016 at 11:39PM

16
#110 - Dimitar Dimitrov / @kurkale6ka

03/14/2016 at 12:28PM

16
#111 - M S / @b1790037

03/15/2016 at 08:35PM

16
#112 - Jan Bundesmann / @janbundesmann

03/21/2016 at 02:44PM

16
#113 - Chenut Ludovic / @7Brwa7

04/01/2016 at 10:49AM

16
#114 - Andres Araya / @arayaandresfco

05/21/2016 at 06:18PM

16
#115 - Ram Tamtam / @ramtamtamtam

06/27/2016 at 10:58AM

16
#116 - 王运 / @640138017

08/05/2016 at 12:24AM

16
#117 - Will / @obiwan__k3n00bi

08/17/2016 at 04:09AM

16
#118 - citaret / @citaret

08/24/2016 at 07:02AM

16
#119 - 알카포 / @alkpo12

09/09/2016 at 07:35AM

16
#120 - TweetDreams / @TweetMusicians

10/10/2016 at 06:18PM