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

1487 active golfers, 3601 entries

Leaderboard (lowest score wins):
7
#601 - Eric Moss / @NotEricMoss

11/04/2018 at 09:55PM

7
#602 - Fabio Branquinho / @branquif

11/08/2018 at 05:41PM

7
#603 - Carpe Telam / @CarpeTelam

11/12/2018 at 11:11PM

7
#604 - name / @name65894813

11/15/2018 at 04:31PM

7
#605 - Sören Schellhoff / @Jackokomm

11/21/2018 at 04:49PM

7
#606 - diwa / @Di_nate_

11/23/2018 at 06:40AM

7
#607 - faisal / @faisalhackshah

11/25/2018 at 03:19AM

7
#608 - Adam / @askoufish

11/25/2018 at 11:23PM

7
#609 - Jonathan Cabezas / @John_Harkan

11/27/2018 at 12:55PM

7
#610 - Lee / @Lee94318158

12/01/2018 at 10:31AM

7
#611 - Angry Dev / @AngryDev7

12/03/2018 at 09:47PM

7
#612 - band / @band26376522

12/05/2018 at 12:42AM

7
#613 - shw / @shw30127562

12/05/2018 at 07:10AM

7
#614 - Maas Lalani / @maaslalani

12/05/2018 at 09:26PM

7
#615 - Jonathan Gin / @jonathangin52

12/05/2018 at 09:30PM

7
#616 - Anant Mishra / @anantanni22

12/08/2018 at 04:27PM

7
#617 - Ruby Sapphire / @RubySapphire20

12/15/2018 at 03:37AM

7
#618 - Ackman Syntax Error / @AckmanSux

12/24/2018 at 11:54AM

7
#619 - Julien Harbulot / @julienharbulot

12/27/2018 at 01:07AM

7
#620 - Artur Mróz / @MrozArtur

12/29/2018 at 04:25PM

7
#621 - TimMcGuire / @mcguire

01/04/2019 at 04:13AM

7
#622 - Lorenzo Swank / @lswank

01/05/2019 at 02:56PM

8
#623 - Clinton シ / @iblamefish

07/30/2014 at 07:57PM

8
#624 - Ricardo M. Vilchis / @ajkaanbal

07/30/2014 at 08:48PM

8
#625 - James / @Dronak

07/30/2014 at 09:00PM

8
#626 - vimgolf copycat / @vimgolf_copycat

07/30/2014 at 09:50PM

8
#627 - yaon / @yaon4

07/31/2014 at 12:58AM

8
#628 - Saher El-Neklawy / @saherneklawy

07/31/2014 at 07:19AM

8
#629 - Ram Tamtam / @ramtamtamtam

07/31/2014 at 09:43AM

8
#630 - Pete Johns / @johnsyweb

07/31/2014 at 09:50AM