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

1642 active golfers, 4059 entries

Leaderboard (lowest score wins):
8
#781 - Jonáš Šerých / @serycjon

09/26/2014 at 10:27PM

8
#782 - Noah Ruderman / @noahc66260

09/27/2014 at 08:20AM

8
#783 - simonced / @simonced

09/27/2014 at 01:22PM

8
#784 - Eric Kever / @codeoverlode

09/29/2014 at 08:32PM

8
#785 - Viktor Lindström / @ViktorLindstr_m

09/30/2014 at 09:09PM

8
#786 - Mihir / @mihirgogate

10/04/2014 at 07:04AM

8
#787 - raghu erapaneedi / @raghue9

10/06/2014 at 05:02PM

8
#788 - Jose Gutierrez / @Jogusa

10/07/2014 at 09:45PM

8
#789 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:48AM

8
#790 - takashi / @k_takashi0309

10/08/2014 at 01:30PM

8
#791 - Maxim / @HateLinux

10/09/2014 at 07:06PM

8
#792 - Daniel Burnett / @mango_cheetah

10/10/2014 at 12:48AM

8
#793 - Philipp Aeschbach / @ihbmifqerg

10/10/2014 at 09:07AM

8
#794 - Felipe Apostol / @flipjsio

10/10/2014 at 06:15PM

8
#795 - Narek / @NarekCat

10/10/2014 at 07:00PM

8
#796 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:31AM

8
#797 - E Both / @enboth

10/16/2014 at 03:52PM

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

10/17/2014 at 12:56PM

8
#799 - Sebastian Korten / @FlashKorten

10/22/2014 at 02:19PM

8
#800 - Ryan Glassett / @rollsavager

10/23/2014 at 12:26AM

8
#801 - Marcelo Montu / @_mMontu_

10/24/2014 at 03:37PM

8
#802 - Jakub Lewandowski / @kubinux

10/27/2014 at 06:16PM

8
#803 - Kongqun Yang / @KongqunY

10/27/2014 at 08:54PM

8
#804 - Matt / @mcr05

10/28/2014 at 11:47AM

8
#805 - Dane Summers / @dsummersl

10/30/2014 at 12:43PM

8
#806 - Garrett Openshaw / @gopenshaw

11/01/2014 at 06:04PM

8
#807 - eBrnd / @eBrnd

11/02/2014 at 12:01PM

8
#808 - Matt Robbins / @mcrmfc

11/04/2014 at 09:57AM

8
#809 - Harold Pong / @har2po

11/05/2014 at 12:16PM

8
#810 - Ryan Morton / @thenerdscribe

11/06/2014 at 09:08PM