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

1662 active golfers, 4122 entries

Leaderboard (lowest score wins):
8
#1111 - Hans Yelek / @hans_yelek

01/09/2017 at 08:21PM

8
#1112 - Michael Hoffmann / @micha66545852

03/02/2017 at 02:19PM

8
#1113 - Kritixi Lithos / @kritixilithos

03/02/2017 at 07:03PM

8
#1114 - Colin Jacobs / @coljac

03/14/2017 at 11:26AM

8
#1115 - caplod / @caplod

03/25/2017 at 10:40AM

8
#1116 - Adam Kożuch / @adamkozuch

04/06/2017 at 07:30AM

8
#1117 - ネギ / @NegiGreenWhite

04/07/2017 at 04:18PM

8
#1118 - Миша Сорокин / @rafmikovi4

04/10/2017 at 10:24AM

8
#1119 - Rolf K. / @mindleftbody

05/04/2017 at 07:06PM

8
#1120 - Hocan Eittbe / @fifthwallfly

05/11/2017 at 04:54PM

8
#1121 - python-tweepy / @python_tweepy

05/16/2017 at 04:03AM

8
#1122 - Bjoern M. Wibben / @bjoernwibben

05/18/2017 at 08:53AM

8
#1123 - linealloop / @linealloop

05/18/2017 at 11:39PM

8
#1124 - almostdvs / @almostdvs

05/23/2017 at 03:01AM

8
#1125 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:42AM

8
#1126 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:15PM

8
#1127 - James Maguire / @3rdMaguire

06/12/2017 at 06:14AM

8
#1128 - Guillaume / @WeshGuillaume

06/23/2017 at 02:20PM

8
#1129 - Harsh Kumar / @datsleepyguy

06/24/2017 at 03:59PM

8
#1130 - Avian Y / @y_avian

06/29/2017 at 06:04AM

8
#1131 - John Marks / @__jmarks

07/03/2017 at 08:39PM

8
#1132 - Rob Smolinski / @scottymcribs

07/04/2017 at 08:42PM

8
#1133 - Dick Quixly / @DickQuixly

07/09/2017 at 02:29PM

8
#1134 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 10:29AM

8
#1135 - grigouille / @grigouille2

07/11/2017 at 11:30AM

8
#1136 - Thomas Steinbach / @thomasstei

07/18/2017 at 07:41AM

8
#1137 - Anne Pacalet / @_Anne_P

07/19/2017 at 11:19AM

8
#1138 - Vedro / @Vedro03557622

07/27/2017 at 10:30PM

8
#1139 - Noah Gamboa / @noah80774444

07/29/2017 at 08:47PM

8
#1140 - Jonas Sunde V / @sunde_v

08/04/2017 at 03:40PM