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

1745 active golfers, 4335 entries

Leaderboard (lowest score wins):
9
#1531 - Henry Dang / @henrydangchs

05/15/2016 at 02:55AM

9
#1532 - Kenny Lau / @kkkennnny

06/02/2016 at 08:10AM

9
#1533 - Albert Le Batteux / @Aera_style

06/03/2016 at 03:46PM

9
#1534 - malet / @Malet

06/22/2016 at 07:32PM

9
#1535 - Michael Englehorn / @K0HAX

07/02/2016 at 12:56AM

9
#1536 - Kento Kaneko / @kentokaneko

07/06/2016 at 05:04PM

9
#1537 - Leix b / @leix_b

07/08/2016 at 04:18PM

9
#1538 - EvLSnoopY / @EvLSnoopY

07/24/2016 at 06:29AM

9
#1539 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 08:48PM

9
#1540 - PeterGC / @petkusGC

08/12/2016 at 12:20AM

9
#1541 - Olaf Ole Olafsson / @OlafOleOlafsson

08/12/2016 at 09:40PM

9
#1542 - 이선협 / @kciter

08/31/2016 at 04:20PM

9
#1543 - Utkrisht Dhankar / @UtkrishtDhankar

09/08/2016 at 05:03AM

9
#1544 - Finn Francis / @FinnFrancis

09/19/2016 at 10:58PM

9
#1545 - René De Alvarado / @renedealvarado

09/28/2016 at 08:18PM

9
#1546 - Jon E. Eguiluz / @viroide

10/11/2016 at 02:44PM

9
#1547 - Christian Rech / @de_Rech

10/20/2016 at 06:37PM

9
#1548 - Jonathan Elliott / @jon__elliott

10/29/2016 at 11:49PM

9
#1549 - Simon Plantinga / @SimonPlantinga

10/30/2016 at 11:13AM

9
#1550 - Alex Gunning / @XelaGninnug

11/26/2016 at 06:04AM

9
#1551 - Apox / @apox159

11/27/2016 at 07:44PM

9
#1552 - Ilya Ezepov / @iezepov

12/05/2016 at 09:17AM

9
#1553 - holy_sin / @0zero0

12/16/2016 at 07:13AM

9
#1554 - Tatsuki@HaskellでVim / @ttk_vim

12/24/2016 at 03:01PM

9
#1555 - Nico Jansen / @nicojansen1804

01/05/2017 at 09:55PM

9
#1556 - Karol / @kruzelecki

02/16/2017 at 12:35PM

9
#1557 - ek / @bitwisexornull

03/15/2017 at 11:05AM

9
#1558 - Mitchell / @Spitchell

03/15/2017 at 03:37PM

9
#1559 - John Wilson / @Login4anonymity

03/18/2017 at 09:16AM

9
#1560 - Jason Hooper 🇨🇦 / @jasonincanada

04/23/2017 at 01:46AM