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

1897 active golfers, 4813 entries

Leaderboard (lowest score wins):
8
#1351 - churaki / @churaki

01/30/2019 at 11:36AM

8
#1352 - Marc Päpper / @mpaepper

01/31/2019 at 04:39AM

8
#1353 - PJ Frazer / @pj_frazer

02/05/2019 at 01:18AM

8
#1354 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:50AM

8
#1355 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:05AM

8
#1356 - tenteke / @kuskus3

02/16/2019 at 02:41PM

8
#1357 - Anthony Catterwell / @ACatterwell

03/11/2019 at 12:42AM

8
#1358 - Isaak Meier / @IsaakMeier

03/12/2019 at 04:43PM

8
#1359 - chenqiqi / @chenqiqi13

03/13/2019 at 05:53AM

8
#1360 - Amado Antonini / @AmadoAntonini

03/17/2019 at 04:41PM

8
#1361 - əarth simulator / @eidoloncity

03/19/2019 at 04:22PM

8
#1362 - enji / @enji_ja

03/19/2019 at 04:46PM

8
#1363 - Parsa Amini / @ParsaAmini

03/20/2019 at 07:12PM

8
#1364 - Duke Du / @DukeDu2

04/03/2019 at 03:36AM

8
#1365 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 03:34AM

8
#1366 - Timothy Bryan / @tim_bryan

04/10/2019 at 03:38PM

8
#1367 - Branden Clark / @clarkb_cs

04/19/2019 at 06:33AM

8
#1368 - Gitsnik / @dracyrys

04/22/2019 at 11:37AM

8
#1369 - Adam Rajnoha / @krasohled

04/23/2019 at 01:11PM

8
#1370 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:55AM

8
#1371 - Nico W. / @AirlessAtmo

05/08/2019 at 01:20PM

8
#1372 - Arno / @arnoxmp

05/10/2019 at 03:12PM

8
#1373 - 2xRon / @2cdotRon

05/15/2019 at 03:43AM

8
#1374 - alexandrasou / @alexandrasou2

05/22/2019 at 01:45PM

8
#1375 - Edan Sneh / @edan_sneh

06/04/2019 at 07:52AM

8
#1376 - albalitz / @_albalitz

06/05/2019 at 08:46AM

8
#1377 - Graeme Smith / @InstaGraeme

06/07/2019 at 10:40AM

8
#1378 - Tyler Wilcock / @tylerwilcock

06/07/2019 at 04:12PM

8
#1379 - Thomas Hickman / @thomaskhickman

06/08/2019 at 12:37PM

8
#1380 - JonasS / @jonas42s

06/08/2019 at 02:55PM