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

1621 active golfers, 3977 entries

Leaderboard (lowest score wins):
7
#241 - americanarchist / @eli_riggs

07/28/2015 at 11:07PM

7
#242 - Jason Schulz / @uxcn_

08/01/2015 at 01:00AM

7
#243 - Peter B / @l0wm4x

08/02/2015 at 10:30AM

7
#244 - Matthew Kirk / @mjkirk

08/03/2015 at 08:11PM

7
#245 - voglster / @voglster

08/05/2015 at 10:04PM

7
#246 - Zak Greant / @zakgreant

08/07/2015 at 04:49PM

7
#247 - Ferdev vimgolf / @fergvimgolf

08/07/2015 at 11:56PM

7
#248 - Дима Давыдов / @xaykot

08/14/2015 at 09:29PM

7
#249 - rramos / @rrxx1969

08/16/2015 at 12:19AM

7
#250 - Liam Thurston / @lthurston188

08/17/2015 at 04:09AM

7
#251 - Mateusz / @foobar98765

08/17/2015 at 01:19PM

7
#252 - Stefan Countryman / @stcountryman

08/19/2015 at 02:32AM

7
#253 - Nick Xiao / @nicoster

08/22/2015 at 04:05AM

7
#254 - I / @ForgetIt17

08/24/2015 at 12:09PM

7
#255 - JS / @jjohsan

08/27/2015 at 08:56PM

7
#256 - Jesse Atkinson / @jsatk

08/29/2015 at 03:05AM

7
#257 - T A / @SirAviles

08/31/2015 at 04:57PM

7
#258 - Mart T / @xtimmu

08/31/2015 at 07:06PM

7
#259 - Jinzhou Zhang / @jinzhouz

09/02/2015 at 10:08AM

7
#260 - Andrew D. Wong / @andrewdwong

09/02/2015 at 03:08PM

7
#261 - A / @Tower_1980

09/03/2015 at 01:13PM

7
#262 - oscar / @zonza_mas

09/04/2015 at 11:21AM

7
#263 - Dennis Burke / @ikirudennis

09/05/2015 at 10:31PM

7
#264 - Jorin / @jorinvo

09/09/2015 at 07:53PM

7
#265 - Tamas Gal (Tom) / @tamasgal

09/10/2015 at 05:51AM

7
#266 - 0e4ef622 / @0e4ef622

09/13/2015 at 04:00PM

7
#267 - vimgolf jonnyb / @vimgolf_jonnyb

09/14/2015 at 10:25AM

7
#268 - Kirill Cherkashin / @kirjs

09/15/2015 at 02:09PM

7
#269 - Dan Moldovan / @Lenea92

09/17/2015 at 12:10PM

7
#270 - Thomas Draper / @QuanTom561

09/26/2015 at 02:25AM