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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
8
#1231 - linealloop / @linealloop

05/18/2017 at 11:39PM

8
#1232 - almostdvs / @almostdvs

05/23/2017 at 03:01AM

8
#1233 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:42AM

8
#1234 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:15PM

8
#1235 - James Maguire / @3rdMaguire

06/12/2017 at 06:14AM

8
#1236 - Guillaume / @WeshGuillaume

06/23/2017 at 02:20PM

8
#1237 - Harsh Kumar / @datsleepyguy

06/24/2017 at 03:59PM

8
#1238 - Avian Y / @y_avian

06/29/2017 at 06:04AM

8
#1239 - John Marks / @__jmarks

07/03/2017 at 08:39PM

8
#1240 - Rob Smolinski / @scottymcribs

07/04/2017 at 08:42PM

8
#1241 - Dick Quixly / @DickQuixly

07/09/2017 at 02:29PM

8
#1242 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 10:29AM

8
#1243 - grigouille / @grigouille2

07/11/2017 at 11:30AM

8
#1244 - Thomas Steinbach / @thomasstei

07/18/2017 at 07:41AM

8
#1245 - Anne Pacalet / @_Anne_P

07/19/2017 at 11:19AM

8
#1246 - Vedro / @Vedro03557622

07/27/2017 at 10:30PM

8
#1247 - Noah Gamboa / @noah80774444

07/29/2017 at 08:47PM

8
#1248 - Jonas Sunde V / @sunde_v

08/04/2017 at 03:40PM

8
#1249 - sam abtek / @samabtek1

08/04/2017 at 06:48PM

8
#1250 - Anton Outkine / @AOutkine

08/07/2017 at 02:14AM

8
#1251 - toddkoym / @toddkoym

08/09/2017 at 02:41AM

8
#1252 - Clay Thomas / @CHThomas95

08/09/2017 at 07:58PM

8
#1253 - asno / @AsnoGordo

08/11/2017 at 01:35AM

8
#1254 - Clint Ryan / @_eastwd

08/21/2017 at 05:42AM

8
#1255 - Jacob Buete / @JBuete

08/28/2017 at 11:58AM

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

09/07/2017 at 04:10PM

8
#1257 - Дима / @dimkino

09/07/2017 at 04:53PM

8
#1258 - Romeo Valentin / @Seecez

09/26/2017 at 12:18PM

8
#1259 - garry quested / @GQuested

09/28/2017 at 08:49AM

8
#1260 - Luke Bryant / @LukeBryant55

10/01/2017 at 06:58PM