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):
33
#151 - Paul Inc / @hiniol1982

03/15/2020 at 08:30PM

33
#152 - ryan carins / @ryan_carins

05/09/2020 at 11:22PM

34
#153 - Jonathan Lozinski / @jlozinski

09/18/2019 at 09:35AM

34
#154 - jeremy / @jeremy67339762

09/20/2019 at 04:37PM

34
#155 - Jonathan Medwig / @jmedwig

10/09/2019 at 01:05PM

34
#156 - Magnus / @praktiskt

11/18/2019 at 05:46PM

34
#157 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 02:44AM

34
#158 - Stefano Bettani / @StefanoBettani

04/14/2020 at 02:55PM

35
#159 - Igor Czerwinski / @igoratron

10/04/2019 at 02:04PM

36
#160 - alibabadienstaccount / @alibabadiensta1

11/29/2019 at 12:51PM

36
#161 - dule2607 / @dule26071

04/30/2020 at 09:09PM

37
#162 - Pogues 123 / @123Pogues

09/18/2019 at 12:32AM

37
#163 - Dantes / @YoManu513_

11/26/2019 at 01:11AM

38
#164 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 05:32AM

38
#165 - Robin De Mol / @RobinDeMol

01/17/2020 at 08:03AM

38
#166 - Bashar Jaan Khan / @basharjaankhan

01/19/2020 at 09:34AM

39
#167 - Trapier Marshall / @aoeuser

09/26/2019 at 03:27AM

39
#168 - damien / @GreatTestyTest

11/10/2019 at 09:01PM

40
#169 - Christopher / @Rephiscorth

09/17/2019 at 03:56PM

40
#170 - Geert Smelt / @gasmelt

10/08/2019 at 01:35PM

43
#171 - pysnow530 / @pysnow530

11/18/2019 at 11:10AM

43
#172 - None / @sh1chuang

12/30/2019 at 12:16PM

45
#173 - Rustem B. / @_rustemb

07/31/2020 at 07:40PM

46
#174 - kodemaan / @kodemaan

10/31/2019 at 01:00PM

50
#175 - Nicolas 👨‍💻🇨🇦 / @martinni39

12/19/2019 at 03:53PM

52
#176 - Bida Wa / @bida_wa

12/01/2019 at 01:06AM

52
#177 - Karl / @kebradshaw

04/12/2020 at 04:57PM

58
#178 - Saransh Barua / @_saranshbarua

03/28/2020 at 08:11PM

60
#179 - William Kennedy / @William13792486

09/24/2019 at 01:53PM

61
#180 - Aaron / @aaronlichtman

09/24/2019 at 12:38PM