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

1747 active golfers, 4338 entries

Leaderboard (lowest score wins):
8
#991 - n / @d3m1gd

08/29/2015 at 03:49PM

8
#992 - Martin Delille / @martinodelilo

09/02/2015 at 01:20PM

8
#993 - Andrew Michaud / @andrewjmichaud

09/04/2015 at 07:56AM

8
#994 - François Connétable / @fco38

09/06/2015 at 08:10PM

8
#995 - Nicholas Marrone / @nickmarrone

09/07/2015 at 03:26PM

8
#996 - Slavisa Djukic / @ssdjuka

09/18/2015 at 10:54PM

8
#997 - Felix Maxwell / @felix_maxwell

09/27/2015 at 05:50AM

8
#998 - Sam Cristall / @sbcristall

09/28/2015 at 04:46PM

8
#999 - DavidF_BE / @DavidF_BE

09/29/2015 at 09:44AM

8
#1000 - Samuli Raivio / @bqqbarbhg

10/02/2015 at 01:38PM

8
#1001 - Ian Clark / @grappigpanda

10/02/2015 at 02:37PM

8
#1002 - Sean Hill / @insecteanSean

10/03/2015 at 05:08AM

8
#1003 - Ronnie McCall / @RonnieMcC

10/07/2015 at 01:14AM

8
#1004 - Smylers / @Smylers2

10/08/2015 at 06:30PM

8
#1005 - Dario Avitabile / @tutticapaci

10/08/2015 at 11:08PM

8
#1006 - Jonas Nockert / @lemonad

10/14/2015 at 02:05PM

8
#1007 - 朱国栋 / @GuodongZhu

10/15/2015 at 04:02AM

8
#1008 - g10181255 / @g10181255

10/15/2015 at 11:40AM

8
#1009 - Anshu Avinash / @anshu_avinash

10/17/2015 at 09:23PM

8
#1010 - roboguy / @roboguy

10/18/2015 at 08:59PM

8
#1011 - DespicableJerk / @JerkDespicable

10/20/2015 at 07:10AM

8
#1012 - merphant / @merphant

10/22/2015 at 07:16AM

8
#1013 - Roger / @enjoyheyo

10/23/2015 at 07:59PM

8
#1014 - NuM / @NuM314

10/24/2015 at 05:19AM

8
#1015 - Artur Taranchiev / @ewokru

10/25/2015 at 09:39AM

8
#1016 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 04:44PM

8
#1017 - Shobhit Gupta / @shobhitg

10/26/2015 at 09:04PM

8
#1018 - Patrick Mitchell / @jpmitche11

11/02/2015 at 08:54PM

8
#1019 - Bowen Deng / @DavidBdeng

11/06/2015 at 04:50AM

8
#1020 - Andy Loomis / @alumux

11/08/2015 at 06:13AM