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

1520 active golfers, 3687 entries

Leaderboard (lowest score wins):
13
#1471 - olopost / @olopost

04/25/2015 at 09:01AM

13
#1472 - Ken Powers / @knpwrs

05/19/2015 at 03:07AM

13
#1473 - Dustin McBride / @dustinbm

06/01/2017 at 11:14PM

14
#1474 - madka / @lachrimae_pavan

08/01/2014 at 03:51PM

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

08/02/2014 at 06:20AM

14
#1476 - Mohamed Bassem / @MohamedBassem

08/06/2014 at 09:36AM

14
#1477 - Lily / @lilibethdlc

09/03/2014 at 06:57AM

14
#1478 - Aria / @AriaMoKr

09/08/2014 at 07:54PM

14
#1479 - bluehat / @b1u3h4t

09/17/2014 at 03:58PM

14
#1480 - a b / @c00_a

01/19/2015 at 01:38PM

14
#1481 - Zachary Daniel / @ZacharySDaniel

01/26/2015 at 10:23PM

14
#1482 - darfontz sucks / @buttsToTheSky

08/25/2015 at 05:51PM

14
#1483 - Benjamin Rausch / @DubbsSmacker44

12/06/2015 at 08:59AM

14
#1484 - Mendel Simon / @agentms11

12/13/2015 at 05:59PM

14
#1485 - Niru Maheswaranathan / @niru_m

04/03/2016 at 10:24PM

14
#1486 - bytespirit / @bytespirit1

05/03/2016 at 04:24PM

14
#1487 - Jake S / @jakeseiden

05/13/2016 at 01:27PM

14
#1488 - Dominik / @domschrei

05/18/2016 at 10:32PM

14
#1489 - Stop and think / @ms_uncountable

07/06/2017 at 10:25AM

14
#1490 - Pierre Dorbais / @chdorb

08/08/2018 at 04:17PM

14
#1491 - Jurica / @Jurica34581259

11/15/2018 at 12:37AM

14
#1492 - 강현 / @Applesquiz

01/22/2019 at 12:01PM

15
#1493 - Matthew Barrington / @mbarrin

07/30/2014 at 09:14PM

15
#1494 - Jorge Chao / @MalcomOSX

08/11/2014 at 06:48PM

15
#1495 - Z Mrowicki / @Zmrowicki

10/29/2014 at 02:59AM

15
#1496 - bo-yu huang / @good5dog5

11/11/2014 at 08:39AM

15
#1497 - Virassamy Yohan / @Yoh_Ahn

12/15/2014 at 03:58PM

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

05/27/2015 at 11:01PM

15
#1499 - Noah Gumbert / @Noahrama

07/01/2016 at 04:34AM

15
#1500 - Martynas Bardauskas / @mbardauskas

08/04/2016 at 02:23PM