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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
8
#1501 - Guru Senthil / @gurukoushik

06/28/2024 at 05:46PM

8
#1502 - Petro Mudrievskyj / @petemud

07/01/2024 at 01:15PM

8
#1503 - Jonathan Schaaij / @jonathanschaaij

08/25/2024 at 03:56PM

8
#1504 - Demian Martinez / @demianuco

01/09/2025 at 07:48PM

9
#1505 - RobertT / @techrt2050

07/31/2014 at 01:07AM

9
#1506 - Kartik Shenoy / @kartikshenoy

07/31/2014 at 10:05PM

9
#1507 - daveseibert / @daveseibert

08/02/2014 at 03:15AM

9
#1508 - Rakesh BS / @rakesh_bs

08/02/2014 at 11:47AM

9
#1509 - Domon / @Domon

08/06/2014 at 07:36AM

9
#1510 - marvlow / @marv_low

08/06/2014 at 07:48PM

9
#1511 - JonathanStarnes / @JON_STARNES

08/07/2014 at 05:52AM

9
#1512 - Daniel Low / @deniallow

08/07/2014 at 10:53PM

9
#1513 - Robert Dyer / @NavyJim13

08/08/2014 at 11:44PM

9
#1514 - Matt Deckard / @histumness

08/09/2014 at 02:16PM

9
#1515 - Bryan / @BryanLin1103

08/10/2014 at 10:51PM

9
#1516 - Mark Robinson / @SparkyRobinson

08/11/2014 at 07:28AM

9
#1517 - Siddhartha R Thota / @tweetingsid

08/11/2014 at 08:11AM

9
#1518 - Tomoyasu Ishikawa / @itomoyasu

08/11/2014 at 09:29AM

9
#1519 - Justin / @justinjaffray

08/13/2014 at 03:50AM

9
#1520 - Phil Dubach / @fuiru

08/13/2014 at 06:05AM

9
#1521 - Stian Drøbak / @Onizuka89

08/13/2014 at 07:31PM

9
#1522 - Johan Helsing / @jkhelsing

08/23/2014 at 02:02PM

9
#1523 - Charlton Austin / @charltonaustin

08/23/2014 at 03:38PM

9
#1524 - John Doe / @JohnDoeAtLarge

08/26/2014 at 10:15PM

9
#1525 - Guillaume Seren / @guillaumeseren

08/27/2014 at 11:49AM

9
#1526 - 脐橙君 / @excoding

08/28/2014 at 08:46AM

9
#1527 - Darrin McCarthy / @darrinmc

08/30/2014 at 05:18AM

9
#1528 - Ivar Stangeby / @Vomithog

09/04/2014 at 11:07PM

9
#1529 - iamevn / @iamevn

09/05/2014 at 08:07PM

9
#1530 - Robbie Clarken / @robbieclarken

09/07/2014 at 10:30PM