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

1764 active golfers, 4380 entries

Leaderboard (lowest score wins):
8
#1171 - Rob Smolinski / @scottymcribs

07/04/2017 at 08:42PM

8
#1172 - Dick Quixly / @DickQuixly

07/09/2017 at 02:29PM

8
#1173 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 10:29AM

8
#1174 - grigouille / @grigouille2

07/11/2017 at 11:30AM

8
#1175 - Thomas Steinbach / @thomasstei

07/18/2017 at 07:41AM

8
#1176 - Anne Pacalet / @_Anne_P

07/19/2017 at 11:19AM

8
#1177 - Vedro / @Vedro03557622

07/27/2017 at 10:30PM

8
#1178 - Noah Gamboa / @noah80774444

07/29/2017 at 08:47PM

8
#1179 - Jonas Sunde V / @sunde_v

08/04/2017 at 03:40PM

8
#1180 - sam abtek / @samabtek1

08/04/2017 at 06:48PM

8
#1181 - Anton Outkine / @AOutkine

08/07/2017 at 02:14AM

8
#1182 - toddkoym / @toddkoym

08/09/2017 at 02:41AM

8
#1183 - Clay Thomas / @CHThomas95

08/09/2017 at 07:58PM

8
#1184 - Asno / @AsnoGordo

08/11/2017 at 01:35AM

8
#1185 - Clint Ryan / @_eastwd

08/21/2017 at 05:42AM

8
#1186 - Jacob Buete / @JBuete

08/28/2017 at 11:58AM

8
#1187 - 心がポッキー / @lawliteqed

09/07/2017 at 04:10PM

8
#1188 - Дима / @dimkino

09/07/2017 at 04:53PM

8
#1189 - Romeo Valentin / @Seecez

09/26/2017 at 12:18PM

8
#1190 - garry quested / @GQuested

09/28/2017 at 08:49AM

8
#1191 - Luke Bryant / @LukeBryant55

10/01/2017 at 06:58PM

8
#1192 - Daniel / @0x9ABC

10/01/2017 at 07:08PM

8
#1193 - Denis Kaluznyy / @Spy_Denis

10/04/2017 at 03:30PM

8
#1194 - squdle / @squdle

10/08/2017 at 01:01PM

8
#1195 - Elton Kamami / @pixel_grid

10/09/2017 at 08:34PM

8
#1196 - sehe / @sehetw

10/10/2017 at 02:25PM

8
#1197 - Stephen Betts / @stephenbetts

10/12/2017 at 06:04PM

8
#1198 - Sebastián Etra / @EtraStyle

10/12/2017 at 10:41PM

8
#1199 - C / @bravekarma

10/15/2017 at 07:26AM

8
#1200 - Ron Alexssen / @Ralexhere

10/18/2017 at 04:30PM