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

1764 active golfers, 4380 entries

Leaderboard (lowest score wins):
8
#1381 - Bhagwan / @El_Bhagwan

05/11/2020 at 08:24PM

8
#1382 - Axel / @Axel07930943

05/29/2020 at 06:50AM

8
#1383 - Bob Streams / @BobStreams1

06/01/2020 at 09:24PM

8
#1384 - RockerZZY / @rocker_zzy

06/03/2020 at 01:45AM

8
#1385 - Manke Derkel / @MankeDerkel

06/03/2020 at 09:17PM

8
#1386 - otfsenter / @otfsenter

06/04/2020 at 03:24PM

8
#1387 - nico / @res_tantum

06/08/2020 at 10:20PM

8
#1388 - Yannick / @Yannick88147038

06/14/2020 at 02:03PM

8
#1389 - dirkrob / @dirkrob1

06/18/2020 at 03:30AM

8
#1390 - Di Liu / @Skyerliu

06/21/2020 at 03:22AM

8
#1391 - Brennan Barker / @BrennanJBarker

07/06/2020 at 04:13PM

9
#1392 - RobertT / @techrt2050

07/31/2014 at 01:07AM

9
#1393 - Kartik Shenoy / @kartikshenoy

07/31/2014 at 10:05PM

9
#1394 - daveseibert / @daveseibert

08/02/2014 at 03:15AM

9
#1395 - Rakesh BS / @rakesh_bs

08/02/2014 at 11:47AM

9
#1396 - Domon / @Domon

08/06/2014 at 07:36AM

9
#1397 - marvlow / @marv_low

08/06/2014 at 07:48PM

9
#1398 - JonathanStarnes / @JON_STARNES

08/07/2014 at 05:52AM

9
#1399 - Daniel Low / @deniallow

08/07/2014 at 10:53PM

9
#1400 - Robert Dyer / @NavyJim13

08/08/2014 at 11:44PM

9
#1401 - Matt Deckard / @histumness

08/09/2014 at 02:16PM

9
#1402 - Bryan / @BryanLin1103

08/10/2014 at 10:51PM

9
#1403 - Mark Robinson / @SparkyRobinson

08/11/2014 at 07:28AM

9
#1404 - Siddhartha R Thota / @tweetingsid

08/11/2014 at 08:11AM

9
#1405 - Tomoyasu Ishikawa / @itomoyasu

08/11/2014 at 09:29AM

9
#1406 - Justin / @justinjaffray

08/13/2014 at 03:50AM

9
#1407 - Phil Dubach / @fuiru

08/13/2014 at 06:05AM

9
#1408 - Stian Drøbak / @Onizuka89

08/13/2014 at 07:31PM

9
#1409 - Johan Helsing / @jkhelsing

08/23/2014 at 02:02PM

9
#1410 - Charlton Austin / @charltonaustin

08/23/2014 at 03:38PM