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

1399 active golfers, 3331 entries

Leaderboard (lowest score wins):
7
#1 - John Meisner / @jmeisned

07/30/2014 at 08:37PM

7
#2 - John Braxler / @braxler

07/30/2014 at 08:39PM

7
#3 - Urtica dioica / @udioica

07/30/2014 at 08:44PM

7
#4 - Joakim Hansen / @gnofs

07/31/2014 at 12:42AM

7
#5 - Tim Chase / @gumnos

07/31/2014 at 12:58AM

7
#6 - Caek / @Caek_

07/31/2014 at 07:02AM

7
#7 - Eduardo / @earada

07/31/2014 at 10:55AM

7
#8 - Slartibartfast / @S_Bartfast

07/31/2014 at 11:48AM

7
#9 - Ricardo Lima / @ricponteslima

07/31/2014 at 01:05PM

7
#10 - Petro Тrouq / @zulolosi

07/31/2014 at 01:27PM

7
#11 - Kai Yuan / @kentyuan

07/31/2014 at 09:55PM

7
#12 - Marcin Sza / @coot_

07/31/2014 at 11:00PM

7
#13 - Adit Cahya Ramadhan / @aditcr8

07/31/2014 at 11:49PM

7
#14 - gybilis / @gybilis

08/01/2014 at 02:17PM

7
#15 - Markus Kasper / @KasperBox

08/01/2014 at 02:26PM

7
#16 - Guillaume Perrin / @Jojolejobar

08/02/2014 at 06:20PM

7
#17 - Grigoriy Alexeev / @GrigoriyAlexeev

08/03/2014 at 01:10AM

7
#18 - Jeremy Ruten / @yjerem

08/03/2014 at 08:27AM

7
#19 - Amir Kremer / @AmirKremer

08/03/2014 at 01:16PM

7
#20 - Eric Potter / @pottereric

08/03/2014 at 08:06PM

7
#21 - Bart / @oneofmanybarts

08/04/2014 at 08:26AM

7
#22 - Dominik Szerszeń / @DominikSze

08/04/2014 at 09:34AM

7
#23 - Matias Russitto / @mrussitto

08/05/2014 at 06:09PM

7
#24 - Lance Olsen / @muirbot

08/05/2014 at 08:56PM

7
#25 - Ivan Brennan / @ivanbrennan

08/06/2014 at 03:47AM

7
#26 - Tom Cammann / @tea_sea

08/06/2014 at 08:44AM

7
#27 - buz / @buzbone

08/06/2014 at 09:49AM

7
#28 - Jake Elder / @JpegMe

08/07/2014 at 08:39PM

7
#29 - Ky Statham / @ijustwannacode

08/07/2014 at 08:46PM

7
#30 - Blake / @blkbsstt

08/08/2014 at 06:42AM