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
#1351 - əarth simulator / @eidoloncity

03/19/2019 at 04:22PM

8
#1352 - enji / @enji_ja

03/19/2019 at 04:46PM

8
#1353 - Parsa Amini / @ParsaAmini

03/20/2019 at 07:12PM

8
#1354 - Duke Du / @DukeDu2

04/03/2019 at 03:36AM

8
#1355 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 03:34AM

8
#1356 - Timothy Bryan / @tim_bryan

04/10/2019 at 03:38PM

8
#1357 - Branden Clark / @clarkb_cs

04/19/2019 at 06:33AM

8
#1358 - Gitsnik / @dracyrys

04/22/2019 at 11:37AM

8
#1359 - Adam Rajnoha / @krasohled

04/23/2019 at 01:11PM

8
#1360 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:55AM

8
#1361 - Nico W. / @AirlessAtmo

05/08/2019 at 01:20PM

8
#1362 - Arno / @arnoxmp

05/10/2019 at 03:12PM

8
#1363 - 2xRon / @2cdotRon

05/15/2019 at 03:43AM

8
#1364 - alexandrasou / @alexandrasou2

05/22/2019 at 01:45PM

8
#1365 - Edan Sneh / @edan_sneh

06/04/2019 at 07:52AM

8
#1366 - albalitz / @_albalitz

06/05/2019 at 08:46AM

8
#1367 - Graeme Smith / @InstaGraeme

06/07/2019 at 10:40AM

8
#1368 - Tyler Wilcock / @tylerwilcock

06/07/2019 at 04:12PM

8
#1369 - Thomas Hickman / @thomaskhickman

06/08/2019 at 12:37PM

8
#1370 - JonasS / @jonas42s

06/08/2019 at 02:55PM

8
#1371 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 02:24PM

8
#1372 - Johannes / @joka253

06/20/2019 at 04:13PM

8
#1373 - Chester Yap / @Chest_ErYap

07/07/2019 at 04:39AM

8
#1374 - Peter Demin / @peterdemin

07/11/2019 at 06:36PM

8
#1375 - Floyd Gantt / @fgantt

07/12/2019 at 08:37PM

8
#1376 - Crystal L / @Cartsly

07/13/2019 at 10:01PM

8
#1377 - Neil Struthers / @struthersneil

07/16/2019 at 02:29PM

8
#1378 - Marcus Loo / @MarcusLoo1

07/17/2019 at 11:34PM

8
#1379 - bpseudopod / @bpseudopod

07/18/2019 at 05:43PM

8
#1380 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:17AM