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

1709 active golfers, 4250 entries

Leaderboard (lowest score wins):
8
#961 - Samir Sadek / @netsamir

07/19/2015 at 08:41AM

8
#962 - Dan Piponi / @sigfpe

07/22/2015 at 08:17PM

8
#963 - darookee / @darookee

07/24/2015 at 09:35AM

8
#964 - luchs / @lluchs

07/24/2015 at 01:26PM

8
#965 - McKay Ward / @mckayward

07/26/2015 at 01:58AM

8
#966 - Endre Galaczi / @galacziendre

07/26/2015 at 08:22PM

8
#967 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:53PM

8
#968 - Tim Vail / @timdvail

08/05/2015 at 12:03AM

8
#969 - るふぁ@ノンリニア3日目東R38b / @lpha_z

08/06/2015 at 02:14PM

8
#970 - aisapatino / @aisapatino

08/10/2015 at 05:27AM

8
#971 - ZeroKelvin Keyboard / @zkkeyboard

08/11/2015 at 07:55AM

8
#972 - Jaypal Singh / @JaypalSingh

08/18/2015 at 01:08AM

8
#973 - John Clara / @johnanthclara

08/20/2015 at 05:24AM

8
#974 - Paulo Romeira / @pauloromeira

08/24/2015 at 02:53AM

8
#975 - Mikael Saltzman / @MikaelSaltzman

08/24/2015 at 10:24PM

8
#976 - n / @d3m1gd

08/29/2015 at 03:49PM

8
#977 - Martin Delille / @martinodelilo

09/02/2015 at 01:20PM

8
#978 - Andrew Michaud / @andrewjmichaud

09/04/2015 at 07:56AM

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

09/06/2015 at 08:10PM

8
#980 - Nicholas Marrone / @nickmarrone

09/07/2015 at 03:26PM

8
#981 - Slavisa Djukic / @ssdjuka

09/18/2015 at 10:54PM

8
#982 - Felix Maxwell / @felix_maxwell

09/27/2015 at 05:50AM

8
#983 - Sam Cristall / @sbcristall

09/28/2015 at 04:46PM

8
#984 - DavidF_BE / @DavidF_BE

09/29/2015 at 09:44AM

8
#985 - Samuli Raivio / @bqqbarbhg

10/02/2015 at 01:38PM

8
#986 - Ian Clark / @grappigpanda

10/02/2015 at 02:37PM

8
#987 - Sean Hill / @insecteanSean

10/03/2015 at 05:08AM

8
#988 - Ronnie McCall / @RonnieMcC

10/07/2015 at 01:14AM

8
#989 - Smylers / @Smylers2

10/08/2015 at 06:30PM

8
#990 - Dario Avitabile / @tutticapaci

10/08/2015 at 11:08PM