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):
19
#31 - heppen / @heppen_He

01/07/2020 at 01:27PM

19
#32 - mowglian / @mowglian

01/11/2020 at 09:17PM

19
#33 - Tefe / @tefetic

01/24/2020 at 07:16PM

19
#34 - Kyle X. Clark / @KyXr_Clark

02/10/2020 at 08:04PM

19
#35 - jrddp / @jrddp0

02/14/2020 at 05:15AM

19
#36 - howanto / @ho_wan_

02/20/2020 at 11:05AM

19
#37 - countime / @countime1

03/06/2020 at 02:02AM

19
#38 - せいほう / @FICSQF

03/13/2020 at 09:17AM

19
#39 - Daniel Fleischman / @vimgolfdaniel

04/05/2020 at 09:06PM

19
#40 - Arthur Goodman / @ArthurGoodman3

04/30/2020 at 10:45AM

19
#41 - 于吉星 / @fishermryn

05/25/2020 at 09:58AM

19
#42 - Kevin Keefe / @KevinKeefe5

05/26/2020 at 05:18PM

19
#43 - Valdimar / @genkobar

06/04/2020 at 01:36AM

19
#44 - 大矢元海 / @008Genkai

07/12/2020 at 05:18PM

19
#45 - speisz / @speiszc

09/02/2020 at 09:05PM

19
#46 - Ivan Kwong / @IvanKwong5

09/26/2020 at 07:04PM

19
#47 - lamtt77 / @lamtt77

10/10/2020 at 09:48AM

19
#48 - noam teyssier / @noamteyssier

10/15/2020 at 09:14PM

20
#49 - Saki Gw / @Sakigw

09/17/2019 at 06:55AM

20
#50 - garry quested / @GQuested

09/17/2019 at 08:29AM

20
#51 - EL KESRI Othmane / @KesriOthmane

09/17/2019 at 09:58AM

20
#52 - Tinko Minko / @tandikula

09/17/2019 at 05:12PM

20
#53 - Adam Hartz / @awareofnow

09/18/2019 at 02:29AM

20
#54 - Abner jr / @Abnerjr19

09/18/2019 at 03:50PM

20
#55 - Baine Wedlock / @BaineWedlock

09/19/2019 at 01:23PM

20
#56 - Clmi / @c_decaf

09/21/2019 at 09:36AM

20
#57 - Bellator nobilis / @BNobilis

09/21/2019 at 08:18PM

20
#58 - Ollin Boer Bohan / @madebyollin

09/22/2019 at 04:28AM

20
#59 - lucca augusto / @LuccaAugusto6

09/22/2019 at 10:37PM

20
#60 - IronTiger Park / @IrontigerP

09/23/2019 at 08:52AM