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

193 active golfers, 912 entries

Leaderboard (lowest score wins):
20
#61 - dahan / @dahan74265266

10/09/2019 at 04:43AM

20
#62 - Homo Ludens / @BsMainly

10/18/2019 at 08:00AM

20
#63 - Alex Emelianov / @AlexEmelianov3

10/21/2019 at 10:05PM

20
#64 - Iggy / @iggredible

10/23/2019 at 03:22AM

20
#65 - Lory / @Lory46845742

10/29/2019 at 03:53PM

20
#66 - skamgolf / @skamgolf

11/03/2019 at 06:26AM

20
#67 - Matt Aschmann / @ma7hatter

11/08/2019 at 05:51PM

20
#68 - shota_ogswr / @shota_ogasawara

11/26/2019 at 02:32PM

20
#69 - ameebo / @meebwish546

12/19/2019 at 04:20PM

20
#70 - Delon / @delonleonard

12/22/2019 at 11:28AM

20
#71 - jonlee / @jonlee48400052

12/27/2019 at 02:02AM

20
#72 - lev / @nouvelliu

01/13/2020 at 10:34AM

20
#73 - Karnival K / @K4rnival

01/22/2020 at 08:40PM

20
#74 - Falafel Palapel / @falafelpalapel

02/16/2020 at 08:25AM

20
#75 - floyd / @floyd10086

03/05/2020 at 05:16AM

20
#76 - Wouter Horlings / @Achilleshiel

03/13/2020 at 11:56AM

20
#77 - BnnGolfer / @BnnGolfer

03/20/2020 at 03:33PM

20
#78 - Rodrigo V. Lopes / @rodvlopes

04/05/2020 at 06:01PM

20
#79 - nicosierra / @nicosierra84

04/05/2020 at 07:56PM

20
#80 - Moatvald / @moatvald

04/19/2020 at 09:26AM

20
#81 - Rob Pilling / @bobrippling

05/20/2020 at 11:47AM

20
#82 - Martin Bielik / @mabielik

08/12/2020 at 07:26PM

20
#83 - Tanzeel Kazi / @tanzeelkazi

08/13/2020 at 08:42AM

20
#84 - AAbraxas / @AAbraxas1

10/15/2020 at 07:26PM

20
#85 - Jeff Cui / @jeffacce

10/16/2020 at 04:30AM

21
#86 - dpetrovic_vimgolf / @DpetrovicV

09/20/2019 at 11:55AM

21
#87 - Alexander L. / @Lexol4s

09/22/2019 at 07:49PM

21
#88 - Jake Nixon / @thejakenixon

09/29/2019 at 06:23AM

21
#89 - John Otters / @OttersJohn

12/16/2019 at 01:39AM

22
#90 - Jonathan Eidsness / @jonathaneidsnes

09/22/2019 at 01:30PM