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

1676 active golfers, 4163 entries

Leaderboard (lowest score wins):
11
#1591 - Dmitry Teslenko / @krab_mozga

08/13/2014 at 01:19PM

11
#1592 - ЕвгенийВ / @imater

10/27/2014 at 05:36AM

11
#1593 - Michael Leong / @mhwleong

12/03/2014 at 02:34PM

11
#1594 - Adir / @adir

01/08/2015 at 03:37PM

11
#1595 - Nicolai Skogheim / @NicolaiSkogheim

01/24/2015 at 02:04AM

11
#1596 - Jason Spafford / @JasonSpafford

05/27/2015 at 05:20PM

11
#1597 - Nicola A / @aitkenster

07/29/2015 at 04:48PM

11
#1598 - Joachim / @errrsooo

09/01/2015 at 10:41PM

11
#1599 - Feras / @faldah

04/24/2016 at 03:11AM

11
#1600 - Micha / @michman89

08/10/2016 at 10:46AM

11
#1601 - Netznarkose / @netznarkose

07/28/2017 at 09:20AM

11
#1602 - Omar Zeidan / @OZeidan97

11/13/2018 at 12:41PM

11
#1603 - Thiago Preischadt / @TPreischadt

07/10/2019 at 02:38AM

11
#1604 - DeadlyKitten / @DeadlyKitten3

11/11/2019 at 04:23PM

11
#1605 - Kelvin Meyer / @Kelvin_Meyer15

12/06/2019 at 11:01AM

12
#1606 - Máté Marjai / @marjaimate

08/08/2014 at 07:29PM

12
#1607 - Simon Mölzer / @h0wser

08/28/2014 at 07:12AM

12
#1608 - sodasamurai / @pease_justin

09/05/2014 at 09:18PM

12
#1609 - Akshay Aurora / @akshayaurora

09/16/2014 at 08:07AM

12
#1610 - Daniel Byron / @dansolo17

04/17/2015 at 07:29AM

12
#1611 - Mick van der Vegt / @mickvdv

05/17/2019 at 02:00PM

12
#1612 - Florent Uguet / @FlorentUguet

07/10/2019 at 09:19AM

12
#1613 - Nurettin Abacı / @AbacNurettin

08/05/2019 at 05:59PM

12
#1614 - Ian / @IanPartials

12/16/2019 at 06:02AM

13
#1615 - Bednarik Boldizsar / @bboldi

08/04/2014 at 02:59PM

13
#1616 - olopost / @olopost

04/25/2015 at 09:01AM

13
#1617 - Ken Powers / @knpwrs

05/19/2015 at 03:07AM

13
#1618 - Dustin McBride / @dustinbm

06/01/2017 at 11:14PM

13
#1619 - This Is Computer Art / @wowsuchcode

10/24/2019 at 01:41PM

14
#1620 - madka / @lachrimae_pavan

08/01/2014 at 03:51PM