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

1671 active golfers, 4150 entries

Leaderboard (lowest score wins):
15
#1651 - Fabian Bull / @peri4n

01/28/2019 at 01:27AM

15
#1652 - Zach E-R / @Tweet_First

05/20/2019 at 12:21PM

15
#1653 - Jakob / @sucaml

07/29/2019 at 09:04AM

15
#1654 - José / @AngelGaldamez

08/26/2019 at 11:04PM

16
#1655 - Claus Witt / @clauswitt

12/16/2014 at 03:22PM

16
#1656 - Christian Guenter / @chris_guenter

05/23/2015 at 08:50AM

16
#1657 - Michael Hagl / @MichaelHagl

05/02/2016 at 03:48PM

16
#1658 - Nat / @ntzm_

07/18/2016 at 07:11AM

16
#1659 - jack / @jack28887741

02/21/2017 at 02:49PM

16
#1660 - Jess / @Jess74311450

06/13/2019 at 03:25PM

17
#1661 - したろう / @shitaro2012

01/02/2015 at 09:04AM

17
#1662 - Rich Archer / @ArcherRJ

01/15/2016 at 07:38PM

17
#1663 - walter sullivan / @walters82208305

02/19/2016 at 04:45PM

17
#1664 - Lidiya Ponomareva / @LidiyaPonomare3

12/05/2019 at 07:24PM

18
#1665 - Ryan O'Donnell / @bt_ryanodonnell

08/08/2014 at 03:55PM

18
#1666 - Justin Knag / @justinknag

08/24/2014 at 07:06AM

20
#1667 - слизький скун / @MoufetteBaveuse

03/26/2019 at 10:38AM

21
#1668 - timrich / @timrich

11/16/2014 at 12:08PM

22
#1669 - Misbah Khan / @themisbahkhan

10/30/2015 at 04:02PM

22
#1670 - Nick / @Nick05348019

06/08/2019 at 06:04PM

23
#1671 - Theodore DeRego / @tedsta0

12/08/2015 at 03:14AM