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

1592 active golfers, 3903 entries

Leaderboard (lowest score wins):
12
#1531 - Akshay Aurora / @akshayaurora

09/16/2014 at 08:07AM

12
#1532 - Daniel Byron / @dansolo17

04/17/2015 at 07:29AM

12
#1533 - Mick van der Vegt / @mickvdv

05/17/2019 at 02:00PM

12
#1534 - Florent Uguet / @FlorentUguet

07/10/2019 at 09:19AM

13
#1535 - Bednarik Boldizsar / @bboldi

08/04/2014 at 02:59PM

13
#1536 - olopost / @olopost

04/25/2015 at 09:01AM

13
#1537 - Ken Powers / @knpwrs

05/19/2015 at 03:07AM

13
#1538 - Dustin McBride / @dustinbm

06/01/2017 at 11:14PM

14
#1539 - madka / @lachrimae_pavan

08/01/2014 at 03:51PM

14
#1540 - かしゅーなっつ@修行中 / @kashew_nuts

08/02/2014 at 06:20AM

14
#1541 - Mohamed Bassem / @MohamedBassem

08/06/2014 at 09:36AM

14
#1542 - Lily / @lilibethdlc

09/03/2014 at 06:57AM

14
#1543 - Aria / @AriaMoKr

09/08/2014 at 07:54PM

14
#1544 - bluehat / @b1u3h4t

09/17/2014 at 03:58PM

14
#1545 - a b / @c00_a

01/19/2015 at 01:38PM

14
#1546 - Zachary Daniel / @ZacharySDaniel

01/26/2015 at 10:23PM

14
#1547 - darfontz sucks / @buttsToTheSky

08/25/2015 at 05:51PM

14
#1548 - Benjamin Rausch / @DubbsSmacker44

12/06/2015 at 08:59AM

14
#1549 - Mendel Simon / @agentms11

12/13/2015 at 05:59PM

14
#1550 - Niru Maheswaranathan / @niru_m

04/03/2016 at 10:24PM

14
#1551 - bytespirit / @bytespirit1

05/03/2016 at 04:24PM

14
#1552 - Jake S / @jakeseiden

05/13/2016 at 01:27PM

14
#1553 - Dominik / @domschrei

05/18/2016 at 10:32PM

14
#1554 - Stop and think / @ms_uncountable

07/06/2017 at 10:25AM

14
#1555 - Pierre Dorbais / @chdorb

08/08/2018 at 04:17PM

14
#1556 - Jurica / @Jurica34581259

11/15/2018 at 12:37AM

14
#1557 - 강현 / @Applesquiz

01/22/2019 at 12:01PM

14
#1558 - 勹″み / @gumisugoitaberu

05/05/2019 at 04:07AM

14
#1559 - JvdB01 / @JvdB001

05/08/2019 at 10:07AM

14
#1560 - mark / @feltnermj

06/07/2019 at 03:46PM