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

1612 active golfers, 3954 entries

Leaderboard (lowest score wins):
7
#631 - noisevoid / @noisevoid

02/26/2019 at 09:32PM

7
#632 - Daniel Steinberg / @dstein64

03/04/2019 at 01:38AM

7
#633 - JT-Development.com / @JT_Development

03/04/2019 at 09:13AM

7
#634 - Saphire Lattice / @SaphireLattice

03/06/2019 at 07:05AM

7
#635 - longB / @longB77353628

03/19/2019 at 06:00AM

7
#636 - Emil Braserud / @Erdustiggen

03/22/2019 at 02:36PM

7
#637 - Raul / @Raul50174499

03/31/2019 at 03:18AM

7
#638 - gtgtgt02 / @gtgtgt02

04/01/2019 at 11:47AM

7
#639 - Dryvnt / @Dryvnt

04/04/2019 at 01:12PM

7
#640 - David Accomazzo / @WordsofDefiance

04/11/2019 at 10:41PM

7
#641 - Laurent Atlan / @laurentatlan1

04/13/2019 at 11:56PM

7
#642 - james_bunch / @james_bunch

04/14/2019 at 08:25PM

7
#643 - alekfed / @alek_fed

04/15/2019 at 06:58AM

7
#644 - Rand Omperson / @197258444

04/17/2019 at 09:43PM

7
#645 - Mark Stillwell / @marklee77

04/19/2019 at 09:05AM

7
#646 - Herman Stavelin / @HsBruker

04/24/2019 at 08:18PM

7
#647 - Grant / @grant_7788

04/28/2019 at 12:57PM

7
#648 - Sherab Giovannini / @shaddycls

05/02/2019 at 10:24PM

7
#649 - eric huang / @EricGodhand4826

05/05/2019 at 06:35AM

7
#650 - Kai.Li / @KaiLi19

05/06/2019 at 03:51PM

7
#651 - chihiro / @chihiro0940

05/09/2019 at 02:13PM

7
#652 - throw away / @f44lyf

05/28/2019 at 10:50PM

7
#653 - TheJoblessGuyTalks / @the_jgt

05/29/2019 at 10:06AM

7
#654 - Fiffy / @sr21486642

06/03/2019 at 07:29AM

7
#655 - deHman89 / @danho89

06/03/2019 at 12:50PM

7
#656 - mkaminaga / @mkmng3

06/08/2019 at 04:34AM

7
#657 - Hugo Tai / @HugoTai100

06/11/2019 at 05:44AM

7
#658 - Seunghun Lee / @earlbread

06/12/2019 at 03:59PM

7
#659 - Hans Aschenloher / @aschenloher

06/12/2019 at 06:58PM

7
#660 - Simon Zeng / @KronicMan

06/15/2019 at 05:14PM