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

232 active golfers, 1117 entries

Leaderboard (lowest score wins):
26
#121 - Francisco Romero / @PanchoopRomero

09/19/2019 at 10:05PM

26
#122 - José / @AngelGaldamez

09/21/2019 at 06:25AM

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

10/17/2019 at 12:33PM

26
#124 - Adam Katz / @AdamKat01277576

12/10/2019 at 02:09PM

26
#125 - Dan Kilman / @dan_kilman

12/18/2019 at 08:08PM

26
#126 - :wq / @write_quit_22

05/22/2021 at 02:11PM

27
#127 - Ariel Miculas / @ArielMiculas

09/18/2019 at 02:46PM

27
#128 - Daniel Beck / @daniel_beck_il

09/19/2019 at 02:01PM

27
#129 - Madelyn Freed / @EcoBummer

10/10/2019 at 07:44PM

27
#130 - Nick Yeow / @nickyeow

10/19/2019 at 01:36PM

27
#131 - TimMcGuire / @mcguire

10/26/2019 at 01:35PM

27
#132 - rr / @rodgeur31

10/27/2019 at 11:03PM

27
#133 - Isaak Meier / @IsaakMeier

12/12/2019 at 03:12AM

27
#134 - naomi (forgetful functor) / @fixedpointfae

03/29/2022 at 01:47AM

28
#135 - 𝚃𝚒𝚝𝚘𝚞𝚊𝚗 𝚃𝚎𝚢𝚜𝚜𝚒𝚎𝚛 / @TitouanT_

09/16/2019 at 04:23PM

28
#136 - Dan / @dstein64

09/17/2019 at 04:14AM

28
#137 - Miko / @_m_ik_o_

09/24/2019 at 06:25PM

28
#138 - vicver09 / @vicver091

10/25/2019 at 04:07AM

28
#139 - Kevin Yokley / @kyokley19

11/03/2019 at 05:28PM

28
#140 - bassnecter / @lothedr

11/25/2019 at 11:22AM

28
#141 - JimmyGymglish / @JGymglish

01/02/2020 at 11:27AM

28
#142 - Halfdan S. Bechmann / @HalfdanIsLame

01/15/2020 at 03:58PM

28
#143 - Sean Dewar / @seandewar

03/13/2020 at 06:27PM

28
#144 - volandkit / @volandkit

04/20/2020 at 09:17PM

28
#145 - Zachary Lee / @abstractlyZach

04/25/2020 at 07:00PM

28
#146 - Demian Martinez / @demianuco

11/02/2020 at 10:55AM

28
#147 - Prabhat Ranjan / @prabhatr27

11/05/2020 at 11:25PM

29
#148 - theBecwar / @thebecwar

09/16/2019 at 10:20PM

29
#149 - Καράτε Μόνο / @karate_mono

10/07/2019 at 12:54PM

29
#150 - Erik Engstrom / @eengstrom

10/15/2019 at 01:23PM