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

1897 active golfers, 4813 entries

Leaderboard (lowest score wins):
8
#961 - durcheinandr / @durcheinandr

12/31/2014 at 07:12PM

8
#962 - Eric Biven / @EricBiven

12/31/2014 at 10:08PM

8
#963 - d1hotpep / @d1hotpep

12/31/2014 at 11:51PM

8
#964 - ゆきみ / @edp02

01/01/2015 at 09:03AM

8
#965 - AA / @john42luke

01/02/2015 at 06:05PM

8
#966 - ぷりケツにるぽ / @nillpo

01/05/2015 at 06:55AM

8
#967 - ZC-死理性派 / @zecyzhang

01/10/2015 at 03:55PM

8
#968 - Vasily Toropov / @vasandtor

01/12/2015 at 12:05PM

8
#969 - Charles Wu / @Congeec

01/13/2015 at 03:07PM

8
#970 - Raynard, Jordan / @raynard_jordan

01/14/2015 at 01:36PM

8
#971 - Dr Rev J. “I am not a bot!” Kirchartz, KSC, KHS / @JKirchartz

01/16/2015 at 03:02AM

8
#972 - Håken Lid / @haakenlid

01/19/2015 at 10:23AM

8
#973 - Ilari Mäkelä / @ilarimkel

01/19/2015 at 07:30PM

8
#974 - Константин / @xni

01/19/2015 at 10:53PM

8
#975 - Arno ℇrpenbeck / @javacgn

01/21/2015 at 11:42AM

8
#976 - Adam Stankiewicz / @sheerun

01/25/2015 at 09:54PM

8
#977 - no name / @vimgol

01/28/2015 at 06:28PM

8
#978 - Andy Davis / @biggernoise

01/30/2015 at 09:14PM

8
#979 - Nick James / @Verbitan

01/31/2015 at 02:59PM

8
#980 - 裏連 / @uraren_bot

02/02/2015 at 10:04AM

8
#981 - Kristijan Husak / @kristijan_husak

02/02/2015 at 02:50PM

8
#982 - いっこつ / @eZb4

02/03/2015 at 06:43PM

8
#983 - César Enrique / @caenrique93

02/03/2015 at 11:39PM

8
#984 - Steven Lu / @stevenlu443

02/07/2015 at 05:05AM

8
#985 - Larry Battle / @LarryBattle

02/08/2015 at 04:09PM

8
#986 - かっかる / @86ktcal

02/12/2015 at 06:54AM

8
#987 - xieyh11 / @xieyh11

02/13/2015 at 04:26AM

8
#988 - lpm11 / T. Tsunoda / @lpm11

02/16/2015 at 11:13AM

8
#989 - Tim Branyen / @tbranyen

02/18/2015 at 04:20AM

8
#990 - d1uckym d1uckym / @d1uckym

02/18/2015 at 08:08PM