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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
8
#1141 - Rubén Chavarría T. / @rchavarriat

03/09/2016 at 07:52AM

8
#1142 - Dimitar Dimitrov / @kurkale6ka

03/09/2016 at 10:09AM

8
#1143 - Mike G / @MikeG39938619

03/18/2016 at 10:51AM

8
#1144 - hans peter / @mullovc

03/21/2016 at 10:04PM

8
#1145 - しむ。 / @sims625

03/24/2016 at 01:24AM

8
#1146 - Defts = DvToons / @defts

03/25/2016 at 08:03AM

8
#1147 - Janko Jerinic / @JankoJerinic

03/26/2016 at 08:18AM

8
#1148 - Chenut Ludovic / @7Brwa7

03/31/2016 at 08:33PM

8
#1149 - lilach adir / @leelaRed

04/03/2016 at 11:12AM

8
#1150 - Alex Pelavin / @Lazzer64

04/05/2016 at 11:51PM

8
#1151 - micro J / @microjoint

04/07/2016 at 04:55PM

8
#1152 - Super Cheezy Guy / @_SuperCheezyGuy

04/10/2016 at 03:03AM

8
#1153 - Frosty ❄️🌨️ @frostyfrog@vtubers.site / @frostyfrog2

04/11/2016 at 08:45PM

8
#1154 - Clémence / @Clemence_Neoxia

04/12/2016 at 07:45AM

8
#1155 - Dani El / @tequnix

04/13/2016 at 12:51PM

8
#1156 - Champion Pierre / @Pierre_darkirus

04/15/2016 at 04:14PM

8
#1157 - abhinavgujjar / @abhinavgujjar

04/15/2016 at 05:45PM

8
#1158 - Vaughn Cato / @vaughncato

04/18/2016 at 03:01AM

8
#1159 - Yanis KHORSI / @YanisKHORSI

04/20/2016 at 02:16PM

8
#1160 - jb M / @Jiboo_hey

04/20/2016 at 07:14PM

8
#1161 - Shawn Wallis / @bote52469207

04/21/2016 at 04:11AM

8
#1162 - tPenguinLTG / @tpenguinltg

04/25/2016 at 04:52AM

8
#1163 - T. Sakuma / @taku39

04/30/2016 at 03:33PM

8
#1164 - Zeca / @zeca_foz

05/03/2016 at 02:04PM

8
#1165 - iNaKoll / @iNaKoll

05/07/2016 at 06:26PM

8
#1166 - alex / @4lex

05/10/2016 at 02:54AM

8
#1167 - george iv / @geowa4

05/14/2016 at 03:33AM

8
#1168 - niels aamloos / @AamloosNiels

05/28/2016 at 01:15PM

8
#1169 - tgmeng / @lazy_fabric

06/08/2016 at 02:59PM

8
#1170 - Gabriel Tailor / @gabriel_tailor

06/10/2016 at 03:33AM