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 @ARezaK:

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

281 active golfers, 793 entries

Solutions by @ARezaK:
15
#77 - ARK / @ARezaK

08/05/2024 at 02:02AM

16
#>152 - ARK / @ARezaK

08/05/2024 at 01:58AM

16
#>152 - ARK / @ARezaK

08/05/2024 at 02:00AM

17
#>199 - ARK / @ARezaK

08/05/2024 at 01:57AM

18
#>241 - ARK / @ARezaK

08/05/2024 at 01:55AM

21
#>265 - ARK / @ARezaK

08/05/2024 at 01:54AM

25
#>270 - ARK / @ARezaK

08/05/2024 at 01:53AM

26
#>272 - ARK / @ARezaK

08/05/2024 at 01:35AM

33
#>276 - ARK / @ARezaK

08/05/2024 at 01:34AM

34
#>276 - ARK / @ARezaK

08/05/2024 at 01:32AM

35
#>276 - ARK / @ARezaK

08/05/2024 at 01:33AM

42
#>277 - ARK / @ARezaK

08/05/2024 at 01:28AM

42
#>277 - ARK / @ARezaK

08/05/2024 at 01:31AM