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

1747 active golfers, 4338 entries

Leaderboard (lowest score wins):
8
#1291 - Parsa Amini / @ParsaAmini

03/20/2019 at 07:12PM

8
#1292 - Duke Du / @DukeDu2

04/03/2019 at 03:36AM

8
#1293 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 03:34AM

8
#1294 - Timothy Bryan / @tim_bryan

04/10/2019 at 03:38PM

8
#1295 - Branden Clark / @clarkb_cs

04/19/2019 at 06:33AM

8
#1296 - Gitsnik / @dracyrys

04/22/2019 at 11:37AM

8
#1297 - Adam Rajnoha / @krasohled

04/23/2019 at 01:11PM

8
#1298 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:55AM

8
#1299 - Nico W. / @AirlessAtmo

05/08/2019 at 01:20PM

8
#1300 - Arno / @arnoxmp

05/10/2019 at 03:12PM

8
#1301 - 2xRon / @2cdotRon

05/15/2019 at 03:43AM

8
#1302 - alexandrasou / @alexandrasou2

05/22/2019 at 01:45PM

8
#1303 - Edan Sneh / @edan_sneh

06/04/2019 at 07:52AM

8
#1304 - albalitz / @_albalitz

06/05/2019 at 08:46AM

8
#1305 - Graeme Smith / @InstaGraeme

06/07/2019 at 10:40AM

8
#1306 - Tyler Wilcock / @tylerwilcock

06/07/2019 at 04:12PM

8
#1307 - Thomas Hickman / @thomaskhickman

06/08/2019 at 12:37PM

8
#1308 - JonasS / @jonas42s

06/08/2019 at 02:55PM

8
#1309 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 02:24PM

8
#1310 - Johannes / @joka253

06/20/2019 at 04:13PM

8
#1311 - Chester Yap / @Chest_ErYap

07/07/2019 at 04:39AM

8
#1312 - Peter Demin / @peterdemin

07/11/2019 at 06:36PM

8
#1313 - Floyd Gantt / @fgantt

07/12/2019 at 08:37PM

8
#1314 - Crystal L / @Cartsly

07/13/2019 at 10:01PM

8
#1315 - Neil Struthers / @struthersneil

07/16/2019 at 02:29PM

8
#1316 - Marcus Loo / @MarcusLoo1

07/17/2019 at 11:34PM

8
#1317 - bpseudopod / @bpseudopod

07/18/2019 at 05:43PM

8
#1318 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:17AM

8
#1319 - Markus / @ARealAnnoyance

07/30/2019 at 01:28PM

8
#1320 - Pittson / @Pittson95

07/31/2019 at 07:44PM