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

1891 active golfers, 4796 entries

Leaderboard (lowest score wins):
9
#1741 - KoroneListener / @KoroneListener

09/04/2024 at 01:29PM

10
#1742 - Duncan Parkinson / @duncanparkinson

07/31/2014 at 10:39AM

10
#1743 - Kolja Wilcke / @01k

08/01/2014 at 08:23AM

10
#1744 - Petr Korobeinikov / @pkorobeinikov

08/03/2014 at 10:52AM

10
#1745 - Scott Helm / @scott_helm

08/18/2014 at 01:34AM

10
#1746 - Dr4k3 / @Dr4k3_LE

08/26/2014 at 07:36PM

10
#1747 - Meow / @MeowLucid

09/05/2014 at 01:55AM

10
#1748 - Guillaume ALAUX / @megalaux

09/28/2014 at 09:18PM

10
#1749 - Cody Reichert / @CodyReichert

01/15/2015 at 03:36PM

10
#1750 - Vinh / @LeizyCat

01/19/2015 at 10:03AM

10
#1751 - Josh Greenwood / @JoshTGreenwood

02/10/2015 at 11:37PM

10
#1752 - Swastik / @__swastik

03/15/2015 at 07:06AM

10
#1753 - Pradeep G / @itsprdp

04/02/2015 at 07:02AM

10
#1754 - Hendrik Lammers / @hendriklammers

04/17/2015 at 01:13PM

10
#1755 - Gracjan Grala / @gracjangrala

04/21/2015 at 11:10PM

10
#1756 - m a c s f / @macsf

05/07/2015 at 02:26PM

10
#1757 - Olik / @oli33k

08/11/2015 at 03:37PM

10
#1758 - Nikos Likius / @NLikius

09/02/2015 at 08:54AM

10
#1759 - phillips1012 / @phillips1012

10/13/2015 at 03:33AM

10
#1760 - thlix / @thlix

01/09/2016 at 05:54PM

10
#1761 - dattaz / @dat_taz

02/07/2016 at 09:58PM

10
#1762 - Sebastian Pfluegelm / @sebastian_pflgl

06/22/2016 at 07:31PM

10
#1763 - Patrick J McDonough / @snake_VsCamel

09/05/2016 at 05:31AM

10
#1764 - Paul Inc / @hiniol1982

07/13/2017 at 03:31AM

10
#1765 - Paul Sohn / @pksohn

09/06/2017 at 10:33PM

10
#1766 - Richard Godden / @goddenrich

10/18/2017 at 05:53PM

10
#1767 - William Hamilton / @BobHamiltonijk

08/03/2018 at 05:55AM

10
#1768 - PCS Solutions / @PeteSolutions

08/09/2018 at 07:01PM

10
#1769 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:56PM

10
#1770 - gsvba / @gsvba

09/18/2018 at 10:28PM