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

1591 active golfers, 3901 entries

Leaderboard (lowest score wins):
7
#541 - Romain D. / @r_dulery

02/06/2018 at 07:29PM

7
#542 - Jacob Tailor / @spydronex

02/12/2018 at 09:54PM

7
#543 - Yousef Mohamed / @MohamedYoyo94

02/16/2018 at 10:57PM

7
#544 - LC / @leeren

03/01/2018 at 10:02AM

7
#545 - bruno / @LokoPoggi

03/03/2018 at 04:16AM

7
#546 - Guirec CORBEL / @GuirecCorbel

03/06/2018 at 01:53AM

7
#547 - Vim Golf / @VimgolfVim

04/01/2018 at 05:00AM

7
#548 - towc / @MateiCopot

04/03/2018 at 10:57AM

7
#549 - Pablo / @suspekt007

04/09/2018 at 08:48PM

7
#550 - 서강훈 / @shirano150

04/10/2018 at 07:52AM

7
#551 - DHM / @DHM29978992

04/12/2018 at 02:42AM

7
#552 - Matt Fister / @Mistah_Fistah

04/18/2018 at 04:54AM

7
#553 - radrhin / @radrhin

04/19/2018 at 08:06PM

7
#554 - Alex Budilovsky / @alexbudy

05/02/2018 at 01:54AM

7
#555 - Liam Chimes / @ChimesLiam

05/02/2018 at 10:27AM

7
#556 - Kaydo Alders / @Yousousen

05/07/2018 at 09:10PM

7
#557 - STRIKER-san / @frstrikersan

06/05/2018 at 11:25AM

7
#558 - 石奕心 / @allenshih1

06/07/2018 at 04:02PM

7
#559 - Davidoir / @Davidoir

06/13/2018 at 09:39AM

7
#560 - Daniël De Koker / @daniel_koker

06/17/2018 at 08:43AM

7
#561 - omrisarig / @omrisarig

06/22/2018 at 02:33PM

7
#562 - eL Bunda / @elbund4

06/23/2018 at 06:54PM

7
#563 - Paul Jones / @thepauljones

06/25/2018 at 01:20PM

7
#564 - Marcos Almeida / @almeidamarcos_

06/30/2018 at 04:09PM

7
#565 - sspan / @sspantz

07/03/2018 at 03:15AM

7
#566 - Henry Woolenthorpe / @woolenthorpe

07/04/2018 at 01:55AM

7
#567 - Gemille Ford / @gemilleford

07/06/2018 at 12:49AM

7
#568 - ¬¬¬ ¬¬¬ / @WLq3KGhxohrCPl1

07/09/2018 at 04:10AM

7
#569 - mass / @mass256

07/09/2018 at 05:48AM

7
#570 - Dylan Waits / @pianoman320

07/15/2018 at 03:22AM