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
#1201 - Tommaso Laurenzi / @TommasoLaurenzi

11/08/2018 at 11:36AM

8
#1202 - Luis Rodriguez / @luisthecoder

11/13/2018 at 02:05AM

8
#1203 - steve N ӾlvЮ / @xlvio

11/14/2018 at 09:33AM

8
#1204 - dyson dark / @U9gJt7mOEOjbRN7

11/17/2018 at 06:31PM

8
#1205 - Homer Simp12586 / @simp12586

11/18/2018 at 06:18PM

8
#1206 - Timothy Michael Fox / @Timothy_M_Fox

11/20/2018 at 08:03PM

8
#1207 - timonegk / @timonegk

11/25/2018 at 03:21PM

8
#1208 - greengreen / @greengr09073862

11/26/2018 at 07:36PM

8
#1209 - Andreas Nordahl / @andreasnordahl

11/28/2018 at 01:35PM

8
#1210 - Mihai / @mihaicristiant

11/30/2018 at 03:38PM

8
#1211 - Performa / @performa6400

12/01/2018 at 05:57PM

8
#1212 - 张君杰 / @MYHQlDfwOuLvlGf

12/03/2018 at 08:07AM

8
#1213 - Tom ten Thij / @eco_coder

12/10/2018 at 12:56PM

8
#1214 - alex m / @al_mk_

12/18/2018 at 09:27PM

8
#1215 - Bennett / @bennettbackward

12/20/2018 at 01:09PM

8
#1216 - Jasper Pangilinan / @JasperP

12/31/2018 at 12:41AM

8
#1217 - Grorco / @grorco

01/07/2019 at 04:36PM

8
#1218 - Marcio M Pereira / @iviarcio

01/07/2019 at 06:26PM

8
#1219 - Blah Blah / @BlahBla08410389

01/12/2019 at 09:02PM

8
#1220 - Vildu / @Vildu3

01/15/2019 at 07:51PM

8
#1221 - abgalphabet / @abgalphabet

01/16/2019 at 02:07PM

8
#1222 - wrglprmft / @wrglprmft

01/19/2019 at 10:00PM

8
#1223 - Kyle Safran / @kylesafran

01/22/2019 at 07:33PM

8
#1224 - Alex Standke / @xanderstrike

01/25/2019 at 06:15PM

8
#1225 - hbdgr / @t_hbdgr

01/26/2019 at 06:56PM

8
#1226 - churaki / @churaki

01/30/2019 at 11:36AM

8
#1227 - Marc Päpper / @mpaepper

01/31/2019 at 04:39AM

8
#1228 - PJ Frazer / @pj_frazer

02/05/2019 at 01:18AM

8
#1229 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:50AM

8
#1230 - 默罕默德 / @Rt6RjEAJ987Woes

02/16/2019 at 09:05AM