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

1897 active golfers, 4813 entries

Leaderboard (lowest score wins):
7
#181 - Deni ForGames / @DeniDeniskin

03/25/2015 at 08:09PM

7
#182 - Mickael Le Gal / @mickaellegal

03/25/2015 at 08:54PM

7
#183 - Louis Caruana / @louiecaruana

03/27/2015 at 02:53AM

7
#184 - Garrett Smith / @garrettwhsmith

03/28/2015 at 04:26PM

7
#185 - Alexander Kazakov / @volandkot

03/29/2015 at 11:34AM

7
#186 - Alice Benign / @AliceBenign

03/29/2015 at 01:28PM

7
#187 - You Mustnotknow / @y8hVz6fJdm6Lt5q

04/03/2015 at 06:26PM

7
#188 - Benny Wong / @bdotdub

04/07/2015 at 02:23PM

7
#189 - Evan Coleman / @edc1591

04/07/2015 at 02:27PM

7
#190 - Raj / @brshenoy

04/07/2015 at 02:53PM

7
#191 - Sigurður Ægir Jónsso / @siggiae

04/09/2015 at 08:30AM

7
#192 - Lieuwe Rooijakkers / @LieuweR

04/11/2015 at 06:03PM

7
#193 - Bradley Hardy / @bradleyishardy

04/12/2015 at 03:03PM

7
#194 - Joshua Simmons / @MmnJoshua

04/16/2015 at 03:58AM

7
#195 - Adam Lewis / @thomas_aquinas

04/16/2015 at 07:53PM

7
#196 - we’re going to need a bigger bot / @assaflavie

04/17/2015 at 06:56AM

7
#197 - Charles Joachim / @cacplate

04/18/2015 at 12:56AM

7
#198 - Amar Battulga / @amar_battulga

04/18/2015 at 03:26PM

7
#199 - nulusr / @nulusr

04/21/2015 at 11:01AM

7
#200 - Johannes Elferich / @jojoelfe

04/25/2015 at 05:41AM

7
#201 - diziet.sma / @diziet__sma

05/05/2015 at 12:32AM

7
#202 - Alex Bartol / @alexbartol

05/07/2015 at 07:22PM

7
#203 - Spy / @thatspysaspy

05/13/2015 at 08:47PM

7
#204 - danweaver / @danweaver

05/14/2015 at 06:10AM

7
#205 - Austin Anderson / @ProtractorNinja

05/21/2015 at 01:13PM

7
#206 - Stephen Drodge / @sjdrodge

05/21/2015 at 07:01PM

7
#207 - David Cao / @pciex3

05/22/2015 at 03:04AM

7
#208 - Котов Роман / @Oxaide16

05/22/2015 at 11:29AM

7
#209 - Clark DuVall / @theclarkatron

05/23/2015 at 04:51AM

7
#210 - Joel Gallant / @joelg236

05/26/2015 at 04:05AM