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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
9
#1531 - nonplus / @nonplus_

11/25/2014 at 11:43PM

9
#1532 - Christopher Brew / @Seph1rothVII

12/02/2014 at 12:49AM

9
#1533 - Yoav Weiss / @yoavweiss

12/03/2014 at 06:07AM

9
#1534 - Daniel Rødskog / @daniero

12/10/2014 at 09:36PM

9
#1535 - きよ / @Mr_kiyo

12/18/2014 at 01:36PM

9
#1536 - Lunar Mayor / @Lunarmayor

12/18/2014 at 02:41PM

9
#1537 - 黄锦 / @hujin1860

12/21/2014 at 04:48PM

9
#1538 - r. / @rmarvie

12/26/2014 at 12:51PM

9
#1539 - Tact Overflow / @muppling

12/29/2014 at 09:23AM

9
#1540 - Bernardo Amorim / @BernardoDCGA

12/31/2014 at 03:58AM

9
#1541 - Russell Ball / @rtball2

01/02/2015 at 07:31PM

9
#1542 - Piotr G. / @gbdlin

01/04/2015 at 08:41PM

9
#1543 - Aaron Whittington / @whittaaron

01/16/2015 at 01:34AM

9
#1544 - Carlos A Henríquez Q / @lagunex

01/18/2015 at 03:42PM

9
#1545 - jagardaniel / @jagardaniel

01/19/2015 at 01:29AM

9
#1546 - Raingomm / @raingomm

01/19/2015 at 07:32AM

9
#1547 - Иоаннъ / @Vaneskot

01/22/2015 at 08:18AM

9
#1548 - air wick / @airwickc

01/23/2015 at 12:08AM

9
#1549 - gbin / @gbin

01/24/2015 at 08:51PM

9
#1550 - ulrivo / @ulrivo

01/25/2015 at 08:53PM

9
#1551 - SilentFl / @Silent_Fl

01/26/2015 at 11:11AM

9
#1552 - Thomas Larrieu / @t_larrieu

01/29/2015 at 03:55PM

9
#1553 - Sri Kadimisetty / @sri

02/12/2015 at 04:08AM

9
#1554 - か◯りえ / @katorie

02/12/2015 at 05:35AM

9
#1555 - wilddog64 / @chengkai318

02/12/2015 at 09:34PM

9
#1556 - 哆啦比猫 / @cjxgm2

02/13/2015 at 12:47PM

9
#1557 - Алексанр Цыганков / @capybarov

02/13/2015 at 06:50PM

9
#1558 - Pierre Langlois / @_pierrelanglois

02/14/2015 at 02:18PM

9
#1559 - Thomas Brisbout / @le_briz

02/17/2015 at 03:04PM

9
#1560 - Dmitry Zudochkin / @zudochkin

02/17/2015 at 08:15PM