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

1657 active golfers, 4106 entries

Leaderboard (lowest score wins):
8
#1231 - Bennett / @bennettbackward

12/20/2018 at 01:09PM

8
#1232 - Jasper Pangilinan / @JasperP

12/31/2018 at 12:41AM

8
#1233 - Grorco / @grorco

01/07/2019 at 04:36PM

8
#1234 - Marcio M Pereira / @iviarcio

01/07/2019 at 06:26PM

8
#1235 - Blah Blah / @BlahBla08410389

01/12/2019 at 09:02PM

8
#1236 - Vildu / @Vildu3

01/15/2019 at 07:51PM

8
#1237 - abgalphabet / @abgalphabet

01/16/2019 at 02:07PM

8
#1238 - wrglprmft / @wrglprmft

01/19/2019 at 10:00PM

8
#1239 - Kyle Safran / @kylesafran

01/22/2019 at 07:33PM

8
#1240 - Alex Standke / @xanderstrike

01/25/2019 at 06:15PM

8
#1241 - hbdgr / @t_hbdgr

01/26/2019 at 06:56PM

8
#1242 - churaki / @churaki

01/30/2019 at 11:36AM

8
#1243 - Marc Päpper / @mpaepper

01/31/2019 at 04:39AM

8
#1244 - PJ Frazer / @pj_frazer

02/05/2019 at 01:18AM

8
#1245 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:50AM

8
#1246 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:05AM

8
#1247 - tenteke / @kuskus3

02/16/2019 at 02:41PM

8
#1248 - Anthony Catterwell / @ACatterwell

03/11/2019 at 12:42AM

8
#1249 - Isaak Meier / @IsaakMeier

03/12/2019 at 04:43PM

8
#1250 - chenqiqi / @chenqiqi13

03/13/2019 at 05:53AM

8
#1251 - Amado Antonini / @AmadoAntonini

03/17/2019 at 04:41PM

8
#1252 - əidolon / @eid_lon

03/19/2019 at 04:22PM

8
#1253 - enji / @enji_ja

03/19/2019 at 04:46PM

8
#1254 - Parsa Amini / @ParsaAmini

03/20/2019 at 07:12PM

8
#1255 - Duke Du / @DukeDu2

04/03/2019 at 03:36AM

8
#1256 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 03:34AM

8
#1257 - Timothy Bryan / @tim_bryan

04/10/2019 at 03:38PM

8
#1258 - Branden Clark / @clarkb_cs

04/19/2019 at 06:33AM

8
#1259 - Gitsnik / @dracyrys

04/22/2019 at 11:37AM

8
#1260 - Adam Rajnoha / @krasohled

04/23/2019 at 01:11PM