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

1554 active golfers, 3797 entries

Leaderboard (lowest score wins):
7
#31 - Stefan Schmidt / @stafue

08/08/2014 at 01:12PM

7
#32 - Roman Charushin / @lompee

08/08/2014 at 01:25PM

7
#33 - Ben Haines / @bhainesva

08/08/2014 at 05:24PM

7
#34 - AA / @stonewareslord

08/10/2014 at 05:49PM

7
#35 - Rafee / @rafee_buet

08/11/2014 at 07:35AM

7
#36 - Bobby Matson / @bomatson

08/11/2014 at 04:25PM

7
#37 - debris / @iDebris5

08/13/2014 at 04:00PM

7
#38 - mohit aggarwal / @mohitleo9

08/14/2014 at 04:02AM

7
#39 - jabular / @jabular

08/14/2014 at 09:45AM

7
#40 - Phil Runninger / @PhilRunninger

08/14/2014 at 01:48PM

7
#41 - farseer / @FarseerSee2012

08/14/2014 at 03:06PM

7
#42 - Pepe / @GomTvIneluki

08/14/2014 at 10:05PM

7
#43 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

08/15/2014 at 06:58PM

7
#44 - joshuavial / @joshuavial

08/16/2014 at 01:58AM

7
#45 - Fan Zhang / @2bDeactivat3d

08/17/2014 at 02:42AM

7
#46 - Tomasz / @peper02

08/17/2014 at 11:29AM

7
#47 - shock_one / @shock_one

08/17/2014 at 12:29PM

7
#48 - booom / @ateukme

08/17/2014 at 09:40PM

7
#49 - Haoxuan Yue / @yuehaoxuanar

08/20/2014 at 03:02AM

7
#50 - kemar / @le_kemar

08/20/2014 at 10:10AM

7
#51 - Alejandro Alemán / @alemanramos

08/20/2014 at 01:06PM

7
#52 - tcs / @tcsantini

08/20/2014 at 04:28PM

7
#53 - Thijs Baksteen / @thijsel

08/22/2014 at 02:57PM

7
#54 - Joshua Draper / @JoshuaBDraper

08/23/2014 at 12:02AM

7
#55 - April Gentle / @chen327684096

08/23/2014 at 07:01AM

7
#56 - Mike Rayner / @mikesfake

08/23/2014 at 10:20AM

7
#57 - Octavian Tuchila / @OctavianTu

08/23/2014 at 07:07PM

7
#58 - Chaitanya Desu / @ChaituNu

08/24/2014 at 07:13PM

7
#59 - Rémi Jézéquel / @Remjez

08/27/2014 at 01:23PM

7
#60 - A / @a_akessler

08/27/2014 at 04:56PM