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

1620 active golfers, 3975 entries

Leaderboard (lowest score wins):
9
#1351 - Pierre Langlois / @_pierrelanglois

02/14/2015 at 02:18PM

9
#1352 - Thomas Brisbout / @le_briz

02/17/2015 at 03:04PM

9
#1353 - Dmitry Zudochkin / @zudochkin

02/17/2015 at 08:15PM

9
#1354 - Dorian Scheidt / @DorianListens

02/25/2015 at 02:54AM

9
#1355 - Jake Eaton / @Jake__Eaton

02/28/2015 at 07:09AM

9
#1356 - YK / @Dongas420

03/01/2015 at 02:17AM

9
#1357 - vimgolf / @neovimp

03/05/2015 at 08:56AM

9
#1358 - shugen / @shugeno

03/12/2015 at 08:19PM

9
#1359 - uɐɥlnƃ uɐɯɹǝ / @egulhan

03/15/2015 at 05:25PM

9
#1360 - Alexander Putilin / @SashaPutilin

03/16/2015 at 10:50PM

9
#1361 - Jeffrey Gu / @Jeffrey_Gu

03/19/2015 at 09:55PM

9
#1362 - ɐʇnɥsɐpoʇ / @todashuta

03/25/2015 at 09:10AM

9
#1363 - ಸುಬ್ರಹ್ಮಣ್ಯ ಜೋಶಿ / @subbucoding

04/04/2015 at 10:03PM

9
#1364 - teeheewa / @Heewa

04/07/2015 at 02:27PM

9
#1365 - John Lee / @NSA_agent_209

04/12/2015 at 07:02PM

9
#1366 - Brian Olpin / @bolpin

04/13/2015 at 07:29AM

9
#1367 - Kevin Ilphrin Pellet / @Kilphrin

04/15/2015 at 01:30PM

9
#1368 - Pratik R / @pringshia

04/20/2015 at 08:30PM

9
#1369 - Thomas / @moatra

04/21/2015 at 04:26AM

9
#1370 - Cosmin Banu / @cosminb82

05/07/2015 at 09:35PM

9
#1371 - smokemachine / @smokemachine

05/11/2015 at 11:11PM

9
#1372 - Clément / @clement_frndz

05/24/2015 at 03:22PM

9
#1373 - Ammar Najjar / @ammarnajjar

05/26/2015 at 12:19PM

9
#1374 - mat / @matgeist

05/27/2015 at 05:20PM

9
#1375 - luffy / @raxcoi

05/27/2015 at 08:59PM

9
#1376 - lechariotdor / @lechariotdor

05/28/2015 at 11:27PM

9
#1377 - eric roberts / @baileyeock

05/29/2015 at 01:34AM

9
#1378 - Edgard Leal / @EdgardLeal

06/03/2015 at 09:15PM

9
#1379 - Maxime / @Maxime_VII

06/23/2015 at 02:12PM

9
#1380 - Michael D Jones / @biotechjones

06/24/2015 at 07:06PM