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

1612 active golfers, 3954 entries

Leaderboard (lowest score wins):
8
#721 - marcelo jacobus / @marcelo_jacobus

08/15/2014 at 09:52PM

8
#722 - Nubes / @shanshuiluren

08/17/2014 at 09:36AM

8
#723 - Allen Li / @thenightawl

08/18/2014 at 10:09AM

8
#724 - Florian Lücke / @CannibalGorilla

08/18/2014 at 05:57PM

8
#725 - Tj / @yrddy

08/19/2014 at 02:08AM

8
#726 - Miles Edland / @ShutUpMiles

08/19/2014 at 02:44AM

8
#727 - Dmitriy / @_dpy_

08/19/2014 at 01:17PM

8
#728 - Fnord Everywhere / @FnordE

08/20/2014 at 08:01AM

8
#729 - Enikő Nagy / @Nniko_

08/20/2014 at 12:20PM

8
#730 - Adv_Zxy / @adv_zxy

08/22/2014 at 06:11AM

8
#731 - Vim Golfer / @golfing_vim

08/23/2014 at 12:30PM

8
#732 - wfdctrl / @wfdctrl

08/23/2014 at 09:49PM

8
#733 - Oliver Christ / @0liverChrist

08/23/2014 at 10:31PM

8
#734 - Rui Graça / @rpgraca

08/24/2014 at 10:28AM

8
#735 - Alexey Permyakov / @AlexeyPermyakov

08/24/2014 at 11:15AM

8
#736 - glennphillips / @glennphillips

08/26/2014 at 02:55AM

8
#737 - Leonid K. / @AzorejK

08/26/2014 at 08:54AM

8
#738 - Victor Ramirez / @virako

08/26/2014 at 01:41PM

8
#739 - olzhu / @olzhu

08/27/2014 at 05:30AM

8
#740 - Mark Janssen / @MPCtje

08/27/2014 at 01:04PM

8
#741 - Vim Golfer / @thevimgolfer

08/30/2014 at 10:02AM

8
#742 - Weijun He / @hewjun

08/30/2014 at 05:44PM

8
#743 - brett / @brettyukich

08/31/2014 at 08:24PM

8
#744 - Adrian Bradd / @keepab

08/31/2014 at 11:47PM

8
#745 - Turzhad / @Turzhad

09/02/2014 at 05:57PM

8
#746 - JPL / @jplecaille

09/03/2014 at 10:15AM

8
#747 - Quota / @Quotad

09/03/2014 at 01:27PM

8
#748 - Dominic Nunes / @domi91c

09/06/2014 at 11:32PM

8
#749 - Mika Kutila / @mikakutila

09/08/2014 at 08:56AM

8
#750 - Michael Foley / @m1foley

09/08/2014 at 10:02AM