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

1612 active golfers, 3954 entries

Leaderboard (lowest score wins):
14
#1561 - Lily / @lilibethdlc

09/03/2014 at 06:57AM

14
#1562 - Aria / @AriaMoKr

09/08/2014 at 07:54PM

14
#1563 - bluehat / @b1u3h4t

09/17/2014 at 03:58PM

14
#1564 - a b / @c00_a

01/19/2015 at 01:38PM

14
#1565 - Zachary Daniel / @ZacharySDaniel

01/26/2015 at 10:23PM

14
#1566 - darfontz sucks / @buttsToTheSky

08/25/2015 at 05:51PM

14
#1567 - Benjamin Rausch / @DubbsSmacker44

12/06/2015 at 08:59AM

14
#1568 - Mendel Simon / @agentms11

12/13/2015 at 05:59PM

14
#1569 - Niru Maheswaranathan / @niru_m

04/03/2016 at 10:24PM

14
#1570 - bytespirit / @bytespirit1

05/03/2016 at 04:24PM

14
#1571 - Jake S / @jakeseiden

05/13/2016 at 01:27PM

14
#1572 - Dominik / @domschrei

05/18/2016 at 10:32PM

14
#1573 - Stop and think / @ms_uncountable

07/06/2017 at 10:25AM

14
#1574 - Pierre Dorbais / @chdorb

08/08/2018 at 04:17PM

14
#1575 - Jurica / @Jurica34581259

11/15/2018 at 12:37AM

14
#1576 - 강현 / @Applesquiz

01/22/2019 at 12:01PM

14
#1577 - 勹″み / @gumisugoitaberu

05/05/2019 at 04:07AM

14
#1578 - JvdB01 / @JvdB001

05/08/2019 at 10:07AM

14
#1579 - mark / @feltnermj

06/07/2019 at 03:46PM

15
#1580 - Matthew Barrington / @mbarrin

07/30/2014 at 09:14PM

15
#1581 - Jorge Chao / @MalcomOSX

08/11/2014 at 06:48PM

15
#1582 - Z Mrowicki / @Zmrowicki

10/29/2014 at 02:59AM

15
#1583 - bo-yu huang / @good5dog5

11/11/2014 at 08:39AM

15
#1584 - Virassamy Yohan / @Yoh_Ahn

12/15/2014 at 03:58PM

15
#1585 - ɹǝsnɐɥsıʇnɹ uoɾ / @JonRutis

05/27/2015 at 11:01PM

15
#1586 - Noah Gumbert / @Noahrama

07/01/2016 at 04:34AM

15
#1587 - Martynas Bardauskas / @mbardauskas

08/04/2016 at 02:23PM

15
#1588 - Batuhan Bayrakçı / @bay_batu

09/24/2016 at 03:10PM

15
#1589 - Matt Walsh / @wattmalsh

02/06/2017 at 02:34AM

15
#1590 - tapio / @gncnaxb

03/12/2018 at 12:53PM