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

1621 active golfers, 3977 entries

Leaderboard (lowest score wins):
7
#421 - Davis Fields / @i301585

11/04/2016 at 10:21PM

7
#422 - vim golf wolfe / @vimwolfe

11/05/2016 at 11:32PM

7
#423 - timerella® / @timerella

11/16/2016 at 11:42PM

7
#424 - Alan Turing / @alantrng

11/18/2016 at 12:09PM

7
#425 - i1464083 / @i1464083

11/18/2016 at 01:35PM

7
#426 - Alexander / @vlasyuk_a

11/23/2016 at 05:28PM

7
#427 - Jon Louie / @jjisnow

11/24/2016 at 02:16AM

7
#428 - Wessel Sinnema / @wsinnema

11/27/2016 at 07:50PM

7
#429 - floccwins / @floccwins

12/13/2016 at 01:58PM

7
#430 - Douglas Roper / @dougdroper

12/20/2016 at 04:14PM

7
#431 - Pierre Maoui / @poupougnac

12/20/2016 at 04:33PM

7
#432 - Eduardo Hashimoto / @eduhashi

12/27/2016 at 10:39PM

7
#433 - Jakob Schnell / @Koebischnell

12/28/2016 at 08:45PM

7
#434 - Patrick Sanan / @patricksanan

01/07/2017 at 11:00AM

7
#435 - Alexey Filonenko / @BrightOne_LS

01/07/2017 at 08:42PM

7
#436 - Harsh Pareek / @harshhpareek

01/15/2017 at 08:47PM

7
#437 - ZW / @ZW73226885

01/24/2017 at 06:34PM

7
#438 - Marcin / @Marcin89439917

01/30/2017 at 09:24AM

7
#439 - Benedikt Ames / @wisp3rwind

01/30/2017 at 11:03PM

7
#440 - Zhihong Liu / @pieapple03

02/06/2017 at 02:36PM

7
#441 - Joaquin Coronel / @cantstoptheguac

02/10/2017 at 10:36PM

7
#442 - Cù Hữu Hoàng / @Cuhuuhoang

02/14/2017 at 04:25PM

7
#443 - Le Bray Johan / @ShadTheUseless

02/19/2017 at 02:48PM

7
#444 - Yann / @yannstad

02/19/2017 at 08:28PM

7
#445 - Tim Grebien / @tiggg

02/21/2017 at 02:16PM

7
#446 - gturri / @g_turri

02/22/2017 at 08:31AM

7
#447 - Dan Prince / @danj_prince

02/25/2017 at 01:52AM

7
#448 - Vimgolf / @vimgolf987

02/26/2017 at 08:32PM

7
#449 - Silhouettry / @silhouettry

02/28/2017 at 09:21AM

7
#450 - Márton Németh / @nemarci42

03/01/2017 at 12:52PM