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

1864 active golfers, 4651 entries

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

03/04/2019 at 01:38AM

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

03/04/2019 at 09:13AM

7
#633 - Saphire Lattice / @SaphireLattice

03/06/2019 at 07:05AM

7
#634 - longB / @longB77353628

03/19/2019 at 06:00AM

7
#635 - Emil Braserud / @Erdustiggen

03/22/2019 at 02:36PM

7
#636 - Raul / @Raul50174499

03/31/2019 at 03:18AM

7
#637 - gtgtgt02 / @gtgtgt02

04/01/2019 at 11:47AM

7
#638 - Dryvnt / @Dryvnt

04/04/2019 at 01:12PM

7
#639 - David Accomazzo / @WordsofDefiance

04/11/2019 at 10:41PM

7
#640 - Laurent Atlan / @laurentatlan1

04/13/2019 at 11:56PM

7
#641 - james_bunch / @james_bunch

04/14/2019 at 08:25PM

7
#642 - alekfed / @alek_fed

04/15/2019 at 06:58AM

7
#643 - Rand Omperson / @197258444

04/17/2019 at 09:43PM

7
#644 - Mark Stillwell / @marklee77

04/19/2019 at 09:05AM

7
#645 - Herman Stavelin / @HsBruker

04/24/2019 at 08:18PM

7
#646 - Grant / @grant_7788

04/28/2019 at 12:57PM

7
#647 - Sherab Giovannini / @shaddycls

05/02/2019 at 10:24PM

7
#648 - eric huang / @EricGodhand4826

05/05/2019 at 06:35AM

7
#649 - Kai.Li / @KaiLi19

05/06/2019 at 03:51PM

7
#650 - chihiro / @chihiro0940

05/09/2019 at 02:13PM

7
#651 - throw away / @f44lyf

05/28/2019 at 10:50PM

7
#652 - TheJoblessGuyTalks / @the_jgt

05/29/2019 at 10:06AM

7
#653 - Fiffy / @sr21486642

06/03/2019 at 07:29AM

7
#654 - deHman89 / @danho89

06/03/2019 at 12:50PM

7
#655 - mkaminaga / @mkmng3

06/08/2019 at 04:34AM

7
#656 - Hugo Tai / @HugoTai100

06/11/2019 at 05:44AM

7
#657 - Seunghun Lee / @earlbread

06/12/2019 at 03:59PM

7
#658 - Hans Aschenloher / @aschenloher

06/12/2019 at 06:58PM

7
#659 - Simon Zeng / @KronicMan

06/15/2019 at 05:14PM

7
#660 - majo senf / @majo_senf

06/17/2019 at 08:46AM