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

1522 active golfers, 3693 entries

Leaderboard (lowest score wins):
7
#61 - icchy / @icchyr

08/28/2014 at 08:06AM

7
#62 - Maxime Dréau / @mdreau

08/28/2014 at 12:12PM

7
#63 - preston / @mstrdarcy

08/28/2014 at 05:16PM

7
#64 - brandon salmon / @Exiledz

08/29/2014 at 06:42AM

7
#65 - Johan Linder / @imLinder

08/31/2014 at 06:46PM

7
#66 - Ryan / @murftown

09/02/2014 at 05:51AM

7
#67 - Qhuatre / @Qhuatre

09/02/2014 at 08:42PM

7
#68 - Reuben Thomas / @reuben_thomas_

09/02/2014 at 08:53PM

7
#69 - Patrick M. Regan / @rubbsdecvik

09/02/2014 at 09:32PM

7
#70 - Ryan Mc Donald / @rjmcdonald83

09/03/2014 at 12:27AM

7
#71 - Edgar Gonzalez / @gonzedge

09/03/2014 at 12:29AM

7
#72 - Some(coder) / @hauleth

09/03/2014 at 07:37AM

7
#73 - Christopher / @qedturtles

09/03/2014 at 11:34PM

7
#74 - dylan / @dcourv

09/04/2014 at 02:14AM

7
#75 - Aaron Kravitz / @arkravitz

09/04/2014 at 08:39AM

7
#76 - John Smith / @literacyisgood

09/05/2014 at 05:32AM

7
#77 - Jaron R. Hendrix / @Ronamo

09/05/2014 at 05:32PM

7
#78 - Kristian Jagd / @Jagdos

09/07/2014 at 11:08AM

7
#79 - Victor Alessandro / @VictorAlessand4

09/08/2014 at 04:43AM

7
#80 - isayoldchap / @isayoldchap

09/08/2014 at 11:04PM

7
#81 - Tom McCluskey / @TomMcCluskey

09/09/2014 at 01:18AM

7
#82 - Juan-Lucas Picard / @davidmh

09/09/2014 at 03:06AM

7
#83 - Jonas / @j0na3

09/11/2014 at 09:09PM

7
#84 - Giovanni Garufi / @garufi_giovanni

09/13/2014 at 10:29PM

7
#85 - Wayne Franklin / @waf1waf

09/14/2014 at 01:37AM

7
#86 - Martin Keogh / @Martin1Keogh

09/15/2014 at 04:06PM

7
#87 - Herr Oppermann / @HerrOppermann

09/19/2014 at 11:31AM

7
#88 - Johannes H. / @neVexa

09/19/2014 at 09:06PM

7
#89 - Charles H. Leggett / @cleggett

09/20/2014 at 03:16AM

7
#90 - evimgolf / @evimgolf

09/21/2014 at 05:54PM