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):
8
#1111 - Cristian Lupașcu / @clupasq

02/02/2016 at 03:17PM

8
#1112 - Durga Swaroop Perla / @durgaswaroop

02/04/2016 at 08:22AM

8
#1113 - TerribleTrioJoe / @terribletriojoe

02/09/2016 at 09:00PM

8
#1114 - Haron Shihab / @HaronShihab

02/10/2016 at 01:55PM

8
#1115 - Janine Cheng / @janineist

02/12/2016 at 03:47PM

8
#1116 - Sebastian Pardo / @sebpardo

02/18/2016 at 08:12PM

8
#1117 - John Finn / @johnvfinn7

02/19/2016 at 06:30AM

8
#1118 - udreki / @udreki

02/20/2016 at 06:41AM

8
#1119 - Peeby Thirtyone / @peeby31

02/20/2016 at 06:45PM

8
#1120 - Kostas / @blackraven_13

02/22/2016 at 06:36AM

8
#1121 - Stephen / @StephenPek

02/23/2016 at 06:00AM

8
#1122 - hardaudit / @hardaudit

02/24/2016 at 04:01PM

8
#1123 - Robert Wooner / @RobertWooner

02/28/2016 at 11:56PM

8
#1124 - Caleb Roberts / @calebmail2012

02/29/2016 at 09:36PM

8
#1125 - Zach Gulde / @zgulde

03/01/2016 at 05:57AM

8
#1126 - Michel Ganguin / @tinycrazyfish

03/02/2016 at 10:38AM

8
#1127 - Marc Coquand / @MarcCoquand

03/02/2016 at 11:45PM

8
#1128 - Jan Bundesmann / @janbundesmann

03/04/2016 at 09:46AM

8
#1129 - Rubén Chavarría T. / @rchavarriat

03/09/2016 at 07:52AM

8
#1130 - Dimitar Dimitrov / @kurkale6ka

03/09/2016 at 10:09AM

8
#1131 - Mike G / @MikeG39938619

03/18/2016 at 10:51AM

8
#1132 - hans peter / @mullovc

03/21/2016 at 10:04PM

8
#1133 - しむ。 / @sims625

03/24/2016 at 01:24AM

8
#1134 - Defts = DvToons / @defts

03/25/2016 at 08:03AM

8
#1135 - Janko Jerinic / @JankoJerinic

03/26/2016 at 08:18AM

8
#1136 - Chenut Ludovic / @7Brwa7

03/31/2016 at 08:33PM

8
#1137 - lilach adir / @leelaRed

04/03/2016 at 11:12AM

8
#1138 - Alex Pelavin / @Lazzer64

04/05/2016 at 11:51PM

8
#1139 - micro J / @microjoint

04/07/2016 at 04:55PM

8
#1140 - Super Cheezy Guy / @_SuperCheezyGuy

04/10/2016 at 03:03AM