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

1696 active golfers, 4220 entries

Leaderboard (lowest score wins):
8
#1291 - Peter Demin / @peterdemin

07/11/2019 at 06:36PM

8
#1292 - Floyd Gantt / @fgantt

07/12/2019 at 08:37PM

8
#1293 - Crystal L / @Cartsly

07/13/2019 at 10:01PM

8
#1294 - Neil Struthers / @struthersneil

07/16/2019 at 02:29PM

8
#1295 - Marcus Loo / @MarcusLoo1

07/17/2019 at 11:34PM

8
#1296 - bpseudopod / @bpseudopod

07/18/2019 at 05:43PM

8
#1297 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:17AM

8
#1298 - Markus / @ARealAnnoyance

07/30/2019 at 01:28PM

8
#1299 - Pittson / @Pittson95

07/31/2019 at 07:44PM

8
#1300 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 06:36PM

8
#1301 - Matt Vaughn / @mattttvaughn

08/05/2019 at 11:50PM

8
#1302 - Eric Banisadr / @EBanisadr

08/07/2019 at 04:22PM

8
#1303 - sooqua / @sooqua

08/08/2019 at 07:36PM

8
#1304 - Luiz Eduardo Amaral / @_luxedo

08/13/2019 at 05:51PM

8
#1305 - theBecwar / @thebecwar

08/18/2019 at 06:16PM

8
#1306 - Simon Wilkinson / @simondwilkinson

08/24/2019 at 03:09PM

8
#1307 - Adam Hartz / @awareofnow

08/26/2019 at 12:16AM

8
#1308 - Christian / @paierlep

08/31/2019 at 08:26PM

8
#1309 - Ariel Miculas / @ArielMiculas

09/19/2019 at 12:25PM

8
#1310 - David Ding / @gnidding

09/21/2019 at 12:38AM

8
#1311 - xovadirij / @xovadirij

09/22/2019 at 09:07PM

8
#1312 - Iggy / @iggredible

09/25/2019 at 02:16AM

8
#1313 - Miko / @_m_ik_o_

09/29/2019 at 04:40PM

8
#1314 - Jake Nixon / @thejakenixon

09/29/2019 at 10:10PM

8
#1315 - Rui Xue / @ruirayxue

10/01/2019 at 04:45AM

8
#1316 - Gabriel Duque / @zuh0_

10/01/2019 at 02:32PM

8
#1317 - Benjamin Pelletier / @benjipelletier

10/07/2019 at 08:06PM

8
#1318 - Scott Taylor / @scott11X8

10/25/2019 at 12:13AM

8
#1319 - Jason Chen / @chezbgone

10/27/2019 at 08:55PM

8
#1320 - Harrison / @ardentcow

10/31/2019 at 06:19AM