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 by @MelvinCheung:

Unlock 5 remaining solutions by signing in and submitting your own entry
Created by: @StoneTelescope

218 active golfers, 1059 entries

Solutions by @MelvinCheung:
19
#23 - Melvin Cheung / @MelvinCheung

11/07/2019 at 02:49PM

19
#>23 - Melvin Cheung / @MelvinCheung

11/07/2019 at 02:51PM

20
#>72 - Melvin Cheung / @MelvinCheung

11/07/2019 at 02:40PM

21
#>105 - Melvin Cheung / @MelvinCheung

11/07/2019 at 02:32PM

31
#>159 - Melvin Cheung / @MelvinCheung

11/07/2019 at 02:29PM