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

1713 active golfers, 4255 entries

Leaderboard (lowest score wins):
8
#1321 - Jake Nixon / @thejakenixon

09/29/2019 at 10:10PM

8
#1322 - Rui Xue / @ruirayxue

10/01/2019 at 04:45AM

8
#1323 - Gabriel Duque / @zuh0_

10/01/2019 at 02:32PM

8
#1324 - Benjamin Pelletier / @benjipelletier

10/07/2019 at 08:06PM

8
#1325 - Scott Taylor / @scott11X8

10/25/2019 at 12:13AM

8
#1326 - Jason Chen / @chezbgone

10/27/2019 at 08:55PM

8
#1327 - Harrison / @ardentcow

10/31/2019 at 06:19AM

8
#1328 - trafficone / @trafficone

10/31/2019 at 09:17PM

8
#1329 - Mark Brody / @_markbrody

11/02/2019 at 06:52PM

8
#1330 - Tokos Apos / @AposTokosapos

11/04/2019 at 12:13PM

8
#1331 - Lory / @Lory46845742

11/06/2019 at 03:06PM

8
#1332 - pysnow530 / @pysnow530

11/21/2019 at 05:18AM

8
#1333 - fewfold / @fewfold

11/21/2019 at 05:21AM

8
#1334 - skamgolf / @skamgolf

11/24/2019 at 02:50AM

8
#1335 - Minyi Zhong / @minyi_zhong

11/25/2019 at 09:50AM

8
#1336 - Timo Böhm / @TimoBohm

11/26/2019 at 07:10PM

8
#1337 - Camillott Games / @camillottgames

11/27/2019 at 07:58PM

8
#1338 - Andrei Popescu / @AndreiTheory

12/09/2019 at 09:57PM

8
#1339 - Matt Aschmann / @ma7hatter

12/11/2019 at 07:05PM

8
#1340 - Dan Kilman / @dan_kilman

12/21/2019 at 11:53AM

8
#1341 - BESSENG A IREH Guy / @guybesseng

12/23/2019 at 10:58PM

8
#1342 - Delon / @delonleonard

12/27/2019 at 12:09PM

8
#1343 - jerald75m / @jerald75m

01/10/2020 at 12:41PM

8
#1344 - Michael Meixner / @meixner62

01/22/2020 at 08:14PM

8
#1345 - Steve Racanovic / @steve_racanovic

02/04/2020 at 08:41PM

8
#1346 - Christopher Kolstad / @chriswk

02/06/2020 at 09:16PM

8
#1347 - vimgolf_tmp_1 / @1Vimgolf

02/16/2020 at 03:25PM

8
#1348 - KingYames / @JamesZeHunter

02/17/2020 at 06:25AM

8
#1349 - brad / @bitsbybrad

03/04/2020 at 03:52AM

8
#1350 - floyd / @floyd10086

03/13/2020 at 03:16AM