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

1611 active golfers, 3952 entries

Leaderboard (lowest score wins):
7
#661 - majo senf / @majo_senf

06/17/2019 at 08:46AM

7
#662 - Hao-Ting Wang / @HaoTingW713

06/20/2019 at 03:30PM

7
#663 - hodenkobold66 / @hodenkobold66

06/25/2019 at 01:19PM

7
#664 - Καράτε Μόνο / @karate_mono

07/04/2019 at 08:24AM

7
#665 - mirsemen / @mirsemen1

07/16/2019 at 05:09AM

7
#666 - pjoe / @pjoe

07/19/2019 at 09:33PM

7
#667 - Hayden Wang / @HaydenWang2

07/31/2019 at 08:51AM

7
#668 - Joe Fahnestock🌵 / @Joecupojoe

08/01/2019 at 06:10PM

7
#669 - Rasmus Öhman Bruno / @rasmohman

08/03/2019 at 07:54PM

7
#670 - Wistan Chou / @wisty97

08/14/2019 at 05:07PM

7
#671 - Chris Shorrock / @EbinFlow

08/14/2019 at 10:05PM

7
#672 - averageRandomPerson / @averageRandomP1

08/17/2019 at 03:40PM

8
#673 - Clinton シ / @iblamefish

07/30/2014 at 07:57PM

8
#674 - Ricardo M. Vilchis / @ajkaanbal

07/30/2014 at 08:48PM

8
#675 - James / @Dronak

07/30/2014 at 09:00PM

8
#676 - vimgolf copycat / @vimgolf_copycat

07/30/2014 at 09:50PM

8
#677 - yaon / @yaon4

07/31/2014 at 12:58AM

8
#678 - Saher El-Neklawy / @saherneklawy

07/31/2014 at 07:19AM

8
#679 - Ram Tamtam / @ramtamtamtam

07/31/2014 at 09:43AM

8
#680 - Pete Johns / @johnsyweb

07/31/2014 at 09:50AM

8
#681 - Lieven Keersmaekers / @LievenKeersmaek

07/31/2014 at 12:23PM

8
#682 - zealotrush / @zealotrush

07/31/2014 at 01:02PM

8
#683 - Ole Hansen / @0hansen

07/31/2014 at 01:36PM

8
#684 - David Wilkins / @davewilkins_oc

08/01/2014 at 05:27AM

8
#685 - Song, Youngjun / @Mastojun

08/01/2014 at 07:29AM

8
#686 - Zapata / @Incredible_JFP

08/01/2014 at 02:22PM

8
#687 - Felipe Jaramillo F / @mrfelipe

08/01/2014 at 05:12PM

8
#688 - w1zeman1p / @wizemanip

08/01/2014 at 06:53PM

8
#689 - Marco Biasini / @biasmv

08/01/2014 at 07:15PM

8
#690 - Slobodan Mišković / @slobomiskovic

08/01/2014 at 10:41PM