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

1659 active golfers, 4114 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

7
#623 - py / @py97235249

01/18/2019 at 07:37AM

7
#624 - André Z / @andrelzanellato

01/23/2019 at 01:21AM

7
#625 - Tinko Minko / @tandikula

01/27/2019 at 08:36PM

7
#626 - Patrick Lavin / @LavinComputes

01/30/2019 at 07:42PM

7
#627 - Kevin Ullmann / @kevosauce

01/31/2019 at 11:13PM

7
#628 - Sebastien Nicoud / @sebnukem

02/03/2019 at 10:15PM

7
#629 - Bumazhka / @Bumazhka

02/11/2019 at 07:22AM

7
#630 - Titouan Teyssier / @TitouanT_

02/25/2019 at 08:37PM