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

1592 active golfers, 3903 entries

Leaderboard (lowest score wins):
7
#511 - Darren Weston / @dazWestonUK

08/29/2017 at 04:01PM

7
#512 - Philippe Brouillard / @_kurowasan

09/21/2017 at 07:09PM

7
#513 - Richard Veneracion / @rveneracion

09/25/2017 at 03:38AM

7
#514 - Test / @goodbyetest1248

09/27/2017 at 09:15PM

7
#515 - Charlie OConor / @charlieoconor

09/29/2017 at 06:14AM

7
#516 - tanguyGerome / @TanguyGerome

10/03/2017 at 08:57AM

7
#517 - Stephen Watkin / @stephen_watkin

10/06/2017 at 04:16PM

7
#518 - Le Lycal / @LeLycal

10/07/2017 at 08:56AM

7
#519 - Daniel Ting / @dting0104

10/29/2017 at 01:20PM

7
#520 - r8923vqnu89wcnar / @r8923vqnu89wcn1

10/31/2017 at 04:21PM

7
#521 - Florian Kluck / @KluckF

11/05/2017 at 07:47PM

7
#522 - Chris Atanasian / @ChrisAtanasian

11/07/2017 at 11:35PM

7
#523 - Turkey Man / @lvturkeyman

11/08/2017 at 08:39AM

7
#524 - Adam Silkey / @Dooflegna

11/10/2017 at 10:05PM

7
#525 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:43AM

7
#526 - Piotr Dołowy / @owy_do

11/14/2017 at 01:55PM

7
#527 - Wolly Woodpecker / @WollyWoodpecker

11/19/2017 at 07:42PM

7
#528 - BareTull / @BareTull3

12/07/2017 at 06:59AM

7
#529 - Henrique Malheiro / @rike09

12/10/2017 at 10:48AM

7
#530 - Rodrigo Munoz / @pixelfuture

12/13/2017 at 06:29AM

7
#531 - Michael Yeh / @hinet60613

12/20/2017 at 12:46PM

7
#532 - Sage san / @sagesancast

12/20/2017 at 05:04PM

7
#533 - Dominic Z / @thammaaa

12/20/2017 at 08:16PM

7
#534 - Ahmed Hasan / @microbialwalrus

12/23/2017 at 04:17AM

7
#535 - Oskar Norman / @Norman0

12/23/2017 at 09:42AM

7
#536 - Luke Parsons / @lukeparsons

12/29/2017 at 08:05AM

7
#537 - maks kamnikar / @maks_kamnikar

01/08/2018 at 02:40PM

7
#538 - ParasamGateZero / @ParasamGateZero

01/19/2018 at 08:06AM

7
#539 - c0llision / @sh3llcode

01/26/2018 at 12:16PM

7
#540 - Oskar Fridell / @rax0m

02/02/2018 at 03:28PM