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

1897 active golfers, 4813 entries

Leaderboard (lowest score wins):
8
#901 - Eric Kever / @codeoverlode

09/29/2014 at 08:32PM

8
#902 - Viktor Lindström / @ViktorLindstr_m

09/30/2014 at 09:09PM

8
#903 - Mihir / @mihirgogate

10/04/2014 at 07:04AM

8
#904 - raghu erapaneedi / @raghue9

10/06/2014 at 05:02PM

8
#905 - Jose Gutierrez / @Jogusa

10/07/2014 at 09:45PM

8
#906 - Violette Vanadium / @ViolettVanadium

10/08/2014 at 05:48AM

8
#907 - takashi / @k_takashi0309

10/08/2014 at 01:30PM

8
#908 - Maxim / @HateLinux

10/09/2014 at 07:06PM

8
#909 - Daniel Burnett / @mango_cheetah

10/10/2014 at 12:48AM

8
#910 - Philipp Aeschbach / @ihbmifqerg

10/10/2014 at 09:07AM

8
#911 - Felipe Apostol / @flipjsio

10/10/2014 at 06:15PM

8
#912 - Narek / @NarekCat

10/10/2014 at 07:00PM

8
#913 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:31AM

8
#914 - E Both / @enboth

10/16/2014 at 03:52PM

8
#915 - jptomoya / @_jptomoya

10/17/2014 at 12:56PM

8
#916 - Sebastian Korten / @FlashKorten

10/22/2014 at 02:19PM

8
#917 - Ryan Glassett / @rollsavager

10/23/2014 at 12:26AM

8
#918 - Marcelo Montu / @_mMontu_

10/24/2014 at 03:37PM

8
#919 - Jakub Lewandowski / @kubinux

10/27/2014 at 06:16PM

8
#920 - Kongqun Yang / @KongqunY

10/27/2014 at 08:54PM

8
#921 - Matt / @mcr05

10/28/2014 at 11:47AM

8
#922 - Dane Summers / @dsummersl

10/30/2014 at 12:43PM

8
#923 - Garrett Openshaw / @gopenshaw

11/01/2014 at 06:04PM

8
#924 - eBrnd / @eBrnd

11/02/2014 at 12:01PM

8
#925 - Matt Robbins / @mcrmfc

11/04/2014 at 09:57AM

8
#926 - Harold Pong / @har2po

11/05/2014 at 12:16PM

8
#927 - Ryan Morton / @thenerdscribe

11/06/2014 at 09:08PM

8
#928 - deris / @deris0126

11/06/2014 at 10:54PM

8
#929 - Davit Samvelyan / @DavitSamvelyan

11/13/2014 at 01:05PM

8
#930 - Samuel Masuy / @samasuy

11/16/2014 at 05:45PM