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 279 remaining solutions by signing in and submitting your own entry
#280 Henrique Zerbini Junqueira de Assis / @ZerbiniAssis - Score: 55 - 10/23/22 @ 21:03
f,llxischA<Esc>hvbyf,lplrTf,lplrSf,lplrAf,lplrRf,lplrS<Esc>:wq<CR>

0 comments


#281 nickGPT / @nickandbro - Score: 55 - 08/28/24 @ 04:15
f,llxischA<Esc>hvbyf,lplrTf,lplrSf,lplrAf,lplrRf,lplrS<Esc>:wq<CR>

0 comments


Created by: @YannMoisan

281 active golfers, 793 entries

Leaderboard (lowest score wins):
16
#121 - M S / @b1790037

03/15/2016 at 08:35PM

16
#122 - Jan Bundesmann / @janbundesmann

03/21/2016 at 02:44PM

16
#123 - Chenut Ludovic / @7Brwa7

04/01/2016 at 10:49AM

16
#124 - Andres Araya / @arayaandresfco

05/21/2016 at 06:18PM

16
#125 - Ram Tamtam / @ramtamtamtam

06/27/2016 at 10:58AM

16
#126 - 王运 / @640138017

08/05/2016 at 12:24AM

16
#127 - Will / @obiwan__k3n00bi

08/17/2016 at 04:09AM

16
#128 - citaret / @citaret

08/24/2016 at 07:02AM

16
#129 - 알카포 / @alkpo12

09/09/2016 at 07:35AM

16
#130 - TweetDreams / @TweetMusicians

10/10/2016 at 06:18PM

16
#131 - 정품비아그라 / @shirano80

11/25/2016 at 06:47AM

16
#132 - BlackCap / @BlackCapCoder

11/30/2016 at 12:15PM

16
#133 - Yann / @yannstad

02/26/2017 at 02:05AM

16
#134 - Daniel / @Daniel00288663

03/22/2017 at 11:29AM

16
#135 - Brian Hall / @_bruab_

04/06/2017 at 02:58PM

16
#136 - Angel Chiang / @angelchiang

04/07/2017 at 09:31PM

16
#137 - 20speedvegan / @ashkevinm

04/13/2017 at 08:15PM

16
#138 - Remus Dalrymple / @bornintheflames

05/07/2017 at 11:15PM

16
#139 - Bruce Park / @bpark0

06/18/2017 at 10:35PM

16
#140 - Jacob Buete / @JBuete

07/04/2017 at 12:42PM

16
#141 - Stop and think / @ms_uncountable

07/10/2017 at 01:00PM

16
#142 - Arijus / @argshook

04/19/2018 at 12:39PM

16
#143 - slicklash / @slicklash

04/19/2018 at 12:40PM

16
#144 - Mihai / @mihaicristiant

12/23/2018 at 03:25PM

16
#145 - Chester Yap / @Chest_ErYap

08/03/2019 at 06:50PM

16
#146 - Miko / @_m_ik_o_

10/13/2019 at 09:09AM

16
#147 - Lory / @Lory46845742

11/19/2019 at 03:43PM

16
#148 - Aioriya / @AioriyaDonk

05/08/2020 at 11:29PM

16
#149 - Michel Viktor / @tomkpz

07/31/2021 at 11:42PM

16
#150 - russellzhaomao / @russellzhaomao

06/12/2022 at 03:05AM