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

1674 active golfers, 4155 entries

Leaderboard (lowest score wins):
7
#661 - majo senf / @majo_senf

06/17/2019 at 08:46AM

7
#662 - Hao-Ting Wang / @HaoTingW713

06/20/2019 at 03:30PM

7
#663 - hodenkobold66 / @hodenkobold66

06/25/2019 at 01:19PM

7
#664 - Καράτε Μόνο / @karate_mono

07/04/2019 at 08:24AM

7
#665 - mirsemen / @mirsemen1

07/16/2019 at 05:09AM

7
#666 - pjoe / @pjoe

07/19/2019 at 09:33PM

7
#667 - Hayden Wang / @HaydenWang2

07/31/2019 at 08:51AM

7
#668 - Joe Fahnestock🌵 / @Joecupojoe

08/01/2019 at 06:10PM

7
#669 - Rasmus Öhman Bruno / @rasmohman

08/03/2019 at 07:54PM

7
#670 - Wistan Chou / @wisty97

08/14/2019 at 05:07PM

7
#671 - Chris Shorrock / @EbinFlow

08/14/2019 at 10:05PM

7
#672 - averageRandomPerson / @averageRandomP1

08/17/2019 at 03:40PM

7
#673 - GAUTAM V NAIK / @gautamnaik1994

08/26/2019 at 11:30AM

7
#674 - 홍순우 / @eU9gM5Bvtj1UNpc

09/04/2019 at 03:39AM

7
#675 - Cassandra / @kascein

09/17/2019 at 06:58PM

7
#676 - Brandon Harrison / @llAboutB

09/24/2019 at 06:17PM

7
#677 - Lorenzo Bertolino / @lo_bertolino

09/25/2019 at 04:02PM

7
#678 - vimgolfer / @vimgolfer7

09/28/2019 at 03:41PM

7
#679 - Johnson Lu / @wanderlusteee

10/02/2019 at 03:23PM

7
#680 - Viktor Styrud / @ViktorStyrud

10/03/2019 at 12:14PM

7
#681 - Chen-Hung Wu / @utah12005

10/03/2019 at 04:53PM

7
#682 - Jonathan Medwig / @jmedwig

10/07/2019 at 06:37PM

7
#683 - KlondikeBaer / @BaerKlondike

10/13/2019 at 04:10PM

7
#684 - Mario Olofo / @mario_olofo

10/21/2019 at 02:19PM

7
#685 - leo / @leo28356948

10/24/2019 at 04:55AM

7
#686 - Paul Yates / @PYates77

10/25/2019 at 08:38PM

7
#687 - Ivan Volosyuk / @IvanVolosyuk

10/30/2019 at 10:33AM

7
#688 - Vivek Menon / @Vvkmnn

11/03/2019 at 09:44AM

7
#689 - Lei Kin / @kireinasorakin

11/13/2019 at 04:45AM

7
#690 - Micael Jarniac / @MicaelJarniac

11/17/2019 at 11:25PM