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

1898 active golfers, 4818 entries

Leaderboard (lowest score wins):
7
#301 - Arūnas Smaliukas / @ArnasSmaliukas1

11/27/2015 at 04:39PM

7
#302 - Alain / @ducouloa

11/29/2015 at 08:59PM

7
#303 - Holden Lewis / @lonnez90

12/03/2015 at 02:43PM

7
#304 - Faat / @i_faat

12/04/2015 at 05:20PM

7
#305 - Winston Cheong / @winstoncheong

12/06/2015 at 03:17AM

7
#306 - Patrick Cichon / @the_nQL

12/07/2015 at 07:54PM

7
#307 - Matthew Desjardins / @Desjardins_M

12/11/2015 at 09:05PM

7
#308 - Dirty Harry / @TateDirty

12/13/2015 at 02:57PM

7
#309 - adrien frediani / @fredianiadrien

12/17/2015 at 10:12PM

7
#310 - Izabel Jelenić / @IzabelJelenic

12/22/2015 at 04:31PM

7
#311 - Aris Kotzias / @ArisKotzias

12/23/2015 at 03:14PM

7
#312 - Egg / @hammingdistanc1

12/26/2015 at 12:21AM

7
#313 - Saki Gw / @Sakigw

01/05/2016 at 09:14PM

7
#314 - jackliusr / @jackliusr

01/08/2016 at 07:36AM

7
#315 - Evgeny`s Kindle / @EvgenyKindle

01/08/2016 at 11:39AM

7
#316 - Roberto Carraretto / @robcarraretto

01/09/2016 at 08:16PM

7
#317 - Maxime Parisse / @maximeparisse

01/10/2016 at 09:16PM

7
#318 - Alan Kang / @alankang

01/12/2016 at 02:00PM

7
#319 - Marko / @suchtie

01/18/2016 at 09:36AM

7
#320 - Jon Krause / @jkrause314

01/18/2016 at 08:42PM

7
#321 - Aleksey Zhidkov / @AlexeyZhidkov

01/19/2016 at 06:05AM

7
#322 - Maxim Prokopenko / @max1cp

01/19/2016 at 08:17PM

7
#323 - Austin Wood / @indiesquidge

01/21/2016 at 05:47PM

7
#324 - Zhiqian Yuan / @NordicWing

01/23/2016 at 11:44AM

7
#325 - Ian Trophy / @prfrgg

01/30/2016 at 12:27PM

7
#326 - Daniel Suh / @18kehops

02/03/2016 at 04:59AM

7
#327 - Andre Danielsson / @DanielssonAndre

02/09/2016 at 07:42PM

7
#328 - Michael Buckley / @apolatg

02/13/2016 at 12:47AM

7
#329 - Mathias Andersson / @Wraul

02/13/2016 at 08:30PM

7
#330 - Thijs van den Anker / @thijsvdanker

02/15/2016 at 08:24AM