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

1557 active golfers, 3801 entries

Leaderboard (lowest score wins):
7
#331 - ben kavanagh / @bkava

02/19/2016 at 04:58AM

7
#332 - Antony Garand / @AntonySecurity

02/25/2016 at 02:34PM

7
#333 - Jaron Hamlik / @jdhamlik

02/27/2016 at 03:49AM

7
#334 - Xiaocan Li / @XiaocanLi

02/28/2016 at 07:48PM

7
#335 - glepha / @glepha_vim

03/07/2016 at 04:39AM

7
#336 - Hao Chen / @Chen_Hao

03/09/2016 at 08:16PM

7
#337 - Frank Qi / @qdev76

03/09/2016 at 10:28PM

7
#338 - 晨羽 Chenyu / @chenyu_jin

03/11/2016 at 07:14PM

7
#339 - Yahyalexandre33 / @yahyalexandre33

03/15/2016 at 03:09AM

7
#340 - Charles Laber-Smith / @clabersmith

03/21/2016 at 07:55PM

7
#341 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 03:14PM

7
#342 - Robber Toe / @robbertoe

04/01/2016 at 01:40AM

7
#343 - sitting_like_L / @das_sawyer19l

04/07/2016 at 02:01AM

7
#344 - Brendan Op 't Root / @OptrootB

04/07/2016 at 08:55AM

7
#345 - エクシル / @sicoh395

04/07/2016 at 02:18PM

7
#346 - ほんとvaca / @hontovaca

04/13/2016 at 10:22PM

7
#347 - S O / @strangelooperer

04/17/2016 at 07:39PM

7
#348 - Jake Griffin / @J4K0_G

04/22/2016 at 10:42PM

7
#349 - Håkon Bråten / @h_braten

04/27/2016 at 07:13PM

7
#350 - Aleksandr Pak / @alekspak

04/27/2016 at 08:09PM

7
#351 - onedayrex / @onedayzns

04/29/2016 at 08:48AM

7
#352 - Ben Sherman / @bensherman

04/30/2016 at 05:16AM

7
#353 - matthieu le grix / @mlegrix

05/01/2016 at 01:15PM

7
#354 - Kawin Nikomborirak / @nikomborirak

05/02/2016 at 05:36AM

7
#355 - Joe Searle / @artouk

05/02/2016 at 03:03PM

7
#356 - Daniel Latzer / @tournqat

05/02/2016 at 04:19PM

7
#357 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 05:38PM

7
#358 - John Goes / @johnwgoes

05/04/2016 at 02:52AM

7
#359 - Jason Pleau / @JasonPleau

05/05/2016 at 01:17AM

7
#360 - Rob Ert / @robrunner888

05/10/2016 at 05:59PM