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 by @bkava:

Unlock 8 remaining solutions by signing in and submitting your own entry
Created by: @YannMoisan

281 active golfers, 793 entries

Solutions by @bkava:
15
#47 - ben kavanagh / @bkava

02/23/2016 at 02:30PM

16
#>119 - ben kavanagh / @bkava

02/23/2016 at 02:27PM

17
#>190 - ben kavanagh / @bkava

02/23/2016 at 02:26PM

18
#>232 - ben kavanagh / @bkava

02/23/2016 at 02:24PM

19
#>253 - ben kavanagh / @bkava

02/23/2016 at 02:22PM

24
#>265 - ben kavanagh / @bkava

02/23/2016 at 03:35PM

25
#>268 - ben kavanagh / @bkava

02/23/2016 at 03:29PM

61
#>281 - ben kavanagh / @bkava

02/23/2016 at 03:24PM