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):
15
#31 - David Willming / @wdialvmeo

07/17/2015 at 03:04AM

15
#32 - Ferdev vimgolf / @fergvimgolf

08/08/2015 at 12:40AM

15
#33 - skrobul / @skrobul

08/15/2015 at 10:20PM

15
#34 - Liam Thurston / @lthurston188

08/18/2015 at 12:03AM

15
#35 - Colin Ameigh / @CAmeigh

08/19/2015 at 02:13PM

15
#36 - LC / @leeren

08/22/2015 at 09:22AM

15
#37 - JS / @jjohsan

08/27/2015 at 08:46PM

15
#38 - Mike Adams / @davis_cromwell

09/30/2015 at 03:14PM

15
#39 - Walker Boh / @walker_boh

10/02/2015 at 01:02PM

15
#40 - Daniel Beck / @daniel_beck_il

10/02/2015 at 03:41PM

15
#41 - NuM / @NuM314

10/24/2015 at 08:53AM

15
#42 - Domingue Justin / @_jdomingue

11/09/2015 at 04:32PM

15
#43 - Wilmer Bandres / @WilmerBandres

12/07/2015 at 11:43PM

15
#44 - jackliusr / @jackliusr

01/13/2016 at 09:40AM

15
#45 - Aleksey Zhidkov / @AlexeyZhidkov

02/02/2016 at 07:59AM

15
#46 - Roberto Carraretto / @robcarraretto

02/16/2016 at 11:56PM

15
#47 - ben kavanagh / @bkava

02/23/2016 at 02:30PM

15
#48 - John Smith / @literacyisgood

03/02/2016 at 08:18PM

15
#49 - Saki Gw / @Sakigw

04/09/2016 at 04:31PM

15
#50 - John Goes / @johnwgoes

05/09/2016 at 03:20PM

15
#51 - Kerson Hsiao / @KersonHsiao

06/17/2016 at 07:40AM

15
#52 - Jon Krause / @jkrause314

06/30/2016 at 09:53PM

15
#53 - jdupont655 / @jdupont655

09/02/2016 at 06:05PM

15
#54 - Stephen Aument / @saument

09/04/2016 at 04:19AM

15
#55 - trx / @trxdbg

10/15/2016 at 08:30AM

15
#56 - John Barbero Unenge / @JBarberU

11/08/2016 at 04:52PM

15
#57 - sijinyuan / @sijinyuan

03/16/2017 at 03:15PM

15
#58 - Jerry Wu / @AzureSpectra

05/06/2017 at 01:20AM

15
#59 - 梧桐王子 / @WutongYujie

05/14/2017 at 02:35AM

15
#60 - Turkey Man / @lvturkeyman

11/13/2017 at 02:19PM