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

1669 active golfers, 4148 entries

Leaderboard (lowest score wins):
9
#1531 - daniel / @daniel31464605

08/29/2018 at 07:29PM

9
#1532 - boredStudent / @boredStudent10

09/08/2018 at 11:35AM

9
#1533 - Brent Woo / @BrentPWoo

10/01/2018 at 09:35PM

9
#1534 - James Gillies / @jw_gillies

11/24/2018 at 05:15PM

9
#1535 - unclewangshushu / @shuwushu

11/29/2018 at 05:00PM

9
#1536 - Zach Miller / @barizachsy

02/27/2019 at 04:42AM

9
#1537 - zenwalker / @zenwalker93

03/09/2019 at 01:31PM

9
#1538 - MGJoe93 / @mgjoe93

03/11/2019 at 05:15PM

9
#1539 - nvb46c74f8ih / @nvb46c74f8ih

05/12/2019 at 01:40PM

9
#1540 - Phoon / @justflashhim

05/13/2019 at 01:06AM

9
#1541 - Chris G / @AboutThatThing

06/10/2019 at 09:49AM

9
#1542 - cinder 🔥 / @cyndrdev

06/27/2019 at 05:25PM

9
#1543 - Vim Golfer / @VimGolfer6

07/30/2019 at 11:57AM

9
#1544 - abgold / @abgold43461328

09/02/2019 at 04:04AM

9
#1545 - Pieter Joost / @pjvds

10/09/2019 at 12:28PM

9
#1546 - Alexander v Trijffel / @avtnl

10/10/2019 at 10:25PM

10
#1547 - Duncan Parkinson / @duncanparkinson

07/31/2014 at 10:39AM

10
#1548 - Kolja Wilcke / @01k

08/01/2014 at 08:23AM

10
#1549 - Petr Korobeinikov / @pkorobeinikov

08/03/2014 at 10:52AM

10
#1550 - Scott Helm / @scott_helm

08/18/2014 at 01:34AM

10
#1551 - Dr4k3 / @Dr4k3_LE

08/26/2014 at 07:36PM

10
#1552 - Meow / @MeowLucid

09/05/2014 at 01:55AM

10
#1553 - Guillaume ALAUX / @megalaux

09/28/2014 at 09:18PM

10
#1554 - Cody Reichert / @CodyReichert

01/15/2015 at 03:36PM

10
#1555 - Vinh / @LeizyCat

01/19/2015 at 10:03AM

10
#1556 - Josh Greenwood / @JoshTGreenwood

02/10/2015 at 11:37PM

10
#1557 - Swastik / @__swastik

03/15/2015 at 07:06AM

10
#1558 - Pradeep G / @itsprdp

04/02/2015 at 07:02AM

10
#1559 - Hendrik Lammers / @hendriklammers

04/17/2015 at 01:13PM

10
#1560 - Gracjan Grala / @gracjangrala

04/21/2015 at 11:10PM