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

1895 active golfers, 4809 entries

Leaderboard (lowest score wins):
8
#841 - Vim Fandango / @VimFandango

08/12/2014 at 07:19PM

8
#842 - Seth Rader / @f4uLT

08/12/2014 at 08:27PM

8
#843 - Michael Stein / @4NickelSoftware

08/12/2014 at 11:25PM

8
#844 - Lucas P Melo / @lucaspmelo

08/13/2014 at 02:28AM

8
#845 - Jezen Thomas / @jezenthomas

08/13/2014 at 01:18PM

8
#846 - AC / @quadface

08/13/2014 at 10:52PM

8
#847 - Shefaet / @shefaet

08/14/2014 at 03:57AM

8
#848 - basha / @bashaalex

08/15/2014 at 03:00PM

8
#849 - Daniel / @dazn159

08/15/2014 at 06:45PM

8
#850 - marcelo jacobus / @marcelo_jacobus

08/15/2014 at 09:52PM

8
#851 - Nubes / @shanshuiluren

08/17/2014 at 09:36AM

8
#852 - Allen Li / @thenightawl

08/18/2014 at 10:09AM

8
#853 - Florian Lücke / @CannibalGorilla

08/18/2014 at 05:57PM

8
#854 - Tj / @yrddy

08/19/2014 at 02:08AM

8
#855 - Miles Edland / @ShutUpMiles

08/19/2014 at 02:44AM

8
#856 - Dmitriy / @_dpy_

08/19/2014 at 01:17PM

8
#857 - Fnord Everywhere / @FnordE

08/20/2014 at 08:01AM

8
#858 - Eniko / @eenagy

08/20/2014 at 12:20PM

8
#859 - Adv_Zxy / @adv_zxy

08/22/2014 at 06:11AM

8
#860 - Vim Golfer / @golfing_vim

08/23/2014 at 12:30PM

8
#861 - wfdctrl / @wfdctrl

08/23/2014 at 09:49PM

8
#862 - Oliver Christ / @0liverChrist

08/23/2014 at 10:31PM

8
#863 - Rui Graça / @rpgraca

08/24/2014 at 10:28AM

8
#864 - Alexey Permyakov / @AlexeyPermyakov

08/24/2014 at 11:15AM

8
#865 - glennphillips / @glennphillips

08/26/2014 at 02:55AM

8
#866 - Leonid K. / @AzorejK

08/26/2014 at 08:54AM

8
#867 - Victor Ramirez / @virako

08/26/2014 at 01:41PM

8
#868 - 2 girls kissing / @olzhu

08/27/2014 at 05:30AM

8
#869 - Mark Janssen / @MPCtje

08/27/2014 at 01:04PM

8
#870 - Vim Golfer / @thevimgolfer

08/30/2014 at 10:02AM