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

1642 active golfers, 4059 entries

Leaderboard (lowest score wins):
8
#691 - Ram Tamtam / @ramtamtamtam

07/31/2014 at 09:43AM

8
#692 - Pete Johns / @johnsyweb

07/31/2014 at 09:50AM

8
#693 - Lieven Keersmaekers / @LievenKeersmaek

07/31/2014 at 12:23PM

8
#694 - zealotrush / @zealotrush

07/31/2014 at 01:02PM

8
#695 - Ole Hansen / @0hansen

07/31/2014 at 01:36PM

8
#696 - David Wilkins / @davewilkins_oc

08/01/2014 at 05:27AM

8
#697 - Song, Youngjun / @Mastojun

08/01/2014 at 07:29AM

8
#698 - Zapata / @Incredible_JFP

08/01/2014 at 02:22PM

8
#699 - Felipe Jaramillo F / @mrfelipe

08/01/2014 at 05:12PM

8
#700 - w1zeman1p / @wizemanip

08/01/2014 at 06:53PM

8
#701 - Marco Biasini / @biasmv

08/01/2014 at 07:15PM

8
#702 - Slobodan Mišković / @slobomiskovic

08/01/2014 at 10:41PM

8
#703 - John DeWyze / @JohnDDeWyze

08/02/2014 at 03:50AM

8
#704 - Paul / @CygnusX1985

08/02/2014 at 09:08PM

8
#705 - Patrick Pitoscia / @Patrick03960431

08/03/2014 at 03:52AM

8
#706 - Omer Lachish / @rauchy

08/03/2014 at 01:13PM

8
#707 - Yariv / @yarivb

08/03/2014 at 01:20PM

8
#708 - Peter Strawson / @PeterStrawson

08/04/2014 at 12:49AM

8
#709 - Martijn / @martijnstorck

08/04/2014 at 05:18PM

8
#710 - Bambu / @bambumandinga

08/05/2014 at 02:20AM

8
#711 - Yaroslav Pogrebnyak / @yyyrgh

08/05/2014 at 09:21AM

8
#712 - Heath Patterson / @HeathPatterson

08/05/2014 at 12:40PM

8
#713 - PLS / @jaegd

08/06/2014 at 05:06AM

8
#714 - fa / @twiteciop

08/06/2014 at 03:35PM

8
#715 - Brian Peck / @bpeck614

08/06/2014 at 05:27PM

8
#716 - Jared Meyering / @Jmeyering

08/07/2014 at 07:04PM

8
#717 - Luca Pireddu / @ilveroluca

08/08/2014 at 05:08PM

8
#718 - Carlos López / @morrizon

08/09/2014 at 11:57AM

8
#719 - Dash / @DashJungle

08/09/2014 at 10:45PM

8
#720 - Pile of Goats / @Hillelogram

08/11/2014 at 02:25AM