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

1619 active golfers, 3973 entries

Leaderboard (lowest score wins):
8
#961 - Artur Taranchiev / @ewokru

10/25/2015 at 09:39AM

8
#962 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 04:44PM

8
#963 - Shobhit Gupta / @shobhitg

10/26/2015 at 09:04PM

8
#964 - Patrick Mitchell / @jpmitche11

11/02/2015 at 08:54PM

8
#965 - Bowen Deng / @DavidBdeng

11/06/2015 at 04:50AM

8
#966 - Andy Loomis / @alumux

11/08/2015 at 06:13AM

8
#967 - Tom Sisk / @TomSisk

11/13/2015 at 09:36AM

8
#968 - agricantare / @agricantare

11/15/2015 at 12:06PM

8
#969 - Cameron Derwin / @dirtyderzzz

11/15/2015 at 10:45PM

8
#970 - Jonas / @jonaslasauskas

11/18/2015 at 02:29PM

8
#971 - territorialmale / @territorialmale

11/20/2015 at 10:51AM

8
#972 - kiou / @smallletterquu

12/05/2015 at 01:03AM

8
#973 - Marshall Croes / @marshallcroes

12/08/2015 at 12:33PM

8
#974 - Sean Stout / @s183s657

12/10/2015 at 03:52AM

8
#975 - Ralph Canapa / @ralphcanapa

12/14/2015 at 05:02PM

8
#976 - El Achèche ANIS / @elacheche

12/14/2015 at 05:28PM

8
#977 - Michael Donux / @foodtooth

12/16/2015 at 02:26AM

8
#978 - Jan Path / @jan_path

12/18/2015 at 11:19AM

8
#979 - Jakob Schöttl / @jschoettl

12/20/2015 at 04:31AM

8
#980 - Charlie / @wookie_giant

12/20/2015 at 10:52PM

8
#981 - Ashley Ryan / @aviendha25

12/21/2015 at 06:14PM

8
#982 - abbystasja / @abbystasja

12/21/2015 at 11:10PM

8
#983 - Ethan Stewart / @EthanS279

12/23/2015 at 08:39PM

8
#984 - adeel hussain / @adeelhussain

12/25/2015 at 03:23PM

8
#985 - Elrrrrrrr / @Elrrrrrrr

12/30/2015 at 09:01AM

8
#986 - Oisin Carroll / @oisincar

01/03/2016 at 09:01PM

8
#987 - The Dimalisher / @zeppelinnn

01/04/2016 at 02:27AM

8
#988 - Alexander Ryzhikov / @Coobaha

01/06/2016 at 12:13PM

8
#989 - Thomas Williams / @neopsalmist

01/06/2016 at 02:28PM

8
#990 - Sinclair Desaud / @sdesaud

01/07/2016 at 01:13AM