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

1695 active golfers, 4218 entries

Leaderboard (lowest score wins):
8
#871 - ZC-死理性派 / @zecyzhang

01/10/2015 at 03:55PM

8
#872 - Vasily Toropov / @vasandtor

01/12/2015 at 12:05PM

8
#873 - Charles Wu / @Congeec

01/13/2015 at 03:07PM

8
#874 - Raynard, Jordan / @raynard_jordan

01/14/2015 at 01:36PM

8
#875 - Dr. Rev. J. "Paranoid Android" Kirchartz / @JKirchartz

01/16/2015 at 03:02AM

8
#876 - Håken Lid / @haakenlid

01/19/2015 at 10:23AM

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

01/19/2015 at 07:30PM

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

01/19/2015 at 10:53PM

8
#879 - Arno ℇrpenbeck / @javacgn

01/21/2015 at 11:42AM

8
#880 - Adam Stankiewicz / @sheerun

01/25/2015 at 09:54PM

8
#881 - no name / @vimgol

01/28/2015 at 06:28PM

8
#882 - Andy Davis / @biggernoise

01/30/2015 at 09:14PM

8
#883 - Nick James / @Verbitan

01/31/2015 at 02:59PM

8
#884 - 裏連 / @uraren_bot

02/02/2015 at 10:04AM

8
#885 - Kristijan Husak / @kristijan_husak

02/02/2015 at 02:50PM

8
#886 - いっこつ / @eZb4

02/03/2015 at 06:43PM

8
#887 - César Enrique / @caenrique93

02/03/2015 at 11:39PM

8
#888 - Steven Lu / @stevenlu443

02/07/2015 at 05:05AM

8
#889 - Larry Battle / @LarryBattle

02/08/2015 at 04:09PM

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

02/12/2015 at 06:54AM

8
#891 - xieyh11 / @xieyh11

02/13/2015 at 04:26AM

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

02/16/2015 at 11:13AM

8
#893 - Tim Branyen / @tbranyen

02/18/2015 at 04:20AM

8
#894 - d1uckym d1uckym / @d1uckym

02/18/2015 at 08:08PM

8
#895 - Amer / @amerlyq

02/24/2015 at 03:23PM

8
#896 - Arturo Volpe / @CochoVolpe

02/25/2015 at 03:28AM

8
#897 - nope / @nope_gknobup

03/01/2015 at 10:23PM

8
#898 - Кисы / @ubermuschi

03/01/2015 at 11:44PM

8
#899 - Raja Sharan Mamidala / @rajasharan

03/02/2015 at 02:59AM

8
#900 - Yuan Guan / @yuanguan89

03/02/2015 at 04:57AM