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

1557 active golfers, 3801 entries

Leaderboard (lowest score wins):
7
#271 - Mike Adams / @davis_cromwell

09/27/2015 at 09:22PM

7
#272 - Joel N. / @cboar_

09/28/2015 at 04:54AM

7
#273 - Self Doc Code / @self_doc_code

09/28/2015 at 07:00AM

7
#274 - Douglas Perrin / @Deznormal

09/28/2015 at 09:07PM

7
#275 - Walker Boh / @walker_boh

09/30/2015 at 10:30AM

7
#276 - 이 철희 / @leechulhee95

10/02/2015 at 04:10PM

7
#277 - Julian Andrews / @NoLemurs

10/03/2015 at 03:50AM

7
#278 - compuserved / @compuserved

10/04/2015 at 05:13AM

7
#279 - ojung / @oskrjung

10/04/2015 at 11:08PM

7
#280 - Ali Moeeny / @alimoeeny

10/05/2015 at 11:58AM

7
#281 - Aravind Anbu / @aru777

10/06/2015 at 02:47AM

7
#282 - LordFoom / @LordFoom

10/09/2015 at 08:52AM

7
#283 - Stani Banani / @Stani_Banani

10/14/2015 at 12:24AM

7
#284 - Anno / @AnnoVinyl

10/15/2015 at 03:38PM

7
#285 - Domingue Justin / @_jdomingue

10/15/2015 at 04:36PM

7
#286 - Ершов Иван / @ivanershov51

10/20/2015 at 06:46PM

7
#287 - Campbell Davis / @Campbell_Dav

10/24/2015 at 10:54PM

7
#288 - Peter / @sunirbmag

10/25/2015 at 04:34PM

7
#289 - Jacob Steffler / @jacobsteffler

10/27/2015 at 01:54AM

7
#290 - Eduardo Reyes / @EduardoReyesT

10/29/2015 at 11:24PM

7
#291 - Justin Sermeno / @justinsermeno

10/29/2015 at 11:53PM

7
#292 - Benjamin Espey / @bennyty

11/07/2015 at 12:33AM

7
#293 - Curt Matz / @sitrucz

11/12/2015 at 09:16PM

7
#294 - Ryuichiro / @ryuichiro44

11/20/2015 at 02:09AM

7
#295 - AD / @Lievr0

11/21/2015 at 09:10AM

7
#296 - ハチポケッツ / @8pockets

11/24/2015 at 12:06AM

7
#297 - JoeyLyn / @JJoofk

11/24/2015 at 01:27PM

7
#298 - Silvio Dante / @FlightWhite77

11/25/2015 at 11:44AM

7
#299 - Stefan Larsson / @Objektiv

11/25/2015 at 06:22PM

7
#300 - iershov / @thorny_hamster

11/27/2015 at 01:38PM