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 53d93fc3768e280002124f23

V to the i

Input is 99 V's. Output is 100 i's.

Start file
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
End file
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

View Diff

1c1
< VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
---
> iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

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 1863 remaining solutions by signing in and submitting your own entry
#1864 Theodore DeRego / @tedsta0 - Score: 23 - 12/08/15 @ 03:14
ii<Esc>:5s<BS><BS>%s/V/i/gd<BS><CR>:wq<CR>

0 comments


Created by: @udioica

1864 active golfers, 4651 entries

Leaderboard (lowest score wins):
7
#721 - Rebecca V. / @rxbxccxv

05/08/2020 at 09:50AM

7
#722 - Jorge Romeu Huidobro / @jorgerom_

05/12/2020 at 03:59PM

7
#723 - Derrick Anderson - Solstice / @DerrickSolstice

05/14/2020 at 10:44PM

7
#724 - lpf / @yurisses

05/21/2020 at 06:17PM

7
#725 - vimgolf-sensei / @VimgolfS

05/27/2020 at 02:34PM

7
#726 - 于吉星 / @fishermryn

05/28/2020 at 06:06AM

7
#727 - Kevin Keefe / @KevinKeefe5

06/01/2020 at 07:47PM

7
#728 - Valdimar / @genkobar

06/07/2020 at 08:52PM

7
#729 - Martin Landsem / @landsematwork

06/17/2020 at 12:14PM

7
#730 - Finlay McAfee / @finsqm

06/18/2020 at 12:04PM

7
#731 - Karol Łukaszewicz / @Karolukaszewicz

06/25/2020 at 12:18PM

7
#732 - 大矢元海 / @008Genkai

07/11/2020 at 01:36PM

7
#733 - Jan Sturm / @JanSturm77

07/14/2020 at 02:36PM

7
#734 - mp / @mp28812322

07/17/2020 at 12:18PM

7
#735 - JL T / @l0f4r0

07/22/2020 at 08:57PM

7
#736 - drGsus / @drGsus

07/25/2020 at 05:44PM

7
#737 - Till Straube / @tillstr

07/29/2020 at 01:46PM

7
#738 - Rustem B. / @_rustemb

07/31/2020 at 09:08AM

7
#739 - int@紅ぽよ / @int_cl

08/01/2020 at 07:49PM

7
#740 - ぼとぼと / @boto_voto

08/05/2020 at 12:57PM

7
#741 - Du Phan / @fehiepsi

08/10/2020 at 05:07PM

7
#742 - Tanzeel Kazi / @tanzeelkazi

08/13/2020 at 08:55AM

7
#743 - Theo Sarrazin / @tshaero

08/18/2020 at 01:58PM

7
#744 - GenericHardwareGamer / @GnrikHrdwrGamer

08/27/2020 at 08:14AM

7
#745 - Kaustubh Murumkar / @k_austub_h

08/30/2020 at 07:59PM

7
#746 - abhijeet patil / @abhijeetptl5

09/04/2020 at 05:55AM

7
#747 - speisz / @speiszc

09/12/2020 at 09:37PM

7
#748 - Jan Liu / @Jagsomarjan

09/29/2020 at 04:52PM

7
#749 - Gaganpreet / @_gagan

10/04/2020 at 01:59PM

7
#750 - Ivan Kwong / @IvanKwong5

10/08/2020 at 03:48PM