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 138 remaining solutions by signing in and submitting your own entry
#139 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

139 active golfers, 635 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

20
#34 - Saki Gw / @Sakigw

09/17/2019 at 06:55AM

20
#35 - garry quested / @GQuested

09/17/2019 at 08:29AM

20
#36 - EL KESRI Othmane / @KesriOthmane

09/17/2019 at 09:58AM

20
#37 - Tinko Minko / @tandikula

09/17/2019 at 05:12PM

20
#38 - Adam Hartz / @awareofnow

09/18/2019 at 02:29AM

20
#39 - Abner jr / @Abnerjr19

09/18/2019 at 03:50PM

20
#40 - Baine Wedlock / @BaineWedlock

09/19/2019 at 01:23PM

20
#41 - Clmi / @c_decaf

09/21/2019 at 09:36AM

20
#42 - Bellator nobilis / @BNobilis

09/21/2019 at 08:18PM

20
#43 - Ollin Boer Bohan / @madebyollin

09/22/2019 at 04:28AM

20
#44 - lucca augusto / @LuccaAugusto6

09/22/2019 at 10:37PM

20
#45 - IronTiger Park / @IrontigerP

09/23/2019 at 08:52AM

20
#46 - dahan / @dahan74265266

10/09/2019 at 04:43AM

20
#47 - Homo Ludens / @BsMainly

10/18/2019 at 08:00AM

20
#48 - Alex Emelianov / @AlexEmelianov3

10/21/2019 at 10:05PM

20
#49 - Iggy / @iggredible

10/23/2019 at 03:22AM

20
#50 - Lory / @Lory46845742

10/29/2019 at 03:53PM

20
#51 - skamgolf / @skamgolf

11/03/2019 at 06:26AM

20
#52 - Matt Aschmann / @ma7hatter

11/08/2019 at 05:51PM

20
#53 - shota_ogswr / @shota_ogasawara

11/26/2019 at 02:32PM

20
#54 - ameebo / @meebwish546

12/19/2019 at 04:20PM

20
#55 - Delon / @delonleonard

12/22/2019 at 11:28AM

20
#56 - jonlee / @jonlee48400052

12/27/2019 at 02:02AM

20
#57 - lev / @nouvelliu

01/13/2020 at 10:34AM

20
#58 - Karnival K / @K4rnival

01/22/2020 at 08:40PM

21
#59 - dpetrovic_vimgolf / @DpetrovicV

09/20/2019 at 11:55AM

21
#60 - Alexander L. / @Lexol4s

09/22/2019 at 07:49PM