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

1656 active golfers, 4104 entries

Leaderboard (lowest score wins):
8
#751 - Rui Gra├ža / @rpgraca

08/24/2014 at 10:28AM

8
#752 - Alexey Permyakov / @AlexeyPermyakov

08/24/2014 at 11:15AM

8
#753 - glennphillips / @glennphillips

08/26/2014 at 02:55AM

8
#754 - Leonid K. / @AzorejK

08/26/2014 at 08:54AM

8
#755 - Victor Ramirez / @virako

08/26/2014 at 01:41PM

8
#756 - ollie, clown prince of the alt-right / @olzhu

08/27/2014 at 05:30AM

8
#757 - Mark Janssen / @MPCtje

08/27/2014 at 01:04PM

8
#758 - Vim Golfer / @thevimgolfer

08/30/2014 at 10:02AM

8
#759 - Weijun He / @hewjun

08/30/2014 at 05:44PM

8
#760 - brett / @brettyukich

08/31/2014 at 08:24PM

8
#761 - Adrian Bradd / @keepab

08/31/2014 at 11:47PM

8
#762 - Turzhad / @Turzhad

09/02/2014 at 05:57PM

8
#763 - JPL / @jplecaille

09/03/2014 at 10:15AM

8
#764 - Quota / @Quotad

09/03/2014 at 01:27PM

8
#765 - Dominic Nunes / @domi91c

09/06/2014 at 11:32PM

8
#766 - Mika Kutila / @mikakutila

09/08/2014 at 08:56AM

8
#767 - Michael Foley / @m1foley

09/08/2014 at 10:02AM

8
#768 - Kristof Vannotten / @kristofv

09/08/2014 at 10:03AM

8
#769 - kli6891 / @kli6891

09/08/2014 at 08:20PM

8
#770 - Enrico Carlesso / @carlesso

09/09/2014 at 12:20PM

8
#771 - mnx / @mnxx

09/10/2014 at 12:09PM

8
#772 - Tim Bodeit / @timbodeit

09/11/2014 at 02:31AM

8
#773 - mewEwExlad5 / @mewEwExlad5

09/11/2014 at 09:47PM

8
#774 - i5513 / @i5513

09/12/2014 at 10:10PM

8
#775 - Jeff / @just_geophree

09/13/2014 at 10:13PM

8
#776 - Mundi / @MarcusMundi

09/14/2014 at 02:40PM

8
#777 - Michael Wang / @micwang6

09/14/2014 at 07:11PM

8
#778 - JR Boyens / @jboyens

09/15/2014 at 05:29PM

8
#779 - Patrick Oscity / @der_padde

09/16/2014 at 02:54PM

8
#780 - Prasanna N / @SupertrampPras

09/19/2014 at 10:47AM