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

1898 active golfers, 4818 entries

Leaderboard (lowest score wins):
7
#601 - Fabio Branquinho / @branquif

11/08/2018 at 05:41PM

7
#602 - Carpe Telam / @CarpeTelam

11/12/2018 at 11:11PM

7
#603 - name / @name65894813

11/15/2018 at 04:31PM

7
#604 - SΓΆren Schellhoff / @Jackokomm

11/21/2018 at 04:49PM

7
#605 - diwa / @Di_nate_

11/23/2018 at 06:40AM

7
#606 - faisal / @faisalhackshah

11/25/2018 at 03:19AM

7
#607 - Adam / @askoufish

11/25/2018 at 11:23PM

7
#608 - Jonathan Cabezas / @John_Harkan

11/27/2018 at 12:55PM

7
#609 - Lee / @Lee94318158

12/01/2018 at 10:31AM

7
#610 - Angry Dev / @AngryDev7

12/03/2018 at 09:47PM

7
#611 - band / @band26376522

12/05/2018 at 12:42AM

7
#612 - shw / @shw9453

12/05/2018 at 07:10AM

7
#613 - Maas Lalani / @maaslalani

12/05/2018 at 09:26PM

7
#614 - Jonathan Gin / @jonathangin52

12/05/2018 at 09:30PM

7
#615 - Anant Mishra / @anantanni22

12/08/2018 at 04:27PM

7
#616 - Ruby Sapphire / @RubySapphire20

12/15/2018 at 03:37AM

7
#617 - Ackman Syntax Error / @AckmanSux

12/24/2018 at 11:54AM

7
#618 - Julien Harbulot / @julienharbulot

12/27/2018 at 01:07AM

7
#619 - Artur MrΓ³z / @MrozArtur

12/29/2018 at 04:25PM

7
#620 - TimMcGuire / @mcguire

01/04/2019 at 04:13AM

7
#621 - Lorenzo Swank / @lswank

01/05/2019 at 02:56PM

7
#622 - py / @py97235249

01/18/2019 at 07:37AM

7
#623 - AndrΓ© Z / @andrelzanellato

01/23/2019 at 01:21AM

7
#624 - Tinko Minko / @tandikula

01/27/2019 at 08:36PM

7
#625 - Patrick Lavin / @LavinComputes

01/30/2019 at 07:42PM

7
#626 - Kevin Ullmann / @kevosauce

01/31/2019 at 11:13PM

7
#627 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:15PM

7
#628 - Bumazhka / @Bumazhka

02/11/2019 at 07:22AM

7
#629 - πšƒπš’πšπš˜πšžπšŠπš— πšƒπšŽπš’πšœπšœπš’πšŽπš› / @TitouanT_

02/25/2019 at 08:37PM

7
#630 - gravestench / @noisevoid

02/26/2019 at 09:32PM