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

1487 active golfers, 3601 entries

Leaderboard (lowest score wins):
7
#91 - AlKhail Mustafa / @vishmg

09/21/2014 at 08:23PM

7
#92 - Jakob / @jajob

09/28/2014 at 11:14AM

7
#93 - Wandering ponderer / @0proxycon

09/28/2014 at 11:58AM

7
#94 - Jeff Wu / @WuTheFWasThat

09/30/2014 at 05:06AM

7
#95 - Pierre Stévens / @pierre_stv

10/01/2014 at 09:14AM

7
#96 - Chris Trotman / @solarnz

10/06/2014 at 01:36AM

7
#97 - Gromina / @Gromina

10/06/2014 at 07:45AM

7
#98 - Ben Moon / @GuiltyDolphin

10/06/2014 at 07:47PM

7
#99 - Daniel Pham / @dany_pham

10/11/2014 at 04:12PM

7
#100 - Nicholas Lee-Hone / @NicholasLeeHone

10/13/2014 at 05:34PM

7
#101 - Hanakun. / @akunohanaKUN

10/16/2014 at 12:45PM

7
#102 - Poigal Nitish / @poigalnitish

10/17/2014 at 11:38AM

7
#103 - Andreas Simon / @ndrssmn

10/19/2014 at 10:19AM

7
#104 - Denis Redozubov / @rufuse

10/27/2014 at 10:34AM

7
#105 - Pulkit Data / @DataPulkit

10/30/2014 at 08:37PM

7
#106 - Edgar Hipp / @EdgarHipp

11/02/2014 at 05:35PM

7
#107 - Scott Myц / @ScottMuc

11/07/2014 at 01:00PM

7
#108 - Éric Calvayrac / @xarmux2

11/07/2014 at 11:24PM

7
#109 - Collin Richards / @MrBallinCollin

11/09/2014 at 09:37AM

7
#110 - BurntBrainSoup / @BurntBrainSoup

11/11/2014 at 10:52PM

7
#111 - Timothée Gauthier / @zmf_tim

11/13/2014 at 12:38PM

7
#112 - M T / @bahkyp

11/15/2014 at 01:05AM

7
#113 - John Smith / @temp_soraismus

11/18/2014 at 06:05AM

7
#114 - Lachlan Easton / @LBEaston

11/19/2014 at 10:30AM

7
#115 - Vladyslav Marsikov / @gagabogolo

11/24/2014 at 03:23PM

7
#116 - Glauco Pires / @grpires

11/24/2014 at 11:23PM

7
#117 - aborilov / @aborilov

11/25/2014 at 11:47AM

7
#118 - Vincent Dumoulin / @dumoulinv

11/26/2014 at 02:35AM

7
#119 - zmo / @guyzmo

11/26/2014 at 08:58AM

7
#120 - David Barker / @dashleybarker

12/02/2014 at 02:07PM