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

1670 active golfers, 4149 entries

Leaderboard (lowest score wins):
9
#1501 - Karol / @kruzelecki

02/16/2017 at 12:35PM

9
#1502 - ek / @bitwisexornull

03/15/2017 at 11:05AM

9
#1503 - Mitchell / @Spitchell

03/15/2017 at 03:37PM

9
#1504 - John Wilson / @Login4anonymity

03/18/2017 at 09:16AM

9
#1505 - Jason Hooper 🇨🇦 / @jasonincanada

04/23/2017 at 01:46AM

9
#1506 - R3s1stanc3 / @r3s1stanc3_

04/23/2017 at 08:28AM

9
#1507 - Pratik Prasad / @pratik

04/30/2017 at 04:10PM

9
#1508 - Alexander Gryson / @agryson

05/01/2017 at 03:18PM

9
#1509 - IgnatiusMcGowan / @IgnatiusMcGowan

05/24/2017 at 01:43AM

9
#1510 - Paweł Styczewski / @kryspuss

07/05/2017 at 11:45AM

9
#1511 - Ildar Gilfanov / @Ildar_Razin

07/21/2017 at 07:25PM

9
#1512 - Marcin Paliwoda / @eukaliptuss

08/25/2017 at 02:32PM

9
#1513 - k4 / @k4limschka

08/30/2017 at 01:47PM

9
#1514 - Robert Max Williams / @MaxPhurich

09/11/2017 at 11:55PM

9
#1515 - Ty Wince / @tylerwince

09/27/2017 at 06:54PM

9
#1516 - Geoff / @RealGeoffErwin

09/29/2017 at 01:45PM

9
#1517 - Luis Pigueiras / @LPigueiras

10/31/2017 at 02:02PM

9
#1518 - BPD / @brian_doyle

11/14/2017 at 01:31PM

9
#1519 - Sebastian Wieland / @oktupol

01/19/2018 at 02:26PM

9
#1520 - aaasdasd / @aaasdasd4

01/21/2018 at 07:34AM

9
#1521 - TachyG / @Tachypsychique

01/29/2018 at 01:50PM

9
#1522 - Simon Cheng / @bambooraccoon

02/06/2018 at 03:41PM

9
#1523 - Tim / @timothyscosta

04/02/2018 at 07:34AM

9
#1524 - David Jenkinson / @eighty8t8

04/26/2018 at 06:50AM

9
#1525 - Justin Hoyt / @JustinHoyt24

05/03/2018 at 08:38PM

9
#1526 - autological_being / @metaporias

05/04/2018 at 03:06PM

9
#1527 - Luke Lee / @luke0201

05/06/2018 at 05:10AM

9
#1528 - Александърт / @a_lazaroff

06/07/2018 at 01:33PM

9
#1529 - z0c / @zerocabal

06/11/2018 at 04:18PM

9
#1530 - Just...That / @I_am_JustThat

06/19/2018 at 08:56PM