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
#871 - ylletyll / @ylletyll

03/02/2015 at 08:42PM

8
#872 - Matthew Bender / @iobender

03/02/2015 at 08:42PM

8
#873 - Ben Plantinga / @benplantinga

03/03/2015 at 06:51AM

8
#874 - Roman Decker / @_roman_empire_

03/05/2015 at 12:24PM

8
#875 - Gideon VanRiette / @gidjv

03/05/2015 at 06:47PM

8
#876 - Ch Ri / @szirocco

03/07/2015 at 09:46AM

8
#877 - Shahaf A / @Av3r4ge

03/07/2015 at 07:47PM

8
#878 - Anand Gaitonde / @UsedRecently

03/08/2015 at 12:14AM

8
#879 - Kiet Nguyen / @kietnguyen86

03/08/2015 at 02:03AM

8
#880 - Epety / @sudoask

03/10/2015 at 06:17AM

8
#881 - Ala' Ibrahim / @alaa_ibrahim

03/10/2015 at 08:35AM

8
#882 - Yannick Novella / @ynovella

03/11/2015 at 10:17AM

8
#883 - BartJanssen / @BartJanssen

03/13/2015 at 07:28AM

8
#884 - Martijn Pepping / @mpepping

03/13/2015 at 09:02PM

8
#885 - Deepak Surti / @dmsurti

03/15/2015 at 04:01PM

8
#886 - chrisheithoff / @chrisheithoff

03/17/2015 at 03:06AM

8
#887 - Kaung Htet Zaw / @khzaw

03/18/2015 at 09:38AM

8
#888 - ipson_nek / @ipson_nek

03/26/2015 at 03:04PM

8
#889 - pftb12345 / @pftb12345

03/27/2015 at 12:28PM

8
#890 - Robin Moussu / @robin_moussu

03/29/2015 at 10:30PM

8
#891 - chvzvhn / @chvzvhn

03/30/2015 at 05:36PM

8
#892 - 借猫@がんばるん / @RentalCat__

04/02/2015 at 10:44AM

8
#893 - ryo_n / @ryo_n

04/04/2015 at 09:48AM

8
#894 - 親の金でシャンプーを買うな / @jajkeqos

04/08/2015 at 07:29PM

8
#895 - Andrew Lewis / @DrewsLostIt

04/13/2015 at 04:50AM

8
#896 - Andrew Larson / @applarson

04/15/2015 at 04:40AM

8
#897 - Tom van der Lee / @TomVdLee

04/17/2015 at 09:10AM

8
#898 - Pablo / @binaryplease

04/18/2015 at 08:02PM

8
#899 - Martijn Theunissen / @Martijn_______

04/21/2015 at 06:43PM

8
#900 - blamitter ✏️ / @blamitter

04/24/2015 at 08:49PM