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

1654 active golfers, 4095 entries

Leaderboard (lowest score wins):
7
#121 - John Diamond / @jcdmnd

12/04/2014 at 12:13PM

7
#122 - Michael Aston / @pennyOsl

12/06/2014 at 12:33PM

7
#123 - Abdo Achkar / @Achkar

12/06/2014 at 10:19PM

7
#124 - Daniel Wang / @danwang

12/10/2014 at 10:42PM

7
#125 - Eric Lawless / @eplawless

12/11/2014 at 08:22AM

7
#126 - david hu / @chin33z

12/11/2014 at 03:07PM

7
#127 - Andrew O'Neill / @AndroidOatmeal

12/18/2014 at 02:08PM

7
#128 - Bellator nobilis / @BNobilis

12/19/2014 at 11:17PM

7
#129 - Jakub Horák / @kubahorak

12/22/2014 at 02:40PM

7
#130 - Bruce Park / @bpark0

12/25/2014 at 07:28AM

7
#131 - Jordana Lachow / @TomofBedlam

12/28/2014 at 09:09PM

7
#132 - Jake Eskel / @JakeEskel

12/28/2014 at 09:10PM

7
#133 - alex annan / @alexannan

12/29/2014 at 11:04PM

7
#134 - juicelink / @juicelink

12/30/2014 at 02:29AM

7
#135 - Nick Dyer / @nickbdyer

01/01/2015 at 01:39PM

7
#136 - Maximiliano Padulo / @mpadulo

01/02/2015 at 09:37PM

7
#137 - Patsy Issa / @PatsyIssa

01/06/2015 at 02:35PM

7
#138 - Ayman Farhat / @aymanfarhat

01/06/2015 at 06:06PM

7
#139 - kimber gonzalez / @kimberlycreates

01/07/2015 at 03:26PM

7
#140 - Pomin Wu / @pm5

01/08/2015 at 09:34AM

7
#141 - kobby / @_kafdot_

01/14/2015 at 03:48AM

7
#142 - Yang Pengcheng / @nail1208

01/14/2015 at 05:59AM

7
#143 - Sampriti Panda / @sampritipanda

01/15/2015 at 05:10AM

7
#144 - Andreas Møller / @cullophid

01/15/2015 at 05:28PM

7
#145 - Taro Yamada / @t_yamada8karad

01/16/2015 at 07:35AM

7
#146 - low_ghost / @low_ghost_clone

01/17/2015 at 02:03PM

7
#147 - m1r4ge / @m1r4ge_ror

01/19/2015 at 11:58PM

7
#148 - Плеханов Дмитрий / @onemanstartup

01/21/2015 at 04:07PM

7
#149 - Harm te Hennepe / @HrmtH

01/22/2015 at 04:30PM

7
#150 - ben / @bpaqd

01/23/2015 at 01:05PM