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

1671 active golfers, 4150 entries

Leaderboard (lowest score wins):
8
#781 - i5513 / @i5513

09/12/2014 at 10:10PM

8
#782 - Jeff / @just_geophree

09/13/2014 at 10:13PM

8
#783 - Mundi / @MarcusMundi

09/14/2014 at 02:40PM

8
#784 - Michael Wang / @micwang6

09/14/2014 at 07:11PM

8
#785 - JR Boyens / @jboyens

09/15/2014 at 05:29PM

8
#786 - Patrick Oscity / @der_padde

09/16/2014 at 02:54PM

8
#787 - Prasanna N / @SupertrampPras

09/19/2014 at 10:47AM

8
#788 - Michael Comerford / @MComerford1

09/20/2014 at 05:31PM

8
#789 - Philipp Hitzler / @ResilientPhil

09/20/2014 at 11:07PM

8
#790 - Bob Davison / @bobd91

09/23/2014 at 02:25PM

8
#791 - Antonio De Luna / @Tony_1917

09/24/2014 at 06:31AM

8
#792 - Michi Loro / @michiloro

09/26/2014 at 12:51PM

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

09/26/2014 at 10:27PM

8
#794 - Noah Ruderman / @noahc66260

09/27/2014 at 08:20AM

8
#795 - simonced / @simonced

09/27/2014 at 01:22PM

8
#796 - Eric Kever / @codeoverlode

09/29/2014 at 08:32PM

8
#797 - Viktor Lindström / @ViktorLindstr_m

09/30/2014 at 09:09PM

8
#798 - Mihir / @mihirgogate

10/04/2014 at 07:04AM

8
#799 - raghu erapaneedi / @raghue9

10/06/2014 at 05:02PM

8
#800 - Jose Gutierrez / @Jogusa

10/07/2014 at 09:45PM

8
#801 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:48AM

8
#802 - takashi / @k_takashi0309

10/08/2014 at 01:30PM

8
#803 - Maxim / @HateLinux

10/09/2014 at 07:06PM

8
#804 - Daniel Burnett / @mango_cheetah

10/10/2014 at 12:48AM

8
#805 - Philipp Aeschbach / @ihbmifqerg

10/10/2014 at 09:07AM

8
#806 - Felipe Apostol / @flipjsio

10/10/2014 at 06:15PM

8
#807 - Narek / @NarekCat

10/10/2014 at 07:00PM

8
#808 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:31AM

8
#809 - E Both / @enboth

10/16/2014 at 03:52PM

8
#810 - Sabiki94@ブルスクの人 / @_jptomoya

10/17/2014 at 12:56PM