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

1662 active golfers, 4122 entries

Leaderboard (lowest score wins):
8
#811 - Jakub Lewandowski / @kubinux

10/27/2014 at 06:16PM

8
#812 - Kongqun Yang / @KongqunY

10/27/2014 at 08:54PM

8
#813 - Matt / @mcr05

10/28/2014 at 11:47AM

8
#814 - Dane Summers / @dsummersl

10/30/2014 at 12:43PM

8
#815 - Garrett Openshaw / @gopenshaw

11/01/2014 at 06:04PM

8
#816 - eBrnd / @eBrnd

11/02/2014 at 12:01PM

8
#817 - Matt Robbins / @mcrmfc

11/04/2014 at 09:57AM

8
#818 - Harold Pong / @har2po

11/05/2014 at 12:16PM

8
#819 - Ryan Morton / @thenerdscribe

11/06/2014 at 09:08PM

8
#820 - deris / @deris0126

11/06/2014 at 10:54PM

8
#821 - Davit Samvelyan / @DavitSamvelyan

11/13/2014 at 01:05PM

8
#822 - Samuel Masuy / @samasuy

11/16/2014 at 05:45PM

8
#823 - Thomas Geßler / @th_gessler

11/16/2014 at 08:35PM

8
#824 - Jake Worth / @jwworth

11/19/2014 at 07:07PM

8
#825 - Benjamin Frölich / @kakazwerglein

11/19/2014 at 10:56PM

8
#826 - Keyboard Fire / @KeyboardFire

11/22/2014 at 01:52PM

8
#827 - Karol Katerżawa / @CharlieQbx

11/27/2014 at 08:27AM

8
#828 - Jens Weggemann / @JensWeggemann

11/27/2014 at 08:37AM

8
#829 - Nathan Seither / @NathanSeither

11/30/2014 at 04:01AM

8
#830 - Alex Serebryakov / @Doc_Livesey

12/01/2014 at 09:59AM

8
#831 - Edmundo Perez / @ingedmundo

12/03/2014 at 03:40PM

8
#832 - limenghong / @LeoLpfish

12/04/2014 at 10:51AM

8
#833 - Test User / @TestUserIgnore

12/04/2014 at 07:52PM

8
#834 - Frederik Vosberg / @FrediVosberg

12/07/2014 at 04:23PM

8
#835 - Gammelin Guillaume / @ggammelin

12/10/2014 at 11:22AM

8
#836 - Kuba Borowski / @prajmus

12/10/2014 at 03:16PM

8
#837 - Karun Ramakrishnan / @the_karun

12/12/2014 at 05:37PM

8
#838 - jared swarts / @JaredSwarts

12/13/2014 at 05:08AM

8
#839 - Erim Secla / @Alcesmire

12/15/2014 at 04:50AM

8
#840 - Wade / @vvandy

12/15/2014 at 05:34PM