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

1762 active golfers, 4376 entries

Leaderboard (lowest score wins):
7
#691 - vicver09 / @vicver091

11/18/2019 at 05:51PM

7
#692 - cínicoycansino / @pgv958

11/20/2019 at 12:10PM

7
#693 - Mark / @markfilus

11/21/2019 at 05:55PM

7
#694 - shota_ogswr / @shota_ogasawara

11/26/2019 at 02:17PM

7
#695 - Shaw C. / @Xiao_SCKii

11/30/2019 at 10:19AM

7
#696 - Robert / @pepzit

12/01/2019 at 06:34PM

7
#697 - samuel norbury / @SnNorbury

12/15/2019 at 12:35PM

7
#698 - Jason Neylon / @jasonneylon

01/04/2020 at 11:54AM

7
#699 - beew71493 / @beew71493

01/08/2020 at 06:06AM

7
#700 - JimmyGymglish / @JGymglish

01/15/2020 at 08:30AM

7
#701 - Flowepmed S. Sirch / @iluvfugu

01/17/2020 at 05:05AM

7
#702 - None / @sh1chuang

01/20/2020 at 02:13PM

7
#703 - Thomas Jung / @ThomasAJung

01/27/2020 at 08:42AM

7
#704 - Xiangzhuo Meng / @MengXiangzhuo

01/31/2020 at 04:42PM

7
#705 - Pham Tuan Anh / @anhpt379

02/17/2020 at 05:07AM

7
#706 - Falafel Palapel / @falafelpalapel

02/19/2020 at 03:35PM

7
#707 - howanto / @ho_wan_

02/21/2020 at 02:50PM

7
#708 - Mushan Yang / @mushanyoung

02/24/2020 at 10:47PM

7
#709 - countime / @countime1

03/10/2020 at 12:46AM

7
#710 - Sean Dewar / @seandewar

03/13/2020 at 10:25PM

7
#711 - Toby Hawkins / @Toby_Hawkins

03/16/2020 at 09:51PM

7
#712 - Marco / @Marco24456514

03/22/2020 at 12:06AM

7
#713 - Thomas næsje / @Thomasnsje

03/24/2020 at 10:44PM

7
#714 - James Rayman / @jamsramen

04/01/2020 at 06:48AM

7
#715 - Sikker Rosendal / @srosendaldk

04/17/2020 at 12:19PM

7
#716 - edvrds / @edvrds

04/18/2020 at 08:22PM

7
#717 - Jason / @roosjason

04/20/2020 at 01:28AM

7
#718 - せいほう / @FICSQF

04/23/2020 at 04:12AM

7
#719 - {{ profile.name }} / @bytesonly

04/29/2020 at 12:13PM

7
#720 - Nicolas Daval / @ndaval

04/30/2020 at 06:20PM