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

1622 active golfers, 3983 entries

Leaderboard (lowest score wins):
7
#391 - Will / @obiwan__k3n00bi

07/29/2016 at 03:34AM

7
#392 - George Angelopoulos / @g_usermod

08/05/2016 at 08:53AM

7
#393 - Jens Schneider / @Thalion83

08/05/2016 at 03:29PM

7
#394 - Herbert S. / @herbertshlong

08/05/2016 at 10:55PM

7
#395 - Abdullah / @dada3mn

08/11/2016 at 04:52AM

7
#396 - William Robson / @wnrbs

08/11/2016 at 10:52PM

7
#397 - apan apansson / @apanapanssonapa

08/13/2016 at 03:44PM

7
#398 - Ivan De Dios / @IvantheDugtrio

08/22/2016 at 08:08PM

7
#399 - FUX [finest.hiphop] / @fuxfinest

09/01/2016 at 08:12AM

7
#400 - Stephen Aument / @saument

09/01/2016 at 10:03PM

7
#401 - jdupont655 / @jdupont655

09/02/2016 at 12:37AM

7
#402 - Martin Carel / @cawel

09/04/2016 at 05:30PM

7
#403 - loki2441 / @loki2441

09/05/2016 at 10:00PM

7
#404 - hor1ace / @hor3ace

09/07/2016 at 11:55PM

7
#405 - Mateusz / @Mantos77

09/08/2016 at 01:00PM

7
#406 - Constantine / @ConstantineHatz

09/16/2016 at 06:36PM

7
#407 - Rasmus / @SBareSSomErMig

09/16/2016 at 09:03PM

7
#408 - Anthony Ardito / @aardito21

09/26/2016 at 12:49AM

7
#409 - Nico / @_Nico_Caro

09/26/2016 at 05:40PM

7
#410 - Mikkel Knudsen / @mikk2168

09/28/2016 at 02:18AM

7
#411 - Netrisk Cool / @C00lt0

09/29/2016 at 09:47PM

7
#412 - manbogot / @gmanbor

10/02/2016 at 08:59AM

7
#413 - Inclusive Debates / @InclusiveDebate

10/05/2016 at 12:33AM

7
#414 - trx / @trxdbg

10/11/2016 at 06:45AM

7
#415 - Kyouma / @kyoumaJohn

10/12/2016 at 10:49PM

7
#416 - 류장근 / @hero77geni

10/16/2016 at 12:34PM

7
#417 - Nikos Kwlos / @Kwlos_Calling

10/16/2016 at 05:11PM

7
#418 - John Barbero Unenge / @JBarberU

10/19/2016 at 11:55AM

7
#419 - Bill Ruddock / @biinari

10/31/2016 at 01:57AM

7
#420 - KangHun Seo / @shirano80

10/31/2016 at 07:36AM