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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
8
#1261 - Bradley M. Small / @BradleySmall

11/14/2017 at 08:25PM

8
#1262 - nerdypage.com / @nerdypagedotcom

12/07/2017 at 01:59AM

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

12/17/2017 at 03:16AM

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

12/26/2017 at 06:28PM

8
#1265 - Spacesh1p / @spacesh1pdev

01/03/2018 at 11:58AM

8
#1266 - Joe Kerian / @kerian

01/05/2018 at 11:37PM

8
#1267 - gink / @anagiwa

01/09/2018 at 06:31AM

8
#1268 - John C Shea / @MHSSachems

01/14/2018 at 12:15PM

8
#1269 - SporadicLizard / @sporadiclizard

01/14/2018 at 08:14PM

8
#1270 - Jens / @jigfox

02/23/2018 at 07:38AM

8
#1271 - GreenPinguin / @GreenPinguin2

03/09/2018 at 12:53PM

8
#1272 - Austin Ware / @AustinWare17

03/12/2018 at 07:37PM

8
#1273 - Lisa Ugray / @lisa_ugray

03/13/2018 at 05:37PM

8
#1274 - Jonathan Eidsness / @jonathaneidsnes

03/18/2018 at 08:32PM

8
#1275 - Paul Draghicescu / @pdragy

03/22/2018 at 06:28AM

8
#1276 - platypusDancing / @platypusDancing

03/29/2018 at 04:39AM

8
#1277 - vimthrowaway / @vimgolf_throw

03/30/2018 at 09:50AM

8
#1278 - Takaaki Onishi / @takaaki024

03/31/2018 at 09:51AM

8
#1279 - Fichera Gaetano / @gaetanofic

04/11/2018 at 08:17AM

8
#1280 - A. Grimprel / @AGrimprel

04/29/2018 at 07:00PM

8
#1281 - Michael Topal / @h4ckt1c

05/02/2018 at 11:21AM

8
#1282 - Daniel Liu / @idanieliu

05/04/2018 at 04:31PM

8
#1283 - vimgolfdummy / @vimgolfdummy

05/05/2018 at 09:06PM

8
#1284 - mephory / @mephory

05/06/2018 at 05:31PM

8
#1285 - Sean Earle / @Hell_Rok

05/07/2018 at 05:31AM

8
#1286 - Nathanael / @ngsilverman

05/09/2018 at 04:14AM

8
#1287 - Moritz Manner / @moritz_manner

05/11/2018 at 12:19PM

8
#1288 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 02:21PM

8
#1289 - Cosmic Frog / @Cozmicfrog

05/25/2018 at 01:58PM

8
#1290 - Plexigras / @plexigras

06/03/2018 at 03:29PM