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

1619 active golfers, 3973 entries

Leaderboard (lowest score wins):
8
#1141 - C / @bravekarma

10/15/2017 at 07:26AM

8
#1142 - Ron Alexssen / @Ralexhere

10/18/2017 at 04:30PM

8
#1143 - しぇぱっち / @shepabashi

10/22/2017 at 12:29AM

8
#1144 - Juuso Valkeejärvi / @jussovalk

11/10/2017 at 09:42PM

8
#1145 - Ad Infinitum / @Ad_Inifinitum

11/13/2017 at 06:45AM

8
#1146 - Bradley M. Small / @BradleySmall

11/14/2017 at 08:25PM

8
#1147 - nerdypage.com / @nerdypagedotcom

12/07/2017 at 01:59AM

8
#1148 - Михаил Сурин / @realssmike

12/17/2017 at 03:16AM

8
#1149 - Elias Åström / @ryvnfn

12/26/2017 at 06:28PM

8
#1150 - Spacesh1p / @spacesh1pdev

01/03/2018 at 11:58AM

8
#1151 - Joe Kerian / @kerian

01/05/2018 at 11:37PM

8
#1152 - gink / @anagiwa

01/09/2018 at 06:31AM

8
#1153 - John C Shea / @MHSSachems

01/14/2018 at 12:15PM

8
#1154 - SporadicLizard / @sporadiclizard

01/14/2018 at 08:14PM

8
#1155 - Jens Fahnenbruck / @jigfox

02/23/2018 at 07:38AM

8
#1156 - GreenPinguin / @GreenPinguin2

03/09/2018 at 12:53PM

8
#1157 - Austin Ware / @AustinWare17

03/12/2018 at 07:37PM

8
#1158 - Lisa Ugray / @lisa_ugray

03/13/2018 at 05:37PM

8
#1159 - Jonathan Eidsness / @jonathaneidsnes

03/18/2018 at 08:32PM

8
#1160 - Paul Draghicescu / @pdragy

03/22/2018 at 06:28AM

8
#1161 - platypusDancing / @platypusDancing

03/29/2018 at 04:39AM

8
#1162 - vimthrowaway / @vimgolf_throw

03/30/2018 at 09:50AM

8
#1163 - Takaaki Onishi / @takaaki024

03/31/2018 at 09:51AM

8
#1164 - Fichera Gaetano / @gaetanofic

04/11/2018 at 08:17AM

8
#1165 - A. Grimprel / @AGrimprel

04/29/2018 at 07:00PM

8
#1166 - Michael Topal / @h4ckt1c

05/02/2018 at 11:21AM

8
#1167 - Daniel Liu / @idanieliu

05/04/2018 at 04:31PM

8
#1168 - vimgolfdummy / @vimgolfdummy

05/05/2018 at 09:06PM

8
#1169 - mephory / @mephory

05/06/2018 at 05:31PM

8
#1170 - Sean Earle / @Hell_Rok

05/07/2018 at 05:31AM