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

1592 active golfers, 3903 entries

Leaderboard (lowest score wins):
7
#571 - Chris / @143Pi

07/15/2018 at 11:49AM

7
#572 - Francesco Sacchi / @depsir

07/17/2018 at 04:57PM

7
#573 - cliffroared / @cliffroared

07/17/2018 at 09:08PM

7
#574 - qed / @qed13308565

07/24/2018 at 06:34PM

7
#575 - Andrew Peterson / @FungalRaincloud

07/29/2018 at 09:34PM

7
#576 - fucus / @fishlovebanana

08/02/2018 at 08:41AM

7
#577 - Jacky Lee / @grenmester

08/07/2018 at 06:10AM

7
#578 - Nursan / @Nursan73316482

08/07/2018 at 06:57PM

7
#579 - fsj / @FrogzSJ

08/12/2018 at 08:39AM

7
#580 - Charles Sun / @charles_sun90

08/15/2018 at 02:35PM

7
#581 - Hugo / @szeyattai

08/17/2018 at 07:52AM

7
#582 - Brandon Emery Craig / @iambcraig

08/17/2018 at 07:51PM

7
#583 - ʎɐɹ / @staticjak

08/17/2018 at 07:53PM

7
#584 - 王韋勝 / @wilson85071

08/19/2018 at 05:11PM

7
#585 - bluemartian / @bluemartianz59

08/19/2018 at 10:43PM

7
#586 - David Findley / @thefindley

09/07/2018 at 03:24AM

7
#587 - Jeff / @sir_wiggles3

09/08/2018 at 02:39AM

7
#588 - Ezekiel Vladimir / @EzekielVladimir

09/12/2018 at 06:42AM

7
#589 - Robin De Mol / @RobinDeMol

09/14/2018 at 08:52AM

7
#590 - Untouchable Server / @fsck_mount

09/21/2018 at 08:37AM

7
#591 - Not real / @Notreal70353016

09/21/2018 at 06:59PM

7
#592 - royer / @RoyerMoyer1

09/23/2018 at 06:11PM

7
#593 - Rasmus Bergström / @JRasmusBm

09/27/2018 at 12:43PM

7
#594 - prince ducaca / @prince_du_caca

09/27/2018 at 11:03PM

7
#595 - Florent Jaby / @Floby

10/09/2018 at 12:11PM

7
#596 - John Oleksowicz / @JohnOlek

10/09/2018 at 08:07PM

7
#597 - Benjamin Kiesl / @BenjaminKiesl

10/15/2018 at 02:38PM

7
#598 - Sxcy / @SxcyX

10/22/2018 at 01:17PM

7
#599 - Dax / @zacoxi

10/22/2018 at 01:21PM

7
#600 - Sam Calvert / @Sammcalvertt

10/27/2018 at 02:40AM