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

243 active golfers, 663 entries

Leaderboard (lowest score wins):
15
#1 - Urtica dioica / @udioica

04/09/2015 at 06:18PM

15
#2 - John Braxler / @braxler

04/10/2015 at 12:10PM

15
#3 - Ducky / @MegaDucky9000

04/10/2015 at 01:35PM

15
#4 - Mattias Fransson / @azzidoos

04/10/2015 at 08:07PM

15
#5 - Ala' Ibrahim / @alaa_ibrahim

04/11/2015 at 12:43AM

15
#6 - Amir Kremer / @AmirKremer

04/12/2015 at 11:22AM

15
#7 - Bradley Hardy / @bradleyishardy

04/12/2015 at 01:04PM

15
#8 - Andrew Joe / @andrewajoe

04/12/2015 at 09:27PM

15
#9 - Borimir Resurrected / @Borimir

04/15/2015 at 05:25AM

15
#10 - Joshua Simmons / @MmnJoshua

04/15/2015 at 05:26AM

15
#11 - Seiichi Satomi / @Sewitch7045

04/15/2015 at 10:46AM

15
#12 - lukaskrieger / @lukaskrieger

04/16/2015 at 10:30AM

15
#13 - Roman Charuhin / @10mpy

04/16/2015 at 11:22AM

15
#14 - no hodls barred / @AssafLavie

04/16/2015 at 06:22PM

15
#15 - Charles Joachim / @cacplate

04/17/2015 at 02:59PM

15
#16 - Joop joopsen / @RapidLoL

04/20/2015 at 09:10PM

15
#17 - horace / @hor1ace

04/22/2015 at 12:04PM

15
#18 - Giovanni Garufi / @garufi_giovanni

04/23/2015 at 08:11PM

15
#19 - smokemachine / @smokemachine

05/10/2015 at 01:18AM

15
#20 - DrHobo / @_DrHobo_

05/10/2015 at 10:32PM

15
#21 - Spy / @thatspysaspy

05/13/2015 at 12:21AM

15
#22 - danweaver / @danweaver

05/14/2015 at 03:56AM

15
#23 - Peter Burt / @peterburt

05/17/2015 at 11:46PM

15
#24 - Clark DuVall / @theclarkatron

05/21/2015 at 08:22PM

15
#25 - David Stensland / @DavidStensland

05/21/2015 at 09:57PM

15
#26 - ahumph / @ahumph

06/10/2015 at 10:50AM

15
#27 - Hao Deng / @haodeng

06/11/2015 at 02:18PM

15
#28 - Thomas McGinniss / @thom_bomb75

06/11/2015 at 06:26PM

15
#29 - Andrew / @vimGolfAndrew

07/02/2015 at 09:36PM

15
#30 - Louis Burke / @LambdaABeta

07/07/2015 at 07:20PM