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):
20
#91 - Falafel Palapel / @falafelpalapel

02/16/2020 at 08:25AM

20
#92 - floyd / @floyd10086

03/05/2020 at 05:16AM

20
#93 - Wouter Horlings / @Achilleshiel

03/13/2020 at 11:56AM

20
#94 - BnnGolfer / @BnnGolfer

03/20/2020 at 03:33PM

20
#95 - Rodrigo V. Lopes / @rodvlopes

04/05/2020 at 06:01PM

20
#96 - nicosierra / @nicosierra84

04/05/2020 at 07:56PM

20
#97 - Moatvald / @moatvald

04/19/2020 at 09:26AM

20
#98 - Rob Pilling / @bobrippling

05/20/2020 at 11:47AM

20
#99 - Martin Bielik / @mabielik

08/12/2020 at 07:26PM

20
#100 - Tanzeel Kazi / @tanzeelkazi

08/13/2020 at 08:42AM

20
#101 - AAbraxas / @AAbraxas1

10/15/2020 at 07:26PM

20
#102 - Jeff Cui / @jeffacce

10/16/2020 at 04:30AM

20
#103 - Alice / @Alice92541388

10/24/2020 at 03:25AM

20
#104 - Zack Freedman / @freedman_zack

11/07/2020 at 11:34PM

20
#105 - moh ayaya / @AyayaMoh

11/09/2020 at 06:36PM

20
#106 - David Kutschke / @D4KU_

11/21/2020 at 12:01PM

20
#107 - hepebexè / @hepebexe

11/30/2020 at 10:50PM

20
#108 - roudens / @roudens2

12/16/2020 at 02:18AM

20
#109 - Ray Dennis / @raysden

01/05/2021 at 08:31PM

20
#110 - Björn Struckmeier / @BjrnStruckmeie1

01/07/2021 at 10:42AM

20
#111 - 영훈 / @odjfnrtm

01/09/2021 at 01:42AM

20
#112 - A A A / @37fatos

01/10/2021 at 07:41PM

20
#113 - Andreas Siegrist / @andreaszwei

01/22/2021 at 10:47PM

20
#114 - Michel Viktor / @tomkpz

08/11/2021 at 11:14PM

20
#115 - yancy / @yancy_dong

09/17/2021 at 07:38AM

20
#116 - Humbaba / @humbabu

01/07/2022 at 10:22PM

20
#117 - quemeraisc / @quemeraisc

05/16/2022 at 02:12PM

20
#118 - Levi Wheeler / @LeviWhe68726437

06/14/2022 at 08:57PM

20
#119 - Luoyb / @Luoyb

10/27/2023 at 06:27AM

20
#120 - naka / @nak38223985244

01/23/2024 at 01:00PM