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

1489 active golfers, 3609 entries

Leaderboard (lowest score wins):
7
#361 - Malte R / @maltoe

05/11/2016 at 09:40AM

7
#362 - Atrament / @Atrament

05/11/2016 at 04:55PM

7
#363 - Nigel Rahkola / @NinjaRahkola

05/11/2016 at 10:08PM

7
#364 - aestetix / @aestetix

05/17/2016 at 10:49AM

7
#365 - Andres Araya / @arayaandresfco

05/20/2016 at 03:35PM

7
#366 - Tom / @CronutFacts

05/21/2016 at 01:25AM

7
#367 - (,,꒪꒫꒪,,) / @sneer

05/21/2016 at 02:52AM

7
#368 - John Doe Sr. / @johndoe67890543

05/28/2016 at 04:52PM

7
#369 - Yudi Matsuzake / @yudimatsuzake

05/28/2016 at 08:41PM

7
#370 - Nicola Coretti / @NiCoRetti

05/31/2016 at 07:21PM

7
#371 - Ryan Dwyer / @ryan_dwyer

06/05/2016 at 11:31AM

7
#372 - Elliott Beach / @718282Beach

06/06/2016 at 05:30AM

7
#373 - Tai Le Tien / @letientai299

06/11/2016 at 01:15PM

7
#374 - jan sos / @jann6373

06/12/2016 at 03:37PM

7
#375 - Zed Byrne / @ZeByrne

06/13/2016 at 09:53AM

7
#376 - Foo Bar / @foobar01123

06/14/2016 at 12:43PM

7
#377 - Artūras Zakrevskis / @AZakrevskis

06/16/2016 at 12:17PM

7
#378 - Tautvilas / @TautviIas

06/16/2016 at 12:20PM

7
#379 - Arijus / @argshook

06/16/2016 at 12:23PM

7
#380 - TaoChen / @632143592Tao

06/17/2016 at 07:07AM

7
#381 - =raf / @equalsraf

06/17/2016 at 09:29AM

7
#382 - Ameen P / @Ameen_P1

06/18/2016 at 09:44AM

7
#383 - Paweł Smołka / @pawelsmolka

06/21/2016 at 02:26PM

7
#384 - Victorien Lorcy / @LorcyVictorien

06/23/2016 at 08:33AM

7
#385 - Vaisian / @Vaisian

07/06/2016 at 05:36PM

7
#386 - Girish Gokul / @girishgoku

07/14/2016 at 04:55AM

7
#387 - Dan Madden / @guthran

07/15/2016 at 02:54PM

7
#388 - Darius Smaliukas / @daraz999

07/19/2016 at 07:39PM

7
#389 - Alonzo / @tolver_a

07/22/2016 at 10:43PM

7
#390 - Zach Bush / @zmbush

07/25/2016 at 06:16PM