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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
9
#1501 - Stian Drøbak / @Onizuka89

08/13/2014 at 07:31PM

9
#1502 - Johan Helsing / @jkhelsing

08/23/2014 at 02:02PM

9
#1503 - Charlton Austin / @charltonaustin

08/23/2014 at 03:38PM

9
#1504 - John Doe / @JohnDoeAtLarge

08/26/2014 at 10:15PM

9
#1505 - Guillaume Seren / @guillaumeseren

08/27/2014 at 11:49AM

9
#1506 - 脐橙君 / @excoding

08/28/2014 at 08:46AM

9
#1507 - Darrin McCarthy / @darrinmc

08/30/2014 at 05:18AM

9
#1508 - Ivar Stangeby / @Vomithog

09/04/2014 at 11:07PM

9
#1509 - iamevn / @iamevn

09/05/2014 at 08:07PM

9
#1510 - Robbie Clarken / @robbieclarken

09/07/2014 at 10:30PM

9
#1511 - Mattias Fransson / @azzidoos

09/08/2014 at 04:11PM

9
#1512 - Dan Saunders / @realdansaunders

09/18/2014 at 05:35AM

9
#1513 - James Farr / @jamesfarr

09/18/2014 at 11:46PM

9
#1514 - Roy Vim / @RoyVim

09/24/2014 at 05:47PM

9
#1515 - Johnny Hoang / @JohnnyHoang

09/28/2014 at 06:08AM

9
#1516 - Paweł Max K. / @ktorek

10/04/2014 at 10:28AM

9
#1517 - Peter Barrett / @peadar_barrett

10/07/2014 at 03:56PM

9
#1518 - Etienne Fux / @etifiux

10/09/2014 at 11:56AM

9
#1519 - Andy Zhang / @andyzg3

10/23/2014 at 02:53AM

9
#1520 - kungfuchad / @kungfuchad

10/29/2014 at 11:27AM

9
#1521 - Michael Gerdes / @mgerdes11

11/01/2014 at 06:02PM

9
#1522 - Sam Howe / @folyfy

11/04/2014 at 04:22AM

9
#1523 - Inndy / @Inndy_tw

11/06/2014 at 04:26PM

9
#1524 - Paul The Danish / @PaulTheDanish

11/08/2014 at 07:59PM

9
#1525 - Kedar / @0xKD

11/10/2014 at 04:11PM

9
#1526 - Felix Boers / @felixboers

11/12/2014 at 05:09PM

9
#1527 - jiangchuan / @tommy_he

11/15/2014 at 10:50PM

9
#1528 - Yuriy / @skriyka

11/18/2014 at 11:23PM

9
#1529 - Jan Novak / @odpadnimail

11/19/2014 at 12:18AM

9
#1530 - Sam Izdat / @_SandSaref

11/25/2014 at 04:06PM