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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
9
#1591 - Bucker Fuskyote / @MooglePower

07/12/2015 at 03:55AM

9
#1592 - Elite Hacker of the Light / @L3E7

07/13/2015 at 12:22AM

9
#1593 - Scott Traver / @ScottTraver

07/31/2015 at 06:48PM

9
#1594 - gyermolenko / @gyermolenko_

08/10/2015 at 09:34AM

9
#1595 - Blake Tereau / @BlakeTereau

08/11/2015 at 06:13PM

9
#1596 - James Andy / @AndrewJamesIT

08/13/2015 at 11:56AM

9
#1597 - Christoph Leuzinger / @StanSStanman

08/14/2015 at 08:21PM

9
#1598 - Colin Ameigh / @CAmeigh

08/19/2015 at 09:15AM

9
#1599 - Dawid retkiewicz / @dawret

08/21/2015 at 11:21AM

9
#1600 - alex / @alexAngle8

08/22/2015 at 05:24AM

9
#1601 - Sergey Semushin / @Predelnik

08/25/2015 at 05:59AM

9
#1602 - Yaroslav Kanarev / @yarosurabu

09/08/2015 at 10:09AM

9
#1603 - Radoslav Ivanov / @rivanov1

09/15/2015 at 09:16PM

9
#1604 - Mark Clay / @dxftfdlz

10/03/2015 at 11:30PM

9
#1605 - Marcus Buffett / @MarcusBuffett

10/04/2015 at 09:14PM

9
#1606 - Sid Momin / @mominsid

10/08/2015 at 01:25AM

9
#1607 - Pin / @ponfelipon

10/08/2015 at 02:29PM

9
#1608 - Aryeh Kuller / @akuller23

10/14/2015 at 03:17PM

9
#1609 - Gerald Tilma / @GeraldTilma

10/17/2015 at 04:13AM

9
#1610 - John / @nynhle

10/24/2015 at 10:53PM

9
#1611 - Rene Tianco / @murlockslol

10/29/2015 at 12:30AM

9
#1612 - Roberto Gongora / @roberttt1005

10/29/2015 at 11:24PM

9
#1613 - Conor Ryan / @conorjryan

11/09/2015 at 07:16AM

9
#1614 - Marc Mims / @semifor

11/15/2015 at 03:51AM

9
#1615 - Phil Ting / @philipjting

11/15/2015 at 06:52AM

9
#1616 - Phill / @PhillipHermans

11/17/2015 at 10:05PM

9
#1617 - Nicolas Nistal / @niconistal

11/19/2015 at 08:22PM

9
#1618 - Johannes K / @JohannesK9

11/27/2015 at 12:26AM

9
#1619 - Wilmer Bandres / @WilmerBandres

12/01/2015 at 12:53PM

9
#1620 - Pedro Franceschi / @pedroh96

12/08/2015 at 07:15AM