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 194 remaining solutions by signing in and submitting your own entry
#195 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

195 active golfers, 927 entries

Leaderboard (lowest score wins):
32
#151 - Silap Aliyev / @oaakx

11/18/2019 at 09:53AM

32
#152 - James Casey / @hanavi

12/20/2019 at 11:16PM

32
#153 - 이종혁 / @BluePaisa

12/28/2019 at 10:43AM

32
#154 - Ali Kero / @stochastist

02/14/2020 at 01:16PM

32
#155 - かぎりん / @kagilinn

03/02/2020 at 07:50AM

32
#156 - Christ / @Christ46234422

09/11/2020 at 04:39AM

33
#157 - John / @JohnJDoe2

09/17/2019 at 09:23AM

33
#158 - Adam Bumpus / @bumpus_adam

09/25/2019 at 01:26PM

33
#159 - wsg / @wsg31986835

11/29/2019 at 11:10AM

33
#160 - Manada Otumbe / @otumbe

01/15/2020 at 05:23AM

33
#161 - kenny1847 / @kenny18471

02/04/2020 at 12:29PM

33
#162 - Paul Inc / @hiniol1982

03/15/2020 at 08:30PM

33
#163 - ryan carins / @ryan_carins

05/09/2020 at 11:22PM

34
#164 - Jonathan Lozinski / @jlozinski

09/18/2019 at 09:35AM

34
#165 - jeremy / @jeremy67339762

09/20/2019 at 04:37PM

34
#166 - Jonathan Medwig / @jmedwig

10/09/2019 at 01:05PM

34
#167 - Magnus / @praktiskt

11/18/2019 at 05:46PM

34
#168 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 02:44AM

34
#169 - Stefano Bettani / @StefanoBettani

04/14/2020 at 02:55PM

34
#170 - Theo Sarrazin / @tshaero

08/18/2020 at 01:46PM

35
#171 - Igor Czerwinski / @igoratron

10/04/2019 at 02:04PM

36
#172 - alibabadienstaccount / @alibabadiensta1

11/29/2019 at 12:51PM

36
#173 - dule2607 / @dule26071

04/30/2020 at 09:09PM

37
#174 - Pogues 123 / @123Pogues

09/18/2019 at 12:32AM

37
#175 - Dantes / @YoManu513_

11/26/2019 at 01:11AM

38
#176 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 05:32AM

38
#177 - Robin De Mol / @RobinDeMol

01/17/2020 at 08:03AM

38
#178 - Bashar Jaan Khan / @basharjaankhan

01/19/2020 at 09:34AM

39
#179 - Trapier Marshall / @aoeuser

09/26/2019 at 03:27AM

39
#180 - damien / @GreatTestyTest

11/10/2019 at 09:01PM