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

1612 active golfers, 3954 entries

Leaderboard (lowest score wins):
8
#751 - Kristof Vannotten / @kristofv

09/08/2014 at 10:03AM

8
#752 - kli6891 / @kli6891

09/08/2014 at 08:20PM

8
#753 - Enrico Carlesso / @carlesso

09/09/2014 at 12:20PM

8
#754 - mnx / @mnxx

09/10/2014 at 12:09PM

8
#755 - Tim Bodeit / @timbodeit

09/11/2014 at 02:31AM

8
#756 - mewEwExlad5 / @mewEwExlad5

09/11/2014 at 09:47PM

8
#757 - i5513 / @i5513

09/12/2014 at 10:10PM

8
#758 - Jeff / @just_geophree

09/13/2014 at 10:13PM

8
#759 - Mundi / @MarcusMundi

09/14/2014 at 02:40PM

8
#760 - Michael Wang / @micwang6

09/14/2014 at 07:11PM

8
#761 - JR Boyens / @jboyens

09/15/2014 at 05:29PM

8
#762 - Patrick Oscity / @der_padde

09/16/2014 at 02:54PM

8
#763 - Prasanna N / @SupertrampPras

09/19/2014 at 10:47AM

8
#764 - Michael Comerford / @MComerford1

09/20/2014 at 05:31PM

8
#765 - Philipp Hitzler / @ResilientPhil

09/20/2014 at 11:07PM

8
#766 - Bob Davison / @bobd91

09/23/2014 at 02:25PM

8
#767 - Antonio De Luna / @Tony_1917

09/24/2014 at 06:31AM

8
#768 - Michi Loro / @michiloro

09/26/2014 at 12:51PM

8
#769 - Jonáš Šerých / @serycjon

09/26/2014 at 10:27PM

8
#770 - Noah Ruderman / @noahc66260

09/27/2014 at 08:20AM

8
#771 - simonced / @simonced

09/27/2014 at 01:22PM

8
#772 - Eric Kever / @codeoverlode

09/29/2014 at 08:32PM

8
#773 - Viktor Lindström / @ViktorLindstr_m

09/30/2014 at 09:09PM

8
#774 - Mihir / @mihirgogate

10/04/2014 at 07:04AM

8
#775 - raghu erapaneedi / @raghue9

10/06/2014 at 05:02PM

8
#776 - Jose Gutierrez / @Jogusa

10/07/2014 at 09:45PM

8
#777 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:48AM

8
#778 - takashi / @k_takashi0309

10/08/2014 at 01:30PM

8
#779 - Maxim / @HateLinux

10/09/2014 at 07:06PM

8
#780 - Daniel Burnett / @mango_cheetah

10/10/2014 at 12:48AM