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

1709 active golfers, 4250 entries

Leaderboard (lowest score wins):
8
#841 - Davit Samvelyan / @DavitSamvelyan

11/13/2014 at 01:05PM

8
#842 - Samuel Masuy / @samasuy

11/16/2014 at 05:45PM

8
#843 - Thomas Geßler / @th_gessler

11/16/2014 at 08:35PM

8
#844 - jake worth / @jwworth

11/19/2014 at 07:07PM

8
#845 - Benjamin Frölich / @kakazwerglein

11/19/2014 at 10:56PM

8
#846 - Keyboard Fire / @KeyboardFire

11/22/2014 at 01:52PM

8
#847 - Karol Katerżawa / @CharlieQbx

11/27/2014 at 08:27AM

8
#848 - Jens Weggemann / @JensWeggemann

11/27/2014 at 08:37AM

8
#849 - Nathan Seither / @NathanSeither

11/30/2014 at 04:01AM

8
#850 - Alex Serebryakov / @Doc_Livesey

12/01/2014 at 09:59AM

8
#851 - Edmundo Perez / @ingedmundo

12/03/2014 at 03:40PM

8
#852 - limenghong / @LeoLpfish

12/04/2014 at 10:51AM

8
#853 - Test User / @TestUserIgnore

12/04/2014 at 07:52PM

8
#854 - Frederik Vosberg / @FrediVosberg

12/07/2014 at 04:23PM

8
#855 - Gammelin Guillaume / @ggammelin

12/10/2014 at 11:22AM

8
#856 - Kuba Borowski / @prajmus

12/10/2014 at 03:16PM

8
#857 - Karun Ramakrishnan / @the_karun

12/12/2014 at 05:37PM

8
#858 - jared swarts / @JaredSwarts

12/13/2014 at 05:08AM

8
#859 - Erim Secla / @Alcesmire

12/15/2014 at 04:50AM

8
#860 - Wade / @vvandy

12/15/2014 at 05:34PM

8
#861 - 1upまむ9 / @mamunine

12/16/2014 at 03:13PM

8
#862 - kelevra / @kelevra19951823

12/17/2014 at 09:04PM

8
#863 - Josu Oyanguren / @josuoyanguren

12/18/2014 at 04:32PM

8
#864 - Joshua Greeenberg / @JoshuaGreeenber

12/19/2014 at 12:46PM

8
#865 - Andrew Leung / @aleungpivotal

12/19/2014 at 09:09PM

8
#866 - Elizabeth / @sprinkles418

12/22/2014 at 02:37PM

8
#867 - Geoff Huston / @AGeoffHuston

12/23/2014 at 04:08AM

8
#868 - Johnny Develop / @johnnydevelop

12/23/2014 at 03:17PM

8
#869 - Ben Bonfil / @benbonfil

12/24/2014 at 06:31PM

8
#870 - yachi / @yaachi

12/29/2014 at 10:55AM