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

1891 active golfers, 4796 entries

Leaderboard (lowest score wins):
8
#1201 - Mark Dawson / @drmarkdawson

10/25/2016 at 07:18AM

8
#1202 - Matti Sairanen / @MattiSairanen

11/13/2016 at 08:12PM

8
#1203 - Etienne Florent / @EtienneFlorent

11/22/2016 at 10:33AM

8
#1204 - Liam S Ismail / @AC01Y

12/07/2016 at 03:17AM

8
#1205 - Sarin Durong / @Sarin4Du

12/11/2016 at 03:13PM

8
#1206 - Put me on your list tyrants / @electronjunkie

12/13/2016 at 01:15AM

8
#1207 - Michał Dytko / @DytkoM

12/19/2016 at 02:41PM

8
#1208 - John lolcats Manst / @lolcatsman

12/21/2016 at 02:11PM

8
#1209 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 05:38PM

8
#1210 - chocolate / @chocola81394123

12/22/2016 at 01:32PM

8
#1211 - Igor Doroshenko / @Vernittem

12/25/2016 at 03:37PM

8
#1212 - Sven R / @Sven73de

01/02/2017 at 02:23PM

8
#1213 - Jan Eisenhauer / @EisenhauerJan

01/02/2017 at 09:29PM

8
#1214 - Hans Yelek / @hans_yelek

01/09/2017 at 08:21PM

8
#1215 - Michael Hoffmann / @micha66545852

03/02/2017 at 02:19PM

8
#1216 - Kritixi Lithos / @kritixilithos

03/02/2017 at 07:03PM

8
#1217 - Colin Jacobs / @coljac

03/14/2017 at 11:26AM

8
#1218 - caplod / @caplod

03/25/2017 at 10:40AM

8
#1219 - Adam Kożuch / @adamkozuch

04/06/2017 at 07:30AM

8
#1220 - ネギ / @NegiGreenWhite

04/07/2017 at 04:18PM

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

04/10/2017 at 10:24AM

8
#1222 - Rolf K. / @mindleftbody

05/04/2017 at 07:06PM

8
#1223 - Hocan Eittbe / @fifthwallfly

05/11/2017 at 04:54PM

8
#1224 - python-tweepy / @python_tweepy

05/16/2017 at 04:03AM

8
#1225 - Bjoern M. Wibben / @bjoernwibben

05/18/2017 at 08:53AM

8
#1226 - linealloop / @linealloop

05/18/2017 at 11:39PM

8
#1227 - almostdvs / @almostdvs

05/23/2017 at 03:01AM

8
#1228 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:42AM

8
#1229 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:15PM

8
#1230 - James Maguire / @3rdMaguire

06/12/2017 at 06:14AM