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

218 active golfers, 1059 entries

Leaderboard (lowest score wins):
20
#91 - Jeff Cui / @jeffacce

10/16/2020 at 04:30AM

20
#92 - Alice / @Alice92541388

10/24/2020 at 03:25AM

20
#93 - Zack Freedman / @freedman_zack

11/07/2020 at 11:34PM

20
#94 - moh ayaya / @AyayaMoh

11/09/2020 at 06:36PM

20
#95 - David Kutschke / @D4KU_

11/21/2020 at 12:01PM

20
#96 - hepebexè / @hepebexe

11/30/2020 at 10:50PM

20
#97 - roudens / @roudens2

12/16/2020 at 02:18AM

20
#98 - Ray Dennis / @raysden

01/05/2021 at 08:31PM

20
#99 - Björn Struckmeier / @BjrnStruckmeie1

01/07/2021 at 10:42AM

20
#100 - 영훈 / @odjfnrtm

01/09/2021 at 01:42AM

20
#101 - A A A / @37fatos

01/10/2021 at 07:41PM

20
#102 - Andreas Siegrist / @andreaszwei

01/22/2021 at 10:47PM

21
#103 - dpetrovic_vimgolf / @DpetrovicV

09/20/2019 at 11:55AM

21
#104 - Alexander L. / @Lexol4s

09/22/2019 at 07:49PM

21
#105 - Jake Nixon / @thejakenixon

09/29/2019 at 06:23AM

21
#106 - John Otters / @OttersJohn

12/16/2019 at 01:39AM

21
#107 - Aleks Kissinger / @AleksKissinger

10/24/2020 at 10:57AM

22
#108 - Jonathan Eidsness / @jonathaneidsnes

09/22/2019 at 01:30PM

22
#109 - Chris Covert / @covertcj

11/07/2019 at 06:59PM

22
#110 - mogitate / @mutemeat

11/15/2019 at 04:36PM

22
#111 - Rune Warhuus / @DinkDonkNorway

01/22/2020 at 05:59PM

22
#112 - quemeraisc / @quemeraisc

11/05/2020 at 04:59PM

22
#113 - drumstix576 / @drumstix576

11/20/2020 at 07:04PM

26
#114 - Francisco Romero / @PanchoopRomero

09/19/2019 at 10:05PM

26
#115 - José / @AngelGaldamez

09/21/2019 at 06:25AM

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

10/17/2019 at 12:33PM

26
#117 - Adam Katz / @AdamKat01277576

12/10/2019 at 02:09PM

26
#118 - Dan Kilman / @dan_kilman

12/18/2019 at 08:08PM

27
#119 - Ariel Miculas / @ArielMiculas

09/18/2019 at 02:46PM

27
#120 - Daniel Beck / @daniel_beck_il

09/19/2019 at 02:01PM