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):
10
#1561 - m a c s f / @macsf

05/07/2015 at 02:26PM

10
#1562 - Olik / @oli33k

08/11/2015 at 03:37PM

10
#1563 - Nikos Likius / @NLikius

09/02/2015 at 08:54AM

10
#1564 - phillips1012 / @phillips1012

10/13/2015 at 03:33AM

10
#1565 - thlix / @thlix

01/09/2016 at 05:54PM

10
#1566 - dattaz / @dat_taz

02/07/2016 at 09:58PM

10
#1567 - Sebastian Pfluegelm / @sebastian_pflgl

06/22/2016 at 07:31PM

10
#1568 - Patrick J McDonough / @snake_VsCamel

09/05/2016 at 05:31AM

10
#1569 - Paul Inc / @hiniol1982

07/13/2017 at 03:31AM

10
#1570 - Paul Sohn / @pksohn

09/06/2017 at 10:33PM

10
#1571 - Richard Godden / @goddenrich

10/18/2017 at 05:53PM

10
#1572 - William Hamilton / @BobHamiltonijk

08/03/2018 at 05:55AM

10
#1573 - PCS Solutions / @PeteSolutions

08/09/2018 at 07:01PM

10
#1574 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:56PM

10
#1575 - gsvba / @gsvba

09/18/2018 at 10:28PM

10
#1576 - Dave Brda / @BrdaDave

10/29/2018 at 08:55PM

10
#1577 - Kasparas Lavrukaitis / @kaslvr

11/07/2018 at 03:47PM

10
#1578 - Shunichi Kanade / @shunkana

11/18/2018 at 02:31AM

10
#1579 - Oren Koriat / @KoriatOren

12/06/2018 at 05:59PM

10
#1580 - Matthias Kausl / @sig_segv

04/25/2019 at 06:30PM

10
#1581 - YesSwear / @yesswore

05/20/2019 at 03:06PM

10
#1582 - Guillaume leon / @Le_Zappellin

08/29/2019 at 12:43PM

10
#1583 - Soptik / @Soptik3

09/28/2019 at 01:29PM

10
#1584 - Frederich Stine / @FrederichStine

10/22/2019 at 06:27PM

10
#1585 - Aaron / @_Lordofthevoid_

11/29/2019 at 07:43PM

11
#1586 - Kai Howelmeyer / @kaihowl

08/10/2014 at 04:31PM

11
#1587 - Dmitry Teslenko / @krab_mozga

08/13/2014 at 01:19PM

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

10/27/2014 at 05:36AM

11
#1589 - Michael Leong / @mhwleong

12/03/2014 at 02:34PM

11
#1590 - Adir / @adir

01/08/2015 at 03:37PM