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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
8
#1261 - dadav 🥀 / @__dadav__

10/01/2017 at 07:08PM

8
#1262 - Denis Kaluznyy / @Spy_Denis

10/04/2017 at 03:30PM

8
#1263 - squdle / @squdle

10/08/2017 at 01:01PM

8
#1264 - Elton Kamami / @pixel_grid

10/09/2017 at 08:34PM

8
#1265 - sehe / @sehetw

10/10/2017 at 02:25PM

8
#1266 - Stephen Betts / @stephenbetts

10/12/2017 at 06:04PM

8
#1267 - Sebastián Etra / @EtraStyle

10/12/2017 at 10:41PM

8
#1268 - C / @bravekarma

10/15/2017 at 07:26AM

8
#1269 - Ron Alexssen / @Ralexhere

10/18/2017 at 04:30PM

8
#1270 - しぇぱっち / @shepabashi

10/22/2017 at 12:29AM

8
#1271 - Juuso Valkeejärvi / @jussovalk

11/10/2017 at 09:42PM

8
#1272 - Ad Infinitum / @Ad_Inifinitum

11/13/2017 at 06:45AM

8
#1273 - Bradley M. Small / @BradleySmall

11/14/2017 at 08:25PM

8
#1274 - nerdypage.com / @nerdypagedotcom

12/07/2017 at 01:59AM

8
#1275 - Михаил Сурин / @realssmike

12/17/2017 at 03:16AM

8
#1276 - Elias Åström / @ryvnfn

12/26/2017 at 06:28PM

8
#1277 - Spacesh1p / @spacesh1pdev

01/03/2018 at 11:58AM

8
#1278 - Joe Kerian / @kerian

01/05/2018 at 11:37PM

8
#1279 - gink / @anagiwa

01/09/2018 at 06:31AM

8
#1280 - John C Shea / @MHSSachems

01/14/2018 at 12:15PM

8
#1281 - SporadicLizard / @sporadiclizard

01/14/2018 at 08:14PM

8
#1282 - Jens / @jigfox

02/23/2018 at 07:38AM

8
#1283 - GreenPinguin / @GreenPinguin2

03/09/2018 at 12:53PM

8
#1284 - Austin Ware / @AustinWare17

03/12/2018 at 07:37PM

8
#1285 - Lisa Ugray / @lisa_ugray

03/13/2018 at 05:37PM

8
#1286 - Jonathan Eidsness / @jonathaneidsnes

03/18/2018 at 08:32PM

8
#1287 - Paul Draghicescu / @pdragy

03/22/2018 at 06:28AM

8
#1288 - platypusDancing / @platypusDancing

03/29/2018 at 04:39AM

8
#1289 - vimthrowaway / @vimgolf_throw

03/30/2018 at 09:50AM

8
#1290 - Takaaki Onishi / @takaaki024

03/31/2018 at 09:51AM