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

1522 active golfers, 3693 entries

Leaderboard (lowest score wins):
7
#481 - James Houghton / @jamesthoughton

05/05/2017 at 06:17PM

7
#482 - Jerry Wu / @AzureSpectra

05/05/2017 at 06:17PM

7
#483 - Remus Dalrymple / @bornintheflames

05/06/2017 at 11:28PM

7
#484 - Codingpotato / @codingpotato

05/07/2017 at 09:47AM

7
#485 - Clement Keirua / @clemkeirua

05/07/2017 at 01:19PM

7
#486 - Jenny Johnson / @Kippz07

05/11/2017 at 11:42AM

7
#487 - Wang Wu / @rubepeg

05/11/2017 at 01:45PM

7
#488 - Matt Cook / @mattcook08

05/12/2017 at 06:45AM

7
#489 - jakeroberts / @jakeroberts

05/20/2017 at 02:59PM

7
#490 - Melvin Cheung / @MelvinCheung

05/23/2017 at 03:24PM

7
#491 - BlackCap / @BlackCapCoder

05/24/2017 at 06:58PM

7
#492 - Karl Hepler / @oldtimeguitar

05/25/2017 at 06:11PM

7
#493 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/26/2017 at 11:32AM

7
#494 - Lukas Galke / @_lpag

05/31/2017 at 09:51PM

7
#495 - David Gustavsson / @mrGustaphe

06/09/2017 at 11:43AM

7
#496 - j00b00 / @j00b00

06/15/2017 at 01:16AM

7
#497 - kkh / @kkhdlut

06/15/2017 at 03:21PM

7
#498 - moritz / @moritz45081535

06/18/2017 at 03:35PM

7
#499 - ~ben / @nebsirrah

06/20/2017 at 04:53PM

7
#500 - Joel Meyer-Hamme / @JoelMeyerHamme

06/21/2017 at 01:23PM

7
#501 - Bennett Bernardoni / @BBernardoni

06/28/2017 at 08:38PM

7
#502 - Ryan Coopersmith / @RyanCoopersmit1

07/10/2017 at 11:34PM

7
#503 - huho / @huho_xu

08/04/2017 at 06:35PM

7
#504 - Plop plop / @plopplopplop6

08/07/2017 at 09:24PM

7
#505 - quiggy🌹 / @quiggy

08/10/2017 at 06:16PM

7
#506 - 杨洋 / @176795444

08/13/2017 at 09:33AM

7
#507 - Baine Wedlock / @BaineWedlock

08/13/2017 at 01:39PM

7
#508 - Terry Ding / @TerryDing77

08/24/2017 at 10:35AM

7
#509 - Bhatta Sushmith / @bsushmith

08/25/2017 at 09:04PM

7
#510 - aselaIllayaparachchi / @asela38

08/26/2017 at 02:51PM