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 5d7fad5deac0df0006fc224a

SCREAMING_SNAKE_CASE to Title Case

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

Start file
EMPLOYEE_NAME

REVENUE_YEAR_TO_DATE

SALARY
End file
Employee Name

Revenue Year To Date

Salary

View Diff

1c1
< EMPLOYEE_NAME
---
> Employee Name
3c3
< REVENUE_YEAR_TO_DATE
---
> Revenue Year To Date
5c5
< SALARY
\ No newline at end of file
---
> Salary
\ No newline at end of file

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 250 remaining solutions by signing in and submitting your own entry
#251 Rajat Negi / @Rajat_Naegi - Score: 128 - 05/14/21 @ 07:11
f_i<BS><BS><BS><BS><BS><BS><BS>mployee<Esc>lli<BS> <Esc>$a<BS><BS><BS>ame<Esc>jji<BS><BS><BS>ear<Esc>lli<BS> <Esc>lll<BS><Esc>li<BS>o<Esc>lllllla<BS><BS><BS>ate<Esc>hhhi<BS> <Esc>bblllllllllhi<BS> <Esc>i<BS><BS><BS><BS><BS><BS>evenue<Esc>jja<BS><BS><BS><BS><BS>alary<Esc>:wq<CR>

0 comments


Created by: @StoneTelescope

251 active golfers, 1216 entries

Leaderboard (lowest score wins):
28
#151 - bassnecter / @lothedr

11/25/2019 at 11:22AM

28
#152 - JimmyGymglish / @JGymglish

01/02/2020 at 11:27AM

28
#153 - Halfdan S. Bechmann / @HalfdanIsLame

01/15/2020 at 03:58PM

28
#154 - Sean Dewar / @seandewar

03/13/2020 at 06:27PM

28
#155 - volandkit / @volandkit

04/20/2020 at 09:17PM

28
#156 - Zachary Lee / @abstractlyZach

04/25/2020 at 07:00PM

28
#157 - Demian Martinez / @demianuco

11/02/2020 at 10:55AM

28
#158 - Prabhat Ranjan / @prabhatr27

11/05/2020 at 11:25PM

29
#159 - theBecwar / @thebecwar

09/16/2019 at 10:20PM

29
#160 - Καράτε Μόνο / @karate_mono

10/07/2019 at 12:54PM

29
#161 - Erik Engstrom / @eengstrom

10/15/2019 at 01:23PM

29
#162 - GrimmT / @GrimmT10

11/01/2019 at 11:25AM

29
#163 - Nicolas Pagny / @NicolasPagny

12/03/2019 at 03:25PM

29
#164 - Steve Racanovic / @steve_racanovic

01/07/2020 at 10:49PM

29
#165 - Lars Haalck / @larshulk

01/09/2020 at 03:02PM

29
#166 - Anthony BERNARD / @TweetTontony

02/20/2020 at 09:34PM

29
#167 - Laurent Atlan / @laurentatlan1

03/13/2020 at 11:49PM

29
#168 - Nathan Hartman / @hnathan918

04/02/2020 at 07:49PM

29
#169 - Jason / @roosjason

04/13/2020 at 12:59AM

29
#170 - grsh / @girish_i_am

06/03/2021 at 08:36PM

30
#171 - Bennett / @bennettbackward

09/19/2019 at 03:25AM

30
#172 - Simon Wilkinson / @simondwilkinson

10/17/2019 at 10:06PM

30
#173 - John Sumner / @rjsumner

10/23/2019 at 01:33PM

30
#174 - beew71493 / @beew71493

01/26/2020 at 05:57AM

30
#175 - Victor Chen / @VictorC89422342

03/04/2020 at 07:53PM

30
#176 - __VimGolfer__ / @VimGolfer19

11/27/2020 at 09:27AM

30
#177 - James / @Dronak

12/02/2022 at 07:12PM

30
#178 - Olivier Bégassat / @zk_evm

06/11/2023 at 04:59PM

30
#179 - 으앙 / @meri2727

10/11/2023 at 12:43PM

31
#180 - Walker Boh / @walker_boh

09/16/2019 at 04:17PM