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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
8
#901 - Felipe Apostol / @flipjsio

10/10/2014 at 06:15PM

8
#902 - Narek / @NarekCat

10/10/2014 at 07:00PM

8
#903 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:31AM

8
#904 - E Both / @enboth

10/16/2014 at 03:52PM

8
#905 - jptomoya / @_jptomoya

10/17/2014 at 12:56PM

8
#906 - Sebastian Korten / @FlashKorten

10/22/2014 at 02:19PM

8
#907 - Ryan Glassett / @rollsavager

10/23/2014 at 12:26AM

8
#908 - Marcelo Montu / @_mMontu_

10/24/2014 at 03:37PM

8
#909 - Jakub Lewandowski / @kubinux

10/27/2014 at 06:16PM

8
#910 - Kongqun Yang / @KongqunY

10/27/2014 at 08:54PM

8
#911 - Matt / @mcr05

10/28/2014 at 11:47AM

8
#912 - Dane Summers / @dsummersl

10/30/2014 at 12:43PM

8
#913 - Garrett Openshaw / @gopenshaw

11/01/2014 at 06:04PM

8
#914 - eBrnd / @eBrnd

11/02/2014 at 12:01PM

8
#915 - Matt Robbins / @mcrmfc

11/04/2014 at 09:57AM

8
#916 - Harold Pong / @har2po

11/05/2014 at 12:16PM

8
#917 - Ryan Morton / @thenerdscribe

11/06/2014 at 09:08PM

8
#918 - deris / @deris0126

11/06/2014 at 10:54PM

8
#919 - Davit Samvelyan / @DavitSamvelyan

11/13/2014 at 01:05PM

8
#920 - Samuel Masuy / @samasuy

11/16/2014 at 05:45PM

8
#921 - Thomas Geßler / @th_gessler

11/16/2014 at 08:35PM

8
#922 - Jake Worth / @jwworth

11/19/2014 at 07:07PM

8
#923 - Benjamin Frölich / @kakazwerglein

11/19/2014 at 10:56PM

8
#924 - Andy Tockman / @atckmn

11/22/2014 at 01:52PM

8
#925 - Karol Katerżawa / @CharlieQbx

11/27/2014 at 08:27AM

8
#926 - Jens Weggemann / @JensWeggemann

11/27/2014 at 08:37AM

8
#927 - Nathan Seither / @NathanSeither

11/30/2014 at 04:01AM

8
#928 - Alex Serebryakov / @Doc_Livesey

12/01/2014 at 09:59AM

8
#929 - Edmundo Perez / @ingedmundo

12/03/2014 at 03:40PM

8
#930 - limenghong / @LeoLpfish

12/04/2014 at 10:51AM