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

1898 active golfers, 4818 entries

Leaderboard (lowest score wins):
7
#511 - Philippe Brouillard / @_kurowasan

09/21/2017 at 07:09PM

7
#512 - Richard Veneracion / @rveneracion

09/25/2017 at 03:38AM

7
#513 - Test / @goodbyetest1248

09/27/2017 at 09:15PM

7
#514 - Charlie OConor / @charlieoconor

09/29/2017 at 06:14AM

7
#515 - tanguyGerome / @TanguyGerome

10/03/2017 at 08:57AM

7
#516 - Stephen Watkin / @stephen_watkin

10/06/2017 at 04:16PM

7
#517 - Le Lycal / @LeLycal

10/07/2017 at 08:56AM

7
#518 - Daniel Ting / @dting0104

10/29/2017 at 01:20PM

7
#519 - r8923vqnu89wcnar / @r8923vqnu89wcn1

10/31/2017 at 04:21PM

7
#520 - Florian Kluck / @KluckF

11/05/2017 at 07:47PM

7
#521 - Chris Atanasian / @ChrisAtanasian

11/07/2017 at 11:35PM

7
#522 - Turkey Man / @lvturkeyman

11/08/2017 at 08:39AM

7
#523 - Adam Silkey / @Dooflegna

11/10/2017 at 10:05PM

7
#524 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 07:43AM

7
#525 - Piotr Dołowy / @owy_do

11/14/2017 at 01:55PM

7
#526 - Wolly Woodpecker / @WollyWoodpecker

11/19/2017 at 07:42PM

7
#527 - BareTull / @BareTull3

12/07/2017 at 06:59AM

7
#528 - Henrique Malheiro / @rike09

12/10/2017 at 10:48AM

7
#529 - Rodrigo Munoz / @pixelfuture

12/13/2017 at 06:29AM

7
#530 - Michael Yeh / @hinet60613

12/20/2017 at 12:46PM

7
#531 - Sage san / @sagesancast

12/20/2017 at 05:04PM

7
#532 - Dominic Z / @thammaaa

12/20/2017 at 08:16PM

7
#533 - Ahmed Hasan / @ahmedrhasan

12/23/2017 at 04:17AM

7
#534 - Oskar Norman / @Norman0

12/23/2017 at 09:42AM

7
#535 - Luke Parsons / @lukeparsons

12/29/2017 at 08:05AM

7
#536 - maks kamnikar / @maks_kamnikar

01/08/2018 at 02:40PM

7
#537 - ParasamGateZero / @ParasamGateZero

01/19/2018 at 08:06AM

7
#538 - c0llision / @sh3llcode

01/26/2018 at 12:16PM

7
#539 - Oskar Fridell / @rax0m

02/02/2018 at 03:28PM

7
#540 - Romain D. / @r_dulery

02/06/2018 at 07:29PM