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

1656 active golfers, 4104 entries

Leaderboard (lowest score wins):
8
#1261 - Nico W. / @AirlessAtmo

05/08/2019 at 01:20PM

8
#1262 - Arno / @arnoxmp

05/10/2019 at 03:12PM

8
#1263 - 2xRon / @2cdotRon

05/15/2019 at 03:43AM

8
#1264 - alexandrasou / @alexandrasou2

05/22/2019 at 01:45PM

8
#1265 - Edan Sneh / @edan_sneh

06/04/2019 at 07:52AM

8
#1266 - albalitz / @_albalitz

06/05/2019 at 08:46AM

8
#1267 - Graeme Smith / @InstaGraeme

06/07/2019 at 10:40AM

8
#1268 - Tyler Wilcock / @tylerwilcock

06/07/2019 at 04:12PM

8
#1269 - Thomas Hickman / @thomaskhickman

06/08/2019 at 12:37PM

8
#1270 - JonasS / @jonas42s

06/08/2019 at 02:55PM

8
#1271 - たぬぽん / @eJYwMbymauWKF4B

06/11/2019 at 02:24PM

8
#1272 - Johannes / @joka253

06/20/2019 at 04:13PM

8
#1273 - Chester Yap / @Chest_ErYap

07/07/2019 at 04:39AM

8
#1274 - Peter Demin / @peterdemin

07/11/2019 at 06:36PM

8
#1275 - Floyd Gantt / @fgantt

07/12/2019 at 08:37PM

8
#1276 - Crystal L / @Cartsly

07/13/2019 at 10:01PM

8
#1277 - Neil Struthers / @struthersneil

07/16/2019 at 02:29PM

8
#1278 - Marcus Loo / @MarcusLoo1

07/17/2019 at 11:34PM

8
#1279 - bpseudopod / @bpseudopod

07/18/2019 at 05:43PM

8
#1280 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:17AM

8
#1281 - Markus / @ARealAnnoyance

07/30/2019 at 01:28PM

8
#1282 - Pittson / @Pittson95

07/31/2019 at 07:44PM

8
#1283 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 06:36PM

8
#1284 - Matt Vaughn / @mattttvaughn

08/05/2019 at 11:50PM

8
#1285 - Eric Banisadr / @EBanisadr

08/07/2019 at 04:22PM

8
#1286 - sooqua / @sooqua

08/08/2019 at 07:36PM

8
#1287 - Luiz Eduardo Amaral / @_luxedo

08/13/2019 at 05:51PM

8
#1288 - theBecwar / @thebecwar

08/18/2019 at 06:16PM

8
#1289 - Simon Wilkinson / @simondwilkinson

08/24/2019 at 03:09PM

8
#1290 - Adam Hartz / @awareofnow

08/26/2019 at 12:16AM