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 56 remaining solutions by signing in and submitting your own entry
#57 Aaron / @aaronlichtman - Score: 61 - 09/24/19 @ 12:38
:%s/_/ /g<CR><Up><Up>V<Down><Down><Down><Down>:<50-53>s/\<\(\w\)\(\w*\)\>/\u\1\L\2/g<Esc>[201~<CR><Esc>:wq<CR>

0 comments


Created by: @StoneTelescope

57 active golfers, 185 entries

Leaderboard (lowest score wins):
19
#1 - John Braxler / @braxler

09/16/2019 at 08:13PM

19
#2 - Smylers / @Smylers2

09/16/2019 at 09:10PM

19
#3 - james_bunch / @james_bunch

09/16/2019 at 10:01PM

19
#4 - Michael Foley / @m1foley

09/16/2019 at 10:47PM

19
#5 - Cassandra / @kascein

09/17/2019 at 07:46AM

19
#6 - Gasol Wu / @gasolwu

09/17/2019 at 05:08PM

19
#7 - Viktor Styrud / @Visklol

09/18/2019 at 11:03AM

19
#8 - vimgolfer / @vimgolfer7

09/20/2019 at 03:25AM

19
#9 - Andrzej Wąsowski / @AndrzejWasowski

09/25/2019 at 02:14PM

19
#10 - Sebastien Baudray / @sbaudray

09/29/2019 at 07:53PM

19
#11 - kkscr / @kkscr1

10/13/2019 at 01:35PM

20
#12 - Saki Gw / @Sakigw

09/17/2019 at 06:55AM

20
#13 - garry quested / @GQuested

09/17/2019 at 08:29AM

20
#14 - EL KESRI Othmane / @KesriOthmane

09/17/2019 at 09:58AM

20
#15 - Tinko Minko / @tandikula

09/17/2019 at 05:12PM

20
#16 - Adam Hartz / @awareofnow

09/18/2019 at 02:29AM

20
#17 - Abner jr / @Abnerjr19

09/18/2019 at 03:50PM

20
#18 - Baine Wedlock / @BaineWedlock

09/19/2019 at 01:23PM

20
#19 - Clmi / @c_decaf

09/21/2019 at 09:36AM

20
#20 - Bellator nobilis / @BNobilis

09/21/2019 at 08:18PM

20
#21 - Ollin Boer Bohan / @madebyollin

09/22/2019 at 04:28AM

20
#22 - lucca augusto / @LuccaAugusto6

09/22/2019 at 10:37PM

20
#23 - IronTiger Park / @IrontigerP

09/23/2019 at 08:52AM

20
#24 - dahan / @dahan74265266

10/09/2019 at 04:43AM

21
#25 - dpetrovic_vimgolf / @DpetrovicV

09/20/2019 at 11:55AM

21
#26 - Alexander L. / @Lexol4s

09/22/2019 at 07:49PM

21
#27 - Jake Nixon / @thejakenixon

09/29/2019 at 06:23AM

22
#28 - Jonathan Eidsness / @jonathaneidsnes

09/22/2019 at 01:30PM

26
#29 - Francisco Romero / @PanchoopRomero

09/19/2019 at 10:05PM

26
#30 - José / @AngelGaldamez

09/21/2019 at 06:25AM