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

1619 active golfers, 3973 entries

Leaderboard (lowest score wins):
8
#1231 - tenteke / @kuskus3

02/16/2019 at 02:41PM

8
#1232 - Anthony Catterwell / @ACatterwell

03/11/2019 at 12:42AM

8
#1233 - Isaak Meier / @IsaakMeier

03/12/2019 at 04:43PM

8
#1234 - chenqiqi / @chenqiqi13

03/13/2019 at 05:53AM

8
#1235 - Amado Antonini / @AmadoAntonini

03/17/2019 at 04:41PM

8
#1236 - əidolon / @eid_lon

03/19/2019 at 04:22PM

8
#1237 - enji / @enji_ja

03/19/2019 at 04:46PM

8
#1238 - Parsa Amini / @ParsaAmini

03/20/2019 at 07:12PM

8
#1239 - Duke Du / @DukeDu2

04/03/2019 at 03:36AM

8
#1240 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 03:34AM

8
#1241 - Timothy Bryan / @tim_bryan

04/10/2019 at 03:38PM

8
#1242 - Branden Clark / @clarkb_cs

04/19/2019 at 06:33AM

8
#1243 - Gitsnik / @dracyrys

04/22/2019 at 11:37AM

8
#1244 - Adam Rajnoha / @krasohled

04/23/2019 at 01:11PM

8
#1245 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:55AM

8
#1246 - Nico W. / @AirlessAtmo

05/08/2019 at 01:20PM

8
#1247 - Arno / @arnoxmp

05/10/2019 at 03:12PM

8
#1248 - 2xRon / @2cdotRon

05/15/2019 at 03:43AM

8
#1249 - alexandrasou / @alexandrasou2

05/22/2019 at 01:45PM

8
#1250 - Edan Sneh / @edan_sneh

06/04/2019 at 07:52AM

8
#1251 - albalitz / @_albalitz

06/05/2019 at 08:46AM

8
#1252 - Graeme Smith / @InstaGraeme

06/07/2019 at 10:40AM

8
#1253 - Tyler Wilcock / @tylerwilcock

06/07/2019 at 04:12PM

8
#1254 - Thomas Hickman / @thomaskhickman

06/08/2019 at 12:37PM

8
#1255 - JonasS / @jonas42s

06/08/2019 at 02:55PM

8
#1256 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 02:24PM

8
#1257 - Johannes / @joka253

06/20/2019 at 04:13PM

8
#1258 - Chester Yap / @Chest_ErYap

07/07/2019 at 04:39AM

8
#1259 - Peter Demin / @peterdemin

07/11/2019 at 06:36PM

8
#1260 - Floyd Gantt / @fgantt

07/12/2019 at 08:37PM