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
#1051 - 王运 / @640138017

07/18/2016 at 05:19AM

8
#1052 - Ryan van Rensburg / @rdvr001

07/18/2016 at 07:17PM

8
#1053 - André Peric Tavares / @AndrePeric

07/20/2016 at 11:09PM

8
#1054 - James Potter / @JJPotterkowski

07/21/2016 at 09:38PM

8
#1055 - Thongrapee / @kulaspa2

07/25/2016 at 05:33AM

8
#1056 - Aaron Ogan / @aaronogan

08/06/2016 at 12:52PM

8
#1057 - jn / @j1357924

08/09/2016 at 05:08PM

8
#1058 - David Aguilera / @davilera

08/11/2016 at 02:13PM

8
#1059 - Antoni Villalonga / @friki

08/15/2016 at 05:29PM

8
#1060 - Shadowclysm / @shadowclysm

08/17/2016 at 05:02AM

8
#1061 - jj johnson / @jcassj1

08/22/2016 at 05:06PM

8
#1062 - John Bucephalus / @AaronHotz

08/24/2016 at 04:44PM

8
#1063 - Nabarun Chatterjee / @nabarunch

08/25/2016 at 02:11PM

8
#1064 - citaret / @citaret

08/26/2016 at 03:03AM

8
#1065 - Paul Roe / @ep_roe

09/05/2016 at 09:25PM

8
#1066 - nixi3 / @Nixi3cc

09/07/2016 at 02:21AM

8
#1067 - Christophe Perrotin / @ChrisPerSurTwit

09/24/2016 at 07:37PM

8
#1068 - Thom Jenkinson / @Thom_Jenks

09/24/2016 at 08:46PM

8
#1069 - Vadim Petrov / @downwithbgp

10/05/2016 at 12:29AM

8
#1070 - poke / @useraaaaaaaaaaf

10/05/2016 at 02:11PM

8
#1071 - Lukas Kruemel / @KruemelKobold

10/06/2016 at 08:36AM

8
#1072 - TweetDreams / @TweetMusicians

10/08/2016 at 06:56PM

8
#1073 - Ted Myers / @fedorasaurus

10/10/2016 at 08:41PM

8
#1074 - Josh Kermond / @Kermond

10/11/2016 at 10:25PM

8
#1075 - Baptiste Vannesson / @Badacadabra

10/12/2016 at 04:55PM

8
#1076 - Pradeep Kumar / @pradeep6kumar

10/15/2016 at 08:35AM

8
#1077 - Lime Hedelmä / @Limetti

10/17/2016 at 01:40AM

8
#1078 - Christian Rondeau / @c_rondeau

10/17/2016 at 03:05AM

8
#1079 - Mark Dawson / @drmarkdawson

10/25/2016 at 07:18AM

8
#1080 - Matti Sairanen / @MattiSairanen

11/13/2016 at 08:12PM