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

1695 active golfers, 4218 entries

Leaderboard (lowest score wins):
8
#1051 - Janko Jerinic / @JankoJerinic

03/26/2016 at 08:18AM

8
#1052 - Chenut Ludovic / @7Brwa7

03/31/2016 at 08:33PM

8
#1053 - lilach adir / @leelaRed

04/03/2016 at 11:12AM

8
#1054 - Alex Pelavin / @Lazzer64

04/05/2016 at 11:51PM

8
#1055 - micro J / @microjoint

04/07/2016 at 04:55PM

8
#1056 - Super Cheezy Guy / @_SuperCheezyGuy

04/10/2016 at 03:03AM

8
#1057 - Frostyfrog / @frostyfrog2

04/11/2016 at 08:45PM

8
#1058 - Clémence / @Clemence_Neoxia

04/12/2016 at 07:45AM

8
#1059 - Dani El / @tequnix

04/13/2016 at 12:51PM

8
#1060 - Champion Pierre / @Pierre_darkirus

04/15/2016 at 04:14PM

8
#1061 - abhinavgujjar / @abhinavgujjar

04/15/2016 at 05:45PM

8
#1062 - Vaughn Cato / @vaughncato

04/18/2016 at 03:01AM

8
#1063 - Yanis KHORSI / @YanisKHORSI

04/20/2016 at 02:16PM

8
#1064 - jb M / @Jiboo_hey

04/20/2016 at 07:14PM

8
#1065 - Shawn Wallis / @bote52469207

04/21/2016 at 04:11AM

8
#1066 - tPenguinLTG / @tpenguinltg

04/25/2016 at 04:52AM

8
#1067 - T. Sakuma / @taku39

04/30/2016 at 03:33PM

8
#1068 - Zeca / @zeca_foz

05/03/2016 at 02:04PM

8
#1069 - iNaKoll / @iNaKoll

05/07/2016 at 06:26PM

8
#1070 - alex / @4lex

05/10/2016 at 02:54AM

8
#1071 - george iv / @geowa4

05/14/2016 at 03:33AM

8
#1072 - niels aamloos / @AamloosNiels

05/28/2016 at 01:15PM

8
#1073 - tgmeng / @lazy_fabric

06/08/2016 at 02:59PM

8
#1074 - Gabriel Tailor / @gabriel_tailor

06/10/2016 at 03:33AM

8
#1075 - Pablo Cobelli / @pablocobelli

06/21/2016 at 03:09AM

8
#1076 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 06:44AM

8
#1077 - Kinster Ramscote / @RamscoteAgjbba

06/27/2016 at 11:36PM

8
#1078 - Reuben Huxley / @missiontocode

06/29/2016 at 10:07PM

8
#1079 - Stephan Bugnon / @stephanbugnon

07/04/2016 at 04:16PM

8
#1080 - George Aiken / @QuackBookPro

07/05/2016 at 02:58PM