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

1654 active golfers, 4095 entries

Leaderboard (lowest score wins):
7
#211 - David Stensland / @DavidStensland

05/27/2015 at 06:32PM

7
#212 - Personal Life Trackr / @PersLifeTrackr

05/29/2015 at 06:18PM

7
#213 - Marty Boren / @computerliker

05/30/2015 at 08:30PM

7
#214 - Robert Robertson / @RobertC3228687

06/01/2015 at 04:17PM

7
#215 - David Nguyen / @nguydavi

06/04/2015 at 09:14AM

7
#216 - thadeu dias / @i_am_pensa

06/08/2015 at 10:54PM

7
#217 - ahumph / @ahumph

06/11/2015 at 12:14PM

7
#218 - Thomas McGinniss / @thom_bomb75

06/11/2015 at 07:18PM

7
#219 - Hao Deng / @haodeng

06/12/2015 at 04:15AM

7
#220 - Alex Girdler / @zraved

06/17/2015 at 01:53AM

7
#221 - Mutter Mumble / @muttermumble

06/18/2015 at 09:59AM

7
#222 - David Rogers / @al_the_x

06/18/2015 at 09:58PM

7
#223 - Mikołaj Morzy / @MikolajMorzy

06/19/2015 at 04:08PM

7
#224 - Andres Manz / @manz_andres

06/24/2015 at 01:42PM

7
#225 - 𖤐 𝔅𝔞𝔡𝔤𝔢𝔯 𖤐 🦇 / @drksvnt

06/25/2015 at 10:45AM

7
#226 - Skúli Jóhannsson / @skulibj

06/25/2015 at 06:21PM

7
#227 - DocThor Neuland / @DocThorNeuland

06/25/2015 at 07:14PM

7
#228 - Mark Fischer, Jr. / @flyingfisch_

06/27/2015 at 02:58AM

7
#229 - Jack Z / @itszhou

06/28/2015 at 05:03AM

7
#230 - Cormac Relf / @cormacrelf

06/29/2015 at 03:50AM

7
#231 - Chris / @crr0004

06/29/2015 at 01:54PM

7
#232 - Andrew / @vimGolfAndrew

07/02/2015 at 09:22PM

7
#233 - emanuele francioni / @Autholykos

07/05/2015 at 01:18PM

7
#234 - Louis Burke / @LambdaABeta

07/07/2015 at 02:17PM

7
#235 - Teemu Okkonen / @TeemuOkkonen

07/07/2015 at 07:44PM

7
#236 - Lifepillar / @lifepillar

07/08/2015 at 08:59AM

7
#237 - David Willming / @wdialvmeo

07/10/2015 at 03:50AM

7
#238 - José Rodrigues / @jyrodrigues

07/12/2015 at 06:43PM

7
#239 - Andreas Schlegel / @andischl

07/26/2015 at 04:59PM

7
#240 - Hunter Gatewood / @hcgatewood

07/28/2015 at 02:45AM