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

1577 active golfers, 3860 entries

Leaderboard (lowest score wins):
10
#1471 - Meow / @MeowLucid

09/05/2014 at 01:55AM

10
#1472 - Guillaume ALAUX / @megalaux

09/28/2014 at 09:18PM

10
#1473 - Cody Reichert / @CodyReichert

01/15/2015 at 03:36PM

10
#1474 - Vinh / @LeizyCat

01/19/2015 at 10:03AM

10
#1475 - Josh Greenwood / @JoshTGreenwood

02/10/2015 at 11:37PM

10
#1476 - Swastik / @__swastik

03/15/2015 at 07:06AM

10
#1477 - Pradeep G / @itsprdp

04/02/2015 at 07:02AM

10
#1478 - Hendrik Lammers / @hendriklammers

04/17/2015 at 01:13PM

10
#1479 - Gracjan Grala / @gracjangrala

04/21/2015 at 11:10PM

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

05/07/2015 at 02:26PM

10
#1481 - Olik / @oli33k

08/11/2015 at 03:37PM

10
#1482 - Nikos Likius / @NLikius

09/02/2015 at 08:54AM

10
#1483 - phillips1012 / @phillips1012

10/13/2015 at 03:33AM

10
#1484 - thlix / @thlix

01/09/2016 at 05:54PM

10
#1485 - dattaz / @dat_taz

02/07/2016 at 09:58PM

10
#1486 - Sebastian Pfluegelm / @sebastian_pflgl

06/22/2016 at 07:31PM

10
#1487 - Patrick J McDonough / @snake_VsCamel

09/05/2016 at 05:31AM

10
#1488 - Paul Inc / @hiniol1982

07/13/2017 at 03:31AM

10
#1489 - Paul Sohn / @pksohn

09/06/2017 at 10:33PM

10
#1490 - Richard Godden / @goddenrich

10/18/2017 at 05:53PM

10
#1491 - William Hamilton / @BobHamiltonijk

08/03/2018 at 05:55AM

10
#1492 - PCS Solutions / @PeteSolutions

08/09/2018 at 07:01PM

10
#1493 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:56PM

10
#1494 - gsvba / @gsvba

09/18/2018 at 10:28PM

10
#1495 - Dave Brda / @BrdaDave

10/29/2018 at 08:55PM

10
#1496 - Kasparas Lavrukaitis / @kaslvr

11/07/2018 at 03:47PM

10
#1497 - Shunichi Kanade / @shunkana

11/18/2018 at 02:31AM

10
#1498 - Oren Koriat / @KoriatOren

12/06/2018 at 05:59PM

10
#1499 - Matthias Kausl / @sig_segv

04/25/2019 at 06:30PM

10
#1500 - YesSwear / @yesswore

05/20/2019 at 03:06PM