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

1674 active golfers, 4155 entries

Leaderboard (lowest score wins):
9
#1411 - Brian Olpin / @bolpin

04/13/2015 at 07:29AM

9
#1412 - Kevin Ilphrin Pellet / @Kilphrin

04/15/2015 at 01:30PM

9
#1413 - Pratik R / @pringshia

04/20/2015 at 08:30PM

9
#1414 - Thomas / @moatra

04/21/2015 at 04:26AM

9
#1415 - Cosmin Banu / @cosminb82

05/07/2015 at 09:35PM

9
#1416 - smokemachine / @smokemachine

05/11/2015 at 11:11PM

9
#1417 - Clément / @clement_frndz

05/24/2015 at 03:22PM

9
#1418 - Ammar Najjar / @ammarnajjar

05/26/2015 at 12:19PM

9
#1419 - mat / @matgeist

05/27/2015 at 05:20PM

9
#1420 - luffy / @raxcoi

05/27/2015 at 08:59PM

9
#1421 - lechariotdor / @lechariotdor

05/28/2015 at 11:27PM

9
#1422 - eric roberts / @baileyeock

05/29/2015 at 01:34AM

9
#1423 - Edgard Leal / @EdgardLeal

06/03/2015 at 09:15PM

9
#1424 - Maxime / @Maxime_VII

06/23/2015 at 02:12PM

9
#1425 - Michael D Jones / @biotechjones

06/24/2015 at 07:06PM

9
#1426 - Cosme Buxin / @cosme_buxin

06/27/2015 at 08:31PM

9
#1427 - Shizukesa / @Shizukesa

07/06/2015 at 10:32PM

9
#1428 - Lindsay Swift / @_lindsai_

07/07/2015 at 01:31AM

9
#1429 - Bucker Fuskyote / @MooglePower

07/12/2015 at 03:55AM

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

07/13/2015 at 12:22AM

9
#1431 - Scott Traver / @ScottTraver

07/31/2015 at 06:48PM

9
#1432 - gyermolenko / @gyermolenko_

08/10/2015 at 09:34AM

9
#1433 - Blake Tereau / @BlakeTereau

08/11/2015 at 06:13PM

9
#1434 - James Andy / @AndrewJamesIT

08/13/2015 at 11:56AM

9
#1435 - Christoph Leuzinger / @StanSStanman

08/14/2015 at 08:21PM

9
#1436 - Colin Ameigh / @CAmeigh

08/19/2015 at 09:15AM

9
#1437 - Dawid retkiewicz / @dawret

08/21/2015 at 11:21AM

9
#1438 - alex / @alexAngle8

08/22/2015 at 05:24AM

9
#1439 - Sergey Semushin / @Predelnik

08/25/2015 at 05:59AM

9
#1440 - Yaroslav Kanarev / @yarosurabu

09/08/2015 at 10:09AM