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 594ae5d6776ef706ab000009

For all cases.

In this case... change it! :) Watch the line.

Start file
tHIS tEXT hAS aLL tHE cAPS tHE wRONG wAY
And you should fix that please.
----------------------------------------
End file
This Text Has All The Caps The Wrong Way
And you should fix that please.
========================================

View Diff

1c1
< tHIS tEXT hAS aLL tHE cAPS tHE wRONG wAY
---
> This Text Has All The Caps The Wrong Way
3c3
< ----------------------------------------
---
> ========================================

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 65 remaining solutions by signing in and submitting your own entry
#66 rato / @_rodrigorato - Score: 16 - 03/05/18 @ 16:25
V~G:s/-/?<BS>=/g<CR>ZZ

0 comments


Created by: @c0smiq

66 active golfers, 89 entries

Leaderboard (lowest score wins):
8
#1 - Christian Stammen / @c0smiq

06/21/2017 at 09:32PM

8
#2 - Michael Foley / @m1foley

06/21/2017 at 10:17PM

8
#3 - Urtica dioica / @udioica

06/21/2017 at 10:44PM

8
#4 - Pfhor / @PfhorShark

06/22/2017 at 01:02AM

8
#5 - Tan Duong / @TanDuong27

06/22/2017 at 03:47AM

8
#6 - Smylers / @Smylers2

06/22/2017 at 06:15AM

8
#7 - Cristian Lupașcu / @clupasq

06/22/2017 at 06:25AM

8
#8 - AleksandarTrifunovic / @akstrfn

06/22/2017 at 06:30AM

8
#9 - Benoit Tigeot / @Benoit_Tgt

06/22/2017 at 06:58AM

8
#10 - Saki Gw / @Sakigw

06/22/2017 at 07:49AM

8
#11 - Jan Bundesmann / @janbundesmann

06/22/2017 at 09:35AM

8
#12 - syagush / @syagoush

06/22/2017 at 09:55AM

8
#13 - I akira / @niyarium

06/22/2017 at 12:49PM

8
#14 - John Braxler / @braxler

06/22/2017 at 02:55PM

8
#15 - Nimrod / @n1mr0d

06/22/2017 at 03:32PM

8
#16 - Nick Bakkegaard / @Bakkemand

06/22/2017 at 03:58PM

8
#17 - Ezra Zigmond / @ezrazig

06/22/2017 at 04:12PM

8
#18 - Daniel Smith / @_Tysonzero

06/22/2017 at 04:20PM

8
#19 - no hodls barred / @AssafLavie

06/22/2017 at 04:25PM

8
#20 - Song Zheng / @songz

06/22/2017 at 05:18PM

8
#21 - Blake Tereau / @BlakeTereau

06/22/2017 at 06:45PM

8
#22 - Brian Hall / @_bruab_

06/22/2017 at 10:54PM

8
#23 - Derek Schrock / @derekschrock

06/22/2017 at 11:38PM

8
#24 - James / @Dronak

06/22/2017 at 11:53PM

8
#25 - tPenguinLTG / @tpenguinltg

06/23/2017 at 01:06AM

8
#26 - Sean Wayman / @SeanInFrance

06/23/2017 at 06:55AM

8
#27 - Guillaume / @WeshGuillaume

06/23/2017 at 09:59AM

8
#28 - David / @Revan4Vendetta

06/23/2017 at 12:25PM

8
#29 - wongcheming / @wongcheming

06/23/2017 at 01:33PM

8
#30 - Karol / @kruzelecki

06/23/2017 at 04:00PM