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

1534 active golfers, 3736 entries

Leaderboard (lowest score wins):
14
#1501 - Dominik / @domschrei

05/18/2016 at 10:32PM

14
#1502 - Stop and think / @ms_uncountable

07/06/2017 at 10:25AM

14
#1503 - Pierre Dorbais / @chdorb

08/08/2018 at 04:17PM

14
#1504 - Jurica / @Jurica34581259

11/15/2018 at 12:37AM

14
#1505 - 강현 / @Applesquiz

01/22/2019 at 12:01PM

15
#1506 - Matthew Barrington / @mbarrin

07/30/2014 at 09:14PM

15
#1507 - Jorge Chao / @MalcomOSX

08/11/2014 at 06:48PM

15
#1508 - Z Mrowicki / @Zmrowicki

10/29/2014 at 02:59AM

15
#1509 - bo-yu huang / @good5dog5

11/11/2014 at 08:39AM

15
#1510 - Virassamy Yohan / @Yoh_Ahn

12/15/2014 at 03:58PM

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

05/27/2015 at 11:01PM

15
#1512 - Noah Gumbert / @Noahrama

07/01/2016 at 04:34AM

15
#1513 - Martynas Bardauskas / @mbardauskas

08/04/2016 at 02:23PM

15
#1514 - Batuhan Bayrakçı / @bay_batu

09/24/2016 at 03:10PM

15
#1515 - Matt Walsh / @wattmalsh

02/06/2017 at 02:34AM

15
#1516 - tapio / @gncnaxb

03/12/2018 at 12:53PM

15
#1517 - Tom / @atomgrand

05/02/2018 at 06:27PM

15
#1518 - touilleMan / @touilleMan

07/29/2018 at 11:35PM

15
#1519 - tuyen / @tuyen66827418

11/27/2018 at 03:07PM

15
#1520 - Fabian Bull / @peri4n

01/28/2019 at 01:27AM

16
#1521 - Claus Witt / @clauswitt

12/16/2014 at 03:22PM

16
#1522 - Christian Guenter / @chris_guenter

05/23/2015 at 08:50AM

16
#1523 - Michael Hagl / @MichaelHagl

05/02/2016 at 03:48PM

16
#1524 - Nat / @ntzm_

07/18/2016 at 07:11AM

16
#1525 - jack / @jack28887741

02/21/2017 at 02:49PM

17
#1526 - したろう / @shitaro2012

01/02/2015 at 09:04AM

17
#1527 - Rich Archer / @ArcherRJ

01/15/2016 at 07:38PM

17
#1528 - walter sullivan / @walters82208305

02/19/2016 at 04:45PM

18
#1529 - Ryan O'Donnell / @bt_ryanodonnell

08/08/2014 at 03:55PM

18
#1530 - Justin Knag / @justinknag

08/24/2014 at 07:06AM