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

1697 active golfers, 4222 entries

Leaderboard (lowest score wins):
8
#1321 - Harrison / @ardentcow

10/31/2019 at 06:19AM

8
#1322 - trafficone / @trafficone

10/31/2019 at 09:17PM

8
#1323 - Mark Brody / @_markbrody

11/02/2019 at 06:52PM

8
#1324 - Tokos Apos / @AposTokosapos

11/04/2019 at 12:13PM

8
#1325 - Lory / @Lory46845742

11/06/2019 at 03:06PM

8
#1326 - pysnow530 / @pysnow530

11/21/2019 at 05:18AM

8
#1327 - fewfold / @fewfold

11/21/2019 at 05:21AM

8
#1328 - skamgolf / @skamgolf

11/24/2019 at 02:50AM

8
#1329 - Minyi Zhong / @minyi_zhong

11/25/2019 at 09:50AM

8
#1330 - Timo Böhm / @TimoBohm

11/26/2019 at 07:10PM

8
#1331 - Camillott Games / @camillottgames

11/27/2019 at 07:58PM

8
#1332 - Andrei Popescu / @AndreiTheory

12/09/2019 at 09:57PM

8
#1333 - Matt Aschmann / @ma7hatter

12/11/2019 at 07:05PM

8
#1334 - Dan Kilman / @dan_kilman

12/21/2019 at 11:53AM

8
#1335 - BESSENG A IREH Guy / @guybesseng

12/23/2019 at 10:58PM

8
#1336 - Delon / @delonleonard

12/27/2019 at 12:09PM

8
#1337 - jerald75m / @jerald75m

01/10/2020 at 12:41PM

8
#1338 - Michael Meixner / @meixner62

01/22/2020 at 08:14PM

8
#1339 - Steve Racanovic / @steve_racanovic

02/04/2020 at 08:41PM

8
#1340 - Christopher Kolstad / @chriswk

02/06/2020 at 09:16PM

8
#1341 - vimgolf_tmp_1 / @1Vimgolf

02/16/2020 at 03:25PM

8
#1342 - KingYames / @JamesZeHunter

02/17/2020 at 06:25AM

9
#1343 - RobertT / @techrt2050

07/31/2014 at 01:07AM

9
#1344 - Kartik Shenoy / @kartikshenoy

07/31/2014 at 10:05PM

9
#1345 - daveseibert / @daveseibert

08/02/2014 at 03:15AM

9
#1346 - Rakesh BS / @rakesh_bs

08/02/2014 at 11:47AM

9
#1347 - Domon / @Domon

08/06/2014 at 07:36AM

9
#1348 - marvlow / @marv_low

08/06/2014 at 07:48PM

9
#1349 - JonathanStarnes / @JON_STARNES

08/07/2014 at 05:52AM

9
#1350 - Daniel Low / @deniallow

08/07/2014 at 10:53PM