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):
40
#181 - Christopher / @Rephiscorth

09/17/2019 at 03:56PM

40
#182 - Geert Smelt / @gasmelt

10/08/2019 at 01:35PM

43
#183 - pysnow530 / @pysnow530

11/18/2019 at 11:10AM

43
#184 - None / @sh1chuang

12/30/2019 at 12:16PM

45
#185 - Rustem B. / @_rustemb

07/31/2020 at 07:40PM

46
#186 - kodemaan / @kodemaan

10/31/2019 at 01:00PM

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

12/19/2019 at 03:53PM

52
#188 - Bida Wa / @bida_wa

12/01/2019 at 01:06AM

52
#189 - Karl / @kebradshaw

04/12/2020 at 04:57PM

58
#190 - Saransh Barua / @_saranshbarua

03/28/2020 at 08:11PM

60
#191 - William Kennedy / @William13792486

09/24/2019 at 01:53PM

61
#192 - Aaron / @aaronlichtman

09/24/2019 at 12:38PM

63
#193 - Aaron / @_Lordofthevoid_

11/20/2019 at 10:03AM

72
#194 - Coder's Crib / @storyb3atz

10/25/2019 at 06:21PM

80
#195 - Ahmed Zakir / @ahmadmzak

01/26/2020 at 01:34AM