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

1671 active golfers, 4150 entries

Leaderboard (lowest score wins):
9
#1441 - Marcus Buffett / @MarcusBuffett

10/04/2015 at 09:14PM

9
#1442 - Sid Momin / @mominsid

10/08/2015 at 01:25AM

9
#1443 - Pin / @ponfelipon

10/08/2015 at 02:29PM

9
#1444 - Aryeh Kuller / @akuller23

10/14/2015 at 03:17PM

9
#1445 - Gerald Tilma / @GeraldTilma

10/17/2015 at 04:13AM

9
#1446 - John / @nynhle

10/24/2015 at 10:53PM

9
#1447 - Rene Tianco / @murlockslol

10/29/2015 at 12:30AM

9
#1448 - Roberto Gongora / @roberttt1005

10/29/2015 at 11:24PM

9
#1449 - Conor Ryan / @conorjryan

11/09/2015 at 07:16AM

9
#1450 - Marc Mims / @semifor

11/15/2015 at 03:51AM

9
#1451 - Phil Ting / @philipjting

11/15/2015 at 06:52AM

9
#1452 - Phill / @PhillipHermans

11/17/2015 at 10:05PM

9
#1453 - Nicolas Nistal / @niconistal

11/19/2015 at 08:22PM

9
#1454 - Johannes K / @JohannesK9

11/27/2015 at 12:26AM

9
#1455 - Wilmer Bandres / @WilmerBandres

12/01/2015 at 12:53PM

9
#1456 - Pedro Franceschi / @pedroh96

12/08/2015 at 07:15AM

9
#1457 - Jay Hack / @_jayhack_

12/11/2015 at 08:25PM

9
#1458 - manfred knapp / @fred_pooshka

12/13/2015 at 01:40PM

9
#1459 - Paulo H Baumann / @PauloBaumann

12/14/2015 at 03:28PM

9
#1460 - Christopher Wells / @ExcaliburZero_Z

12/19/2015 at 02:30PM

9
#1461 - retro / @tryphopp

12/22/2015 at 03:49AM

9
#1462 - Robert Clark / @rsclark2

12/31/2015 at 04:33PM

9
#1463 - Charles Reynolds / @reynoldscem

01/07/2016 at 07:55PM

9
#1464 - twenty2twoss / @twenty2twoss

01/11/2016 at 09:20PM

9
#1465 - Antoine Brunet / @AntoineBrunet

01/11/2016 at 09:27PM

9
#1466 - hammboning / @_PuttPirates_

01/13/2016 at 11:24PM

9
#1467 - TS / @tiredsounds

01/27/2016 at 05:02AM

9
#1468 - Etienne Tremel / @etiennetremel

02/06/2016 at 02:55PM

9
#1469 - Pratap Koritala / @pratap_koritala

02/19/2016 at 07:20AM

9
#1470 - Craig Hills / @chills42

03/05/2016 at 02:22AM