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

262 active golfers, 731 entries

Leaderboard (lowest score wins):
17
#151 - ZC-死理性派 / @zecyzhang

04/10/2015 at 01:01PM

17
#152 - Sigurður Ægir Jónsso / @siggiae

04/10/2015 at 04:06PM

17
#153 - Krzysztof / @Krzysztof2K

04/12/2015 at 10:55AM

17
#154 - Yuval Netanel / @Yuval5555

04/12/2015 at 11:18AM

17
#155 - ushumpei / @ushumpei_

04/14/2015 at 04:09PM

17
#156 - simonced / @simonced

04/15/2015 at 03:51AM

17
#157 - Hendrik Lammers / @hendriklammers

04/15/2015 at 08:39PM

17
#158 - Oliver Christ / @0liverChrist

04/16/2015 at 08:01PM

17
#159 - Thomas / @moatra

04/21/2015 at 03:30AM

17
#160 - nulusr / @nulusr

04/21/2015 at 10:35AM

17
#161 - Stefan Knudsen / @knud32

04/25/2015 at 04:50AM

17
#162 - Slurpie Chapdash / @SlurpieChapdash

05/06/2015 at 08:04PM

17
#163 - mark0829 / @mark0829

05/07/2015 at 03:54AM

17
#164 - mat / @matgeist

05/21/2015 at 08:17PM

17
#165 - Personal Life Trackr / @PersLifeTrackr

05/24/2015 at 09:29AM

17
#166 - Bruce Woodward / @Bruce_Woodward

05/26/2015 at 03:14AM

17
#167 - Quota / @Quotad

06/12/2015 at 12:18PM

17
#168 - Omar Abou Mrad / @omaraboumrad

06/18/2015 at 01:26PM

17
#169 - Geoff Gu / @geoff_gu

07/02/2015 at 12:32PM

17
#170 - Samir Sadek / @netsamir

07/20/2015 at 09:44AM

17
#171 - James Pringle / @mathbyjames

07/21/2015 at 08:31PM

17
#172 - Roben Kleene / @robenkleene

07/30/2015 at 09:04PM

17
#173 - Jason Schulz / @uxcn_

08/01/2015 at 01:49AM

17
#174 - Tim Vail / @timdvail

08/07/2015 at 05:09AM

17
#175 - Blake Tereau / @BlakeTereau

08/11/2015 at 04:56PM

17
#176 - Veritas / @_VeritasL

08/17/2015 at 03:51PM

17
#177 - John Clara / @johnanthclara

08/20/2015 at 05:38AM

17
#178 - Yaroslav Kanarev / @yarosurabu

09/08/2015 at 04:47PM

17
#179 - Ben Vandervalk / @benvvalk

09/27/2015 at 05:00AM

17
#180 - Fredrik liljedahl / @fliljeda

11/06/2015 at 05:23PM