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

178 active golfers, 822 entries

Leaderboard (lowest score wins):
20
#61 - Matt Aschmann / @ma7hatter

11/08/2019 at 05:51PM

20
#62 - shota_ogswr / @shota_ogasawara

11/26/2019 at 02:32PM

20
#63 - ameebo / @meebwish546

12/19/2019 at 04:20PM

20
#64 - Delon / @delonleonard

12/22/2019 at 11:28AM

20
#65 - jonlee / @jonlee48400052

12/27/2019 at 02:02AM

20
#66 - lev / @nouvelliu

01/13/2020 at 10:34AM

20
#67 - Karnival K / @K4rnival

01/22/2020 at 08:40PM

20
#68 - Falafel Palapel / @falafelpalapel

02/16/2020 at 08:25AM

20
#69 - floyd / @floyd10086

03/05/2020 at 05:16AM

20
#70 - Wouter Horlings / @Achilleshiel

03/13/2020 at 11:56AM

20
#71 - BnnGolfer / @BnnGolfer

03/20/2020 at 03:33PM

20
#72 - Rodrigo V. Lopes / @rodvlopes

04/05/2020 at 06:01PM

20
#73 - nicosierra / @nicosierra84

04/05/2020 at 07:56PM

20
#74 - Moatvald / @moatvald

04/19/2020 at 09:26AM

20
#75 - Rob Pilling / @bobrippling

05/20/2020 at 11:47AM

21
#76 - dpetrovic_vimgolf / @DpetrovicV

09/20/2019 at 11:55AM

21
#77 - Alexander L. / @Lexol4s

09/22/2019 at 07:49PM

21
#78 - Jake Nixon / @thejakenixon

09/29/2019 at 06:23AM

21
#79 - John Otters / @OttersJohn

12/16/2019 at 01:39AM

22
#80 - Jonathan Eidsness / @jonathaneidsnes

09/22/2019 at 01:30PM

22
#81 - Chris Covert / @covertcj

11/07/2019 at 06:59PM

22
#82 - mogitate / @mutemeat

11/15/2019 at 04:36PM

22
#83 - Rune Warhuus / @DinkDonkNorway

01/22/2020 at 05:59PM

26
#84 - Francisco Romero / @PanchoopRomero

09/19/2019 at 10:05PM

26
#85 - José / @AngelGaldamez

09/21/2019 at 06:25AM

26
#86 - Константин / @pillar_vandyke

10/17/2019 at 12:33PM

26
#87 - Adam Katz / @AdamKat01277576

12/10/2019 at 02:09PM

26
#88 - Dan Kilman / @dan_kilman

12/18/2019 at 08:08PM

27
#89 - Ariel Miculas / @ArielMiculas

09/18/2019 at 02:46PM

27
#90 - Daniel Beck / @daniel_beck_il

09/19/2019 at 02:01PM