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

1659 active golfers, 4114 entries

Leaderboard (lowest score wins):
8
#1291 - theBecwar / @thebecwar

08/18/2019 at 06:16PM

8
#1292 - Simon Wilkinson / @simondwilkinson

08/24/2019 at 03:09PM

8
#1293 - Adam Hartz / @awareofnow

08/26/2019 at 12:16AM

8
#1294 - Christian / @paierlep

08/31/2019 at 08:26PM

8
#1295 - Ariel Miculas / @ArielMiculas

09/19/2019 at 12:25PM

8
#1296 - David Ding / @gnidding

09/21/2019 at 12:38AM

8
#1297 - xovadirij / @xovadirij

09/22/2019 at 09:07PM

8
#1298 - Iggy / @iggredible

09/25/2019 at 02:16AM

8
#1299 - Miko / @_m_ik_o_

09/29/2019 at 04:40PM

8
#1300 - Jake Nixon / @thejakenixon

09/29/2019 at 10:10PM

8
#1301 - Rui Xue / @ruirayxue

10/01/2019 at 04:45AM

8
#1302 - Gabriel Duque / @zuh0_

10/01/2019 at 02:32PM

8
#1303 - Benjamin Pelletier / @benjipelletier

10/07/2019 at 08:06PM

8
#1304 - Scott Taylor / @scott11X8

10/25/2019 at 12:13AM

8
#1305 - Jason Chen / @chezbgone

10/27/2019 at 08:55PM

8
#1306 - Harrison / @ardentcow

10/31/2019 at 06:19AM

8
#1307 - trafficone / @trafficone

10/31/2019 at 09:17PM

8
#1308 - Mark Brody / @_markbrody

11/02/2019 at 06:52PM

8
#1309 - Tokos Apos / @AposTokosapos

11/04/2019 at 12:13PM

8
#1310 - Lory / @Lory46845742

11/06/2019 at 03:06PM

9
#1311 - RobertT / @techrt2050

07/31/2014 at 01:07AM

9
#1312 - Kartik Shenoy / @kartikshenoy

07/31/2014 at 10:05PM

9
#1313 - daveseibert / @daveseibert

08/02/2014 at 03:15AM

9
#1314 - Rakesh BS / @rakesh_bs

08/02/2014 at 11:47AM

9
#1315 - Domon / @Domon

08/06/2014 at 07:36AM

9
#1316 - marvlow / @marv_low

08/06/2014 at 07:48PM

9
#1317 - JonathanStarnes / @JON_STARNES

08/07/2014 at 05:52AM

9
#1318 - Daniel Low / @deniallow

08/07/2014 at 10:53PM

9
#1319 - Robert Dyer / @NavyJim13

08/08/2014 at 11:44PM

9
#1320 - Matt Deckard / @histumness

08/09/2014 at 02:16PM