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 250 remaining solutions by signing in and submitting your own entry
#251 Rajat Negi / @Rajat_Naegi - Score: 128 - 05/14/21 @ 07:11
f_i<BS><BS><BS><BS><BS><BS><BS>mployee<Esc>lli<BS> <Esc>$a<BS><BS><BS>ame<Esc>jji<BS><BS><BS>ear<Esc>lli<BS> <Esc>lll<BS><Esc>li<BS>o<Esc>lllllla<BS><BS><BS>ate<Esc>hhhi<BS> <Esc>bblllllllllhi<BS> <Esc>i<BS><BS><BS><BS><BS><BS>evenue<Esc>jja<BS><BS><BS><BS><BS>alary<Esc>:wq<CR>

0 comments


Created by: @StoneTelescope

251 active golfers, 1216 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

19
#49 - chocolate / @chocola81394123

12/02/2020 at 09:09AM

19
#50 - Jon Krause / @jkrause314

12/15/2020 at 04:27AM

19
#51 - Dax / @zacoxi

12/16/2020 at 04:35AM

19
#52 - Jung Yeon Park / @park_jungy

01/04/2021 at 02:34PM

19
#53 - Matthew Jurenka / @JurenkaMatthew

01/20/2021 at 08:29AM

19
#54 - 蔡徐坤真是爱吃屎 / @Hashub7

01/21/2021 at 02:08PM

19
#55 - Georg Bökman / @BokmanGeorg

07/02/2021 at 06:13PM

19
#56 - Roman Privalov / @RomanPrivalov

09/19/2021 at 04:49PM

19
#57 - russellzhaomao / @russellzhaomao

05/28/2022 at 11:10AM

19
#58 - Alex / @AlexanderHeatl2

07/06/2022 at 09:46PM

19
#59 - Janzen / @__Coos

10/06/2022 at 04:39PM

19
#60 - b1gz / @_b1gz

07/24/2023 at 08:43PM