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

1486 active golfers, 3600 entries

Leaderboard (lowest score wins):
7
#151 - mark0829 / @mark0829

01/23/2015 at 02:11PM

7
#152 - Andrey / @andreyrmg

01/23/2015 at 02:36PM

7
#153 - Niels Kobsch├Ątzki / @niels_k

01/25/2015 at 08:15AM

7
#154 - )ouni|(antola / @jouni_kantola

01/29/2015 at 09:31PM

7
#155 - Rathrio / @Rathrio

01/30/2015 at 09:36PM

7
#156 - Nolic / @cNolic

02/02/2015 at 09:24PM

7
#157 - 0x255 / @0x255

02/08/2015 at 12:36PM

7
#158 - Ethan Chan / @metakirby5

02/12/2015 at 08:29AM

7
#159 - Strabs / @artistavenue

02/12/2015 at 10:17AM

7
#160 - Terence Hang / @technic_tec

02/13/2015 at 08:08AM

7
#161 - Naseem Al-Naji / @NaseemAlnaji

02/13/2015 at 11:31PM

7
#162 - Tournami / @Tournami

02/17/2015 at 11:41PM

7
#163 - esquifit / @henroboke

02/18/2015 at 06:35PM

7
#164 - Jon / @jreimels

02/20/2015 at 03:01PM

7
#165 - Laurent Stacul / @stac47

02/20/2015 at 04:29PM

7
#166 - Michael Giuffrida / @mgiuffrida

02/21/2015 at 09:51AM

7
#167 - Alan Berndt / @bentglasstube

02/23/2015 at 06:01PM

7
#168 - Felix / @DoubleFelix_

02/24/2015 at 11:28AM

7
#169 - octotep / @octotep

02/25/2015 at 02:57AM

7
#170 - James Pringle / @mathbyjames

02/27/2015 at 03:58PM

7
#171 - Darth Shuvalov / @shuvalov_anton

02/28/2015 at 11:02PM

7
#172 - Yannic Haupenthal / @yhaupenthal

03/01/2015 at 10:50AM

7
#173 - Andrew / @WK3AS

03/02/2015 at 12:54AM

7
#174 - Hugh G Rection / @RectionGHugh

03/02/2015 at 08:42PM

7
#175 - Matthew Pryor / @HodgekaGames

03/03/2015 at 10:35PM

7
#176 - markos rendell / @markosrendell

03/03/2015 at 10:39PM

7
#177 - DrHobo / @_DrHobo_

03/09/2015 at 11:11PM

7
#178 - Roger Spencer / @RojSpencer

03/12/2015 at 10:45PM

7
#179 - Bradley Garagan / @bradgaragan

03/18/2015 at 12:58PM

7
#180 - Walf / @walfieee

03/23/2015 at 09:16PM