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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
9
#1621 - Sergey Semushin / @Predelnik

08/25/2015 at 05:59AM

9
#1622 - Yaroslav Kanarev / @yarosurabu

09/08/2015 at 10:09AM

9
#1623 - Radoslav Ivanov / @rivanov1

09/15/2015 at 09:16PM

9
#1624 - Mark Clay / @dxftfdlz

10/03/2015 at 11:30PM

9
#1625 - Marcus Buffett / @MarcusBuffett

10/04/2015 at 09:14PM

9
#1626 - Sid Momin / @mominsid

10/08/2015 at 01:25AM

9
#1627 - Pin / @ponfelipon

10/08/2015 at 02:29PM

9
#1628 - Aryeh Kuller / @akuller23

10/14/2015 at 03:17PM

9
#1629 - Gerald Tilma / @GeraldTilma

10/17/2015 at 04:13AM

9
#1630 - John / @nynhle

10/24/2015 at 10:53PM

9
#1631 - Rene Tianco / @murlockslol

10/29/2015 at 12:30AM

9
#1632 - Roberto Gongora / @roberttt1005

10/29/2015 at 11:24PM

9
#1633 - Conor Ryan / @conorjryan

11/09/2015 at 07:16AM

9
#1634 - Marc Mims / @semifor

11/15/2015 at 03:51AM

9
#1635 - Phil Ting / @philipjting

11/15/2015 at 06:52AM

9
#1636 - Phill / @PhillipHermans

11/17/2015 at 10:05PM

9
#1637 - Nicolas Nistal / @niconistal

11/19/2015 at 08:22PM

9
#1638 - Johannes K / @JohannesK9

11/27/2015 at 12:26AM

9
#1639 - Wilmer Bandres / @WilmerBandres

12/01/2015 at 12:53PM

9
#1640 - Pedro Franceschi / @pedroh96

12/08/2015 at 07:15AM

9
#1641 - Jay Hack / @_jayhack_

12/11/2015 at 08:25PM

9
#1642 - manfred knapp / @fred_pooshka

12/13/2015 at 01:40PM

9
#1643 - Paulo H Baumann / @PauloBaumann

12/14/2015 at 03:28PM

9
#1644 - Christopher Wells / @ExcaliburZero_Z

12/19/2015 at 02:30PM

9
#1645 - retro / @tryphopp

12/22/2015 at 03:49AM

9
#1646 - Robert Clark / @rsclark2

12/31/2015 at 04:33PM

9
#1647 - Charles Reynolds / @reynoldscem

01/07/2016 at 07:55PM

9
#1648 - twenty2twoss / @twenty2twoss

01/11/2016 at 09:20PM

9
#1649 - Antoine Brunet / @AntoineBrunet

01/11/2016 at 09:27PM

9
#1650 - hammboning / @_PuttPirates_

01/13/2016 at 11:24PM