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

1897 active golfers, 4813 entries

Leaderboard (lowest score wins):
7
#751 - lamtt77 / @lamtt77

10/10/2020 at 11:17AM

7
#752 - RaylanFox / @RaylanFox

10/10/2020 at 07:16PM

7
#753 - noam teyssier / @noamteyssier

10/16/2020 at 04:46PM

7
#754 - Ramūnas Musteikis / @RamnasMusteiki1

10/17/2020 at 11:35AM

7
#755 - Super User / @WayanLW

10/22/2020 at 08:42AM

7
#756 - hepebexè / @hepebexe

11/15/2020 at 09:08PM

7
#757 - Diogo Felix / @onlurking

11/17/2020 at 03:07AM

7
#758 - MathijsHoogland / @MathijsHoogland

11/20/2020 at 01:03PM

7
#759 - Serhiy Prikhodko / @mastersnetru

11/21/2020 at 06:25PM

7
#760 - __VimGolfer__ / @VimGolfer19

11/26/2020 at 06:58PM

7
#761 - rats is a cool name / @cd_rum

12/09/2020 at 02:24AM

7
#762 - Ravi S Sinha / @ambidextrousTx

12/22/2020 at 04:47AM

7
#763 - 김도현 / @pykJzzzsmAzloZl

12/23/2020 at 09:41PM

7
#764 - pherapont / @pherapont1

12/24/2020 at 06:31AM

7
#765 - justinhj / @justinhj

12/25/2020 at 03:57AM

7
#766 - Jung Yeon Park / @park_jungy

01/04/2021 at 03:24PM

7
#767 - Ray Dennis / @raysden

01/08/2021 at 05:04PM

7
#768 - A A A / @37fatos

01/11/2021 at 12:01AM

7
#769 - traplover / @traplov78528337

01/17/2021 at 07:14PM

7
#770 - 蔡徐坤真是爱吃屎 / @Hashub7

01/21/2021 at 11:55AM

7
#771 - Caleb Biddulph / @BiddulphCaleb

01/27/2021 at 04:18AM

7
#772 - vim_maxter / @MaxterVim

07/03/2021 at 10:45AM

7
#773 - pikjes / @pikjes2

07/16/2021 at 07:28PM

7
#774 - lydxn / @lydxn1

07/29/2021 at 04:29AM

7
#775 - wpr__ / @wpr____

07/30/2021 at 10:58PM

7
#776 - Max / @Max17868626

11/16/2021 at 03:44AM

7
#777 - Flimsy Giraffe / @flimsy_giraffe

11/27/2021 at 09:36PM

7
#778 - Joshua Marple / @JoshuaMarple1

12/17/2021 at 05:05AM

7
#779 - Ofer Yehuda / @OferYehuda

02/24/2022 at 04:09PM

7
#780 - russellzhaomao / @russellzhaomao

06/07/2022 at 10:47AM