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

1670 active golfers, 4149 entries

Leaderboard (lowest score wins):
9
#1471 - Name / @cldempewolf2

03/10/2016 at 05:17AM

9
#1472 - fabi / @ffabi

03/12/2016 at 05:03PM

9
#1473 - HypoTech / @Obongoetco

04/13/2016 at 02:20PM

9
#1474 - danny Lazarow / @dannylazarow

04/30/2016 at 09:10PM

9
#1475 - some call me mattp / @mattpep

05/09/2016 at 11:11PM

9
#1476 - Henry Dang / @henrydangchs

05/15/2016 at 02:55AM

9
#1477 - Kenny Lau / @kkkennnny

06/02/2016 at 08:10AM

9
#1478 - Albert Le Batteux / @Aera_style

06/03/2016 at 03:46PM

9
#1479 - malet / @Malet

06/22/2016 at 07:32PM

9
#1480 - Michael Englehorn / @K0HAX

07/02/2016 at 12:56AM

9
#1481 - Kento Kaneko / @kentokaneko

07/06/2016 at 05:04PM

9
#1482 - Leix b / @leix_b

07/08/2016 at 04:18PM

9
#1483 - EvLSnoopY / @EvLSnoopY

07/24/2016 at 06:29AM

9
#1484 - Jeremiah Goyette / @JeremiahGoyette

07/31/2016 at 08:48PM

9
#1485 - PeterGC / @petkusGC

08/12/2016 at 12:20AM

9
#1486 - Olaf Ole Olafsson / @OlafOleOlafsson

08/12/2016 at 09:40PM

9
#1487 - 이선협 / @kciter

08/31/2016 at 04:20PM

9
#1488 - Utkrisht Dhankar / @UtkrishtDhankar

09/08/2016 at 05:03AM

9
#1489 - Finn Francis / @FinnFrancis

09/19/2016 at 10:58PM

9
#1490 - René De Alvarado / @renedealvarado

09/28/2016 at 08:18PM

9
#1491 - Jon E. Eguiluz / @viroide

10/11/2016 at 02:44PM

9
#1492 - Christian Rech / @de_Rech

10/20/2016 at 06:37PM

9
#1493 - Jonathan Elliott / @jon__elliott

10/29/2016 at 11:49PM

9
#1494 - Simon Plantinga / @SimonPlantinga

10/30/2016 at 11:13AM

9
#1495 - Alex Gunning / @XelaGninnug

11/26/2016 at 06:04AM

9
#1496 - Apox / @apox159

11/27/2016 at 07:44PM

9
#1497 - Ilya Ezepov / @iezepov

12/05/2016 at 09:17AM

9
#1498 - holy_sin / @0zero0

12/16/2016 at 07:13AM

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

12/24/2016 at 03:01PM

9
#1500 - Nico Jansen / @nicojansen1804

01/05/2017 at 09:55PM