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 182 remaining solutions by signing in and submitting your own entry
#183 Ahmed Zakir / @ahmadmzak - Score: 80 - 01/26/20 @ 01:34
:%s/_/ /g<CR>gg<C-V>5j$gu<C-V>5jgUqwqqqqwgUl<Esc>jjhgUwukjlgU<Esc>hgUllllllgUlllllg<BS><Esc><Esc><Esc>hgUl<Esc><Esc>jjj:x<CR>

0 comments


Created by: @StoneTelescope

183 active golfers, 850 entries

Leaderboard (lowest score wins):
29
#121 - Nathan Hartman / @hnathan918

04/02/2020 at 07:49PM

29
#122 - Jason / @roosjason

04/13/2020 at 12:59AM

30
#123 - Bennett / @bennettbackward

09/19/2019 at 03:25AM

30
#124 - Simon Wilkinson / @simondwilkinson

10/17/2019 at 10:06PM

30
#125 - John Sumner / @rjsumner

10/23/2019 at 01:33PM

30
#126 - beew71493 / @beew71493

01/26/2020 at 05:57AM

30
#127 - Victor Chen / @VictorC89422342

03/04/2020 at 07:53PM

31
#128 - Walker Boh / @walker_boh

09/16/2019 at 04:17PM

31
#129 - nefforr / @yayamip

09/17/2019 at 10:38PM

31
#130 - A / @Tower_1980

09/21/2019 at 02:19PM

31
#131 - Quentin Fox / @quentinbfox_

10/29/2019 at 05:51AM

31
#132 - fritz_carraldo / @fritz_carraldo

11/13/2019 at 03:03AM

31
#133 - fewfold / @fewfold

11/21/2019 at 08:25PM

31
#134 - Jason Neylon / @jasonneylon

12/16/2019 at 06:54PM

31
#135 - Moye_ / @moye_

01/08/2020 at 03:07AM

31
#136 - Steffen / @Pions90

02/18/2020 at 06:59PM

31
#137 - Chris League / @chrisleague

02/23/2020 at 08:16PM

31
#138 - vvaannaa3 / @vvaannaa3

04/02/2020 at 10:34AM

31
#139 - RockerZZY / @rocker_zzy

05/31/2020 at 01:34PM

32
#140 - yousef Ibrahim / @YucefIbrahim

10/24/2019 at 01:31PM

32
#141 - Silap Aliyev / @oaakx

11/18/2019 at 09:53AM

32
#142 - James Casey / @hanavi

12/20/2019 at 11:16PM

32
#143 - 이종혁 / @BluePaisa

12/28/2019 at 10:43AM

32
#144 - Ali Kero / @stochastist

02/14/2020 at 01:16PM

32
#145 - かぎりん / @kagilinn

03/02/2020 at 07:50AM

33
#146 - John / @JohnJDoe2

09/17/2019 at 09:23AM

33
#147 - Adam Bumpus / @bumpus_adam

09/25/2019 at 01:26PM

33
#148 - wsg / @wsg31986835

11/29/2019 at 11:10AM

33
#149 - Manada Otumbe / @otumbe

01/15/2020 at 05:23AM

33
#150 - kenny1847 / @kenny18471

02/04/2020 at 12:29PM