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

1619 active golfers, 3973 entries

Leaderboard (lowest score wins):
8
#901 - Andreas Carben / @meiner_eins

04/25/2015 at 06:07PM

8
#902 - Kevin Yokley / @kyokley19

04/25/2015 at 11:50PM

8
#903 - Michael Cramer / @mlcramer

04/26/2015 at 01:37PM

8
#904 - e / @e1914_2014

05/02/2015 at 07:33AM

8
#905 - Gael Roue / @gaelroue

05/02/2015 at 01:46PM

8
#906 - Seph Newman / @SephNewman

05/10/2015 at 08:37AM

8
#907 - Jonas Ng / @jnshey

05/16/2015 at 10:01AM

8
#908 - Billy Ripper / @dirtlamb5

05/27/2015 at 08:32PM

8
#909 - Adetque / @Adetque

05/29/2015 at 09:20AM

8
#910 - Sir Chauffeur / @sebdul

06/02/2015 at 02:00PM

8
#911 - Tom Gustafsson / @ttgustaf

06/02/2015 at 09:26PM

8
#912 - djh / @oneandoneis2

06/10/2015 at 03:34PM

8
#913 - Test Name / @krp230test

06/11/2015 at 08:42PM

8
#914 - Getkey / @Getkey9426

06/12/2015 at 07:31AM

8
#915 - Omar Abou Mrad / @omaraboumrad

06/18/2015 at 01:28PM

8
#916 - Junior Ales / @junior_ales

06/19/2015 at 05:09PM

8
#917 - Douglas Detoni / @douglas_detoni

06/19/2015 at 05:15PM

8
#918 - MrTchuss / @buffer_x90

06/29/2015 at 09:12PM

8
#919 - Geoff Gu / @geoff_gu

06/30/2015 at 01:25PM

8
#920 - Christopher MCA / @christopherMCA

07/17/2015 at 03:50AM

8
#921 - vimgolf / @myspare307

07/17/2015 at 09:00PM

8
#922 - Samir Sadek / @netsamir

07/19/2015 at 08:41AM

8
#923 - Dan Piponi / @sigfpe

07/22/2015 at 08:17PM

8
#924 - darookee / @darookee

07/24/2015 at 09:35AM

8
#925 - luchs / @lluchs

07/24/2015 at 01:26PM

8
#926 - McKay Ward / @mckayward

07/26/2015 at 01:58AM

8
#927 - Endre Galaczi / @galacziendre

07/26/2015 at 08:22PM

8
#928 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:53PM

8
#929 - Tim Vail / @timdvail

08/05/2015 at 12:03AM

8
#930 - るふぁ@ノンリニア3日目東R38b / @lpha_z

08/06/2015 at 02:14PM