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

140 active golfers, 637 entries

Leaderboard (lowest score wins):
29
#91 - GrimmT / @GrimmT10

11/01/2019 at 11:25AM

29
#92 - Nicolas Pagny / @NicolasPagny

12/03/2019 at 03:25PM

29
#93 - Steve Racanovic / @steve_racanovic

01/07/2020 at 10:49PM

29
#94 - Lars Haalck / @larshulk

01/09/2020 at 03:02PM

30
#95 - Bennett / @bennettbackward

09/19/2019 at 03:25AM

30
#96 - Simon Wilkinson / @simondwilkinson

10/17/2019 at 10:06PM

30
#97 - John Sumner / @rjsumner

10/23/2019 at 01:33PM

30
#98 - beew71493 / @beew71493

01/26/2020 at 05:57AM

31
#99 - Walker Boh / @walker_boh

09/16/2019 at 04:17PM

31
#100 - nefforr / @yayamip

09/17/2019 at 10:38PM

31
#101 - A / @Tower_1980

09/21/2019 at 02:19PM

31
#102 - Quentin Fox / @quentinbfox_

10/29/2019 at 05:51AM

31
#103 - fritz_carraldo / @fritz_carraldo

11/13/2019 at 03:03AM

31
#104 - fewfold / @fewfold

11/21/2019 at 08:25PM

31
#105 - Jason Neylon / @jasonneylon

12/16/2019 at 06:54PM

31
#106 - Moye_ / @moye_

01/08/2020 at 03:07AM

32
#107 - yousef Ibrahim / @YucefIbrahim

10/24/2019 at 01:31PM

32
#108 - Silap Aliyev / @oaakx

11/18/2019 at 09:53AM

32
#109 - James Casey / @hanavi

12/20/2019 at 11:16PM

32
#110 - 이종혁 / @BluePaisa

12/28/2019 at 10:43AM

33
#111 - John / @JohnJDoe2

09/17/2019 at 09:23AM

33
#112 - Adam Bumpus / @bumpus_adam

09/25/2019 at 01:26PM

33
#113 - wsg / @wsg31986835

11/29/2019 at 11:10AM

33
#114 - Manada Otumbe / @otumbe

01/15/2020 at 05:23AM

34
#115 - Jonathan Lozinski / @jlozinski

09/18/2019 at 09:35AM

34
#116 - jeremy / @jeremy67339762

09/20/2019 at 04:37PM

34
#117 - Jonathan Medwig / @jmedwig

10/09/2019 at 01:05PM

34
#118 - Magnus / @praktiskt

11/18/2019 at 05:46PM

34
#119 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 02:44AM

35
#120 - Igor Czerwinski / @igoratron

10/04/2019 at 02:04PM