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):
21
#121 - dpetrovic_vimgolf / @DpetrovicV

09/20/2019 at 11:55AM

21
#122 - Alexander L. / @Lexol4s

09/22/2019 at 07:49PM

21
#123 - Jake / @thejakenixon

09/29/2019 at 06:23AM

21
#124 - John Otters / @OttersJohn

12/16/2019 at 01:39AM

21
#125 - Aleks Kissinger / @AleksKissinger

10/24/2020 at 10:57AM

21
#126 - かみひろ / @km_hr

03/10/2024 at 12:27AM

22
#127 - Jonathan Eidsness / @jonathaneidsnes

09/22/2019 at 01:30PM

22
#128 - Chris Covert / @covertcj

11/07/2019 at 06:59PM

22
#129 - mogitate / @mutemeat

11/15/2019 at 04:36PM

22
#130 - Rune Warhuus / @DinkDonkNorway

01/22/2020 at 05:59PM

22
#131 - drumstix576 / @drumstix576

11/20/2020 at 07:04PM

26
#132 - Francisco Romero / @PanchoopRomero

09/19/2019 at 10:05PM

26
#133 - Aioriya / @AioriyaDonk

09/21/2019 at 06:25AM

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

10/17/2019 at 12:33PM

26
#135 - Adam Katz / @AdamKat01277576

12/10/2019 at 02:09PM

26
#136 - Dan Kilman / @dan_kilman

12/18/2019 at 08:08PM

26
#137 - :wq / @write_quit_22

05/22/2021 at 02:11PM

27
#138 - Ariel Miculas / @ArielMiculas

09/18/2019 at 02:46PM

27
#139 - Daniel Beck / @daniel_beck_il

09/19/2019 at 02:01PM

27
#140 - Madelyn Freed / @EcoBummer

10/10/2019 at 07:44PM

27
#141 - Nick Yeow / @nickyeow

10/19/2019 at 01:36PM

27
#142 - TimMcGuire / @mcguire

10/26/2019 at 01:35PM

27
#143 - rr / @rodgeur31

10/27/2019 at 11:03PM

27
#144 - Isaak Meier / @IsaakMeier

12/12/2019 at 03:12AM

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

03/29/2022 at 01:47AM

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

09/16/2019 at 04:23PM

28
#147 - Dan / @dstein64

09/17/2019 at 04:14AM

28
#148 - Miko / @_m_ik_o_

09/24/2019 at 06:25PM

28
#149 - vicver09 / @vicver091

10/25/2019 at 04:07AM

28
#150 - Kevin Yokley / @kyokley19

11/03/2019 at 05:28PM