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

1619 active golfers, 3973 entries

Leaderboard (lowest score wins):
8
#1081 - Etienne Florent / @EtienneFlorent

11/22/2016 at 10:33AM

8
#1082 - Liam S Ismail / @AC01Y

12/07/2016 at 03:17AM

8
#1083 - Sarin Durong / @Sarin4Du

12/11/2016 at 03:13PM

8
#1084 - Brian Phelps / @electronjunkie

12/13/2016 at 01:15AM

8
#1085 - Michał Dytko / @DytkoM

12/19/2016 at 02:41PM

8
#1086 - John lolcats Manst / @lolcatsman

12/21/2016 at 02:11PM

8
#1087 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 05:38PM

8
#1088 - chocolate / @chocola81394123

12/22/2016 at 01:32PM

8
#1089 - Igor Doroshenko / @Vernittem

12/25/2016 at 03:37PM

8
#1090 - Sven R / @Sven73de

01/02/2017 at 02:23PM

8
#1091 - Jan Eisenhauer / @EisenhauerJan

01/02/2017 at 09:29PM

8
#1092 - Hans Yelek / @hans_yelek

01/09/2017 at 08:21PM

8
#1093 - Michael Hoffmann / @micha66545852

03/02/2017 at 02:19PM

8
#1094 - Kritixi Lithos / @kritixilithos

03/02/2017 at 07:03PM

8
#1095 - Colin Jacobs / @coljac

03/14/2017 at 11:26AM

8
#1096 - caplod / @caplod

03/25/2017 at 10:40AM

8
#1097 - Adam Kożuch / @adamkozuch

04/06/2017 at 07:30AM

8
#1098 - ネギ / @NegiGreenWhite

04/07/2017 at 04:18PM

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

04/10/2017 at 10:24AM

8
#1100 - Rolf K. / @mindleftbody

05/04/2017 at 07:06PM

8
#1101 - Hocan Eittbe / @fifthwallfly

05/11/2017 at 04:54PM

8
#1102 - python-tweepy / @python_tweepy

05/16/2017 at 04:03AM

8
#1103 - Bjoern M. Wibben / @bjoernwibben

05/18/2017 at 08:53AM

8
#1104 - linealloop / @linealloop

05/18/2017 at 11:39PM

8
#1105 - almostdvs / @almostdvs

05/23/2017 at 03:01AM

8
#1106 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:42AM

8
#1107 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:15PM

8
#1108 - James Maguire / @3rdMaguire

06/12/2017 at 06:14AM

8
#1109 - Guillaume / @WeshGuillaume

06/23/2017 at 02:20PM

8
#1110 - Harsh Kumar / @datsleepyguy

06/24/2017 at 03:59PM