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

1640 active golfers, 4054 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 / @Visklol

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

8
#684 - Clinton シ / @iblamefish

07/30/2014 at 07:57PM

8
#685 - Ricardo M. Vilchis / @ajkaanbal

07/30/2014 at 08:48PM

8
#686 - James / @Dronak

07/30/2014 at 09:00PM

8
#687 - vimgolf copycat / @vimgolf_copycat

07/30/2014 at 09:50PM

8
#688 - yaon / @yaon4

07/31/2014 at 12:58AM

8
#689 - Saher El-Neklawy / @saherneklawy

07/31/2014 at 07:19AM

8
#690 - Ram Tamtam / @ramtamtamtam

07/31/2014 at 09:43AM