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

1760 active golfers, 4374 entries

Leaderboard (lowest score wins):
9
#1501 - James Andy / @AndrewJamesIT

08/13/2015 at 11:56AM

9
#1502 - Christoph Leuzinger / @StanSStanman

08/14/2015 at 08:21PM

9
#1503 - Colin Ameigh / @CAmeigh

08/19/2015 at 09:15AM

9
#1504 - Dawid retkiewicz / @dawret

08/21/2015 at 11:21AM

9
#1505 - alex / @alexAngle8

08/22/2015 at 05:24AM

9
#1506 - Sergey Semushin / @Predelnik

08/25/2015 at 05:59AM

9
#1507 - Yaroslav Kanarev / @yarosurabu

09/08/2015 at 10:09AM

9
#1508 - Radoslav Ivanov / @rivanov1

09/15/2015 at 09:16PM

9
#1509 - Mark Clay / @dxftfdlz

10/03/2015 at 11:30PM

9
#1510 - Marcus Buffett / @MarcusBuffett

10/04/2015 at 09:14PM

9
#1511 - Sid Momin / @mominsid

10/08/2015 at 01:25AM

9
#1512 - Pin / @ponfelipon

10/08/2015 at 02:29PM

9
#1513 - Aryeh Kuller / @akuller23

10/14/2015 at 03:17PM

9
#1514 - Gerald Tilma / @GeraldTilma

10/17/2015 at 04:13AM

9
#1515 - John / @nynhle

10/24/2015 at 10:53PM

9
#1516 - Rene Tianco / @murlockslol

10/29/2015 at 12:30AM

9
#1517 - Roberto Gongora / @roberttt1005

10/29/2015 at 11:24PM

9
#1518 - Conor Ryan / @conorjryan

11/09/2015 at 07:16AM

9
#1519 - Marc Mims / @semifor

11/15/2015 at 03:51AM

9
#1520 - Phil Ting / @philipjting

11/15/2015 at 06:52AM

9
#1521 - Phill / @PhillipHermans

11/17/2015 at 10:05PM

9
#1522 - Nicolas Nistal / @niconistal

11/19/2015 at 08:22PM

9
#1523 - Johannes K / @JohannesK9

11/27/2015 at 12:26AM

9
#1524 - Wilmer Bandres / @WilmerBandres

12/01/2015 at 12:53PM

9
#1525 - Pedro Franceschi / @pedroh96

12/08/2015 at 07:15AM

9
#1526 - Jay Hack / @_jayhack_

12/11/2015 at 08:25PM

9
#1527 - manfred knapp / @fred_pooshka

12/13/2015 at 01:40PM

9
#1528 - Paulo H Baumann / @PauloBaumann

12/14/2015 at 03:28PM

9
#1529 - Christopher Wells / @ExcaliburZero_Z

12/19/2015 at 02:30PM

9
#1530 - retro / @tryphopp

12/22/2015 at 03:49AM