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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
8
#1291 - Kevin Johnson / @kjjuno

06/04/2018 at 02:51PM

8
#1292 - サブアカウント / @WeazulyS

06/05/2018 at 04:43AM

8
#1293 - Dylan Nelson / @dlnnlsn

06/08/2018 at 05:04AM

8
#1294 - Chris Dean / @ChrisDe62379742

06/12/2018 at 04:56PM

8
#1295 - deeplow / @deeplow1337

06/15/2018 at 06:37PM

8
#1296 - Puj / @MrPuj

07/10/2018 at 12:05PM

8
#1297 - ハヤシ / @0__098

07/17/2018 at 01:57PM

8
#1298 - 최종원 / @lastone9182

07/17/2018 at 02:40PM

8
#1299 - 伺か / @ojiry

07/19/2018 at 04:22AM

8
#1300 - Benny / @b1299709

07/29/2018 at 10:56AM

8
#1301 - Владислав / @papa_gusserl

08/08/2018 at 02:46PM

8
#1302 - 村橋究理基M.Kuriki@北大 / @mkuriki_

08/11/2018 at 01:57AM

8
#1303 - Chirag Joshi / @thechijos

08/13/2018 at 07:28AM

8
#1304 - Frank Korf / @OMGFrank

08/16/2018 at 07:19PM

8
#1305 - Mark Watson / @mrkrwtsn

08/17/2018 at 07:51PM

8
#1306 - Coruja Queridinha / @miriamretka

08/21/2018 at 09:32PM

8
#1307 - Stefan Heyder / @Astheny_

09/17/2018 at 12:27PM

8
#1308 - Brendan B Amdocs / @AmdocsB

09/26/2018 at 04:16PM

8
#1309 - golgi / @gloggyapparatus

10/02/2018 at 09:19AM

8
#1310 - Roger Bongers / @RogerBongers

10/05/2018 at 06:53PM

8
#1311 - Bruce Adams / @bruceadams1054

10/08/2018 at 12:29PM

8
#1312 - Aubrey Lavigne / @AubreySLavigne

10/20/2018 at 08:17AM

8
#1313 - Jo / @Jo59893132

10/25/2018 at 06:02AM

8
#1314 - Jules / @namebrandloser

10/26/2018 at 11:15PM

8
#1315 - Tom Smeding / @TomSmeding

11/05/2018 at 10:39PM

8
#1316 - Tommaso Laurenzi / @TommasoLaurenzi

11/08/2018 at 11:36AM

8
#1317 - Luis Rodriguez / @luisthecoder

11/13/2018 at 02:05AM

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

11/14/2018 at 09:33AM

8
#1319 - dyson dark / @U9gJt7mOEOjbRN7

11/17/2018 at 06:31PM

8
#1320 - Homer Simp12586 / @simp12586

11/18/2018 at 06:18PM