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

1874 active golfers, 4717 entries

Leaderboard (lowest score wins):
13
#1801 - Dustin McBride / @dustinbm

06/01/2017 at 11:14PM

13
#1802 - Disrupting the useless / @wowsuchcode

10/24/2019 at 01:41PM

13
#1803 - jackmark / @jackmar14540583

07/11/2020 at 05:17AM

14
#1804 - madka / @lachrimae_pavan

08/01/2014 at 03:51PM

14
#1805 - かしゅーなっつ@修行中 / @kashew_nuts

08/02/2014 at 06:20AM

14
#1806 - Mohamed Bassem / @MohamedBassem

08/06/2014 at 09:36AM

14
#1807 - Lily / @lilibethdlc

09/03/2014 at 06:57AM

14
#1808 - Aria / @AriaMoKr

09/08/2014 at 07:54PM

14
#1809 - bluehat / @b1u3h4t

09/17/2014 at 03:58PM

14
#1810 - a b / @c00_a

01/19/2015 at 01:38PM

14
#1811 - Zachary Daniel / @ZacharySDaniel

01/26/2015 at 10:23PM

14
#1812 - darfontz sucks / @buttsToTheSky

08/25/2015 at 05:51PM

14
#1813 - Benjamin Rausch / @DubbsSmacker44

12/06/2015 at 08:59AM

14
#1814 - Mendel Simon / @agentms11

12/13/2015 at 05:59PM

14
#1815 - Niru Maheswaranathan / @niru_m

04/03/2016 at 10:24PM

14
#1816 - bytespirit / @bytespirit1

05/03/2016 at 04:24PM

14
#1817 - Jake S / @jakeseiden

05/13/2016 at 01:27PM

14
#1818 - Dominik / @domschrei

05/18/2016 at 10:32PM

14
#1819 - Stop and think / @ms_uncountable

07/06/2017 at 10:25AM

14
#1820 - Pierre Dorbais / @chdorb

08/08/2018 at 04:17PM

14
#1821 - Jurica / @Jurica34581259

11/15/2018 at 12:37AM

14
#1822 - 강현 / @Applesquiz

01/22/2019 at 12:01PM

14
#1823 - 勹″み / @gumisugoitaberu

05/05/2019 at 04:07AM

14
#1824 - JvdB01 / @JvdB001

05/08/2019 at 10:07AM

14
#1825 - mark / @feltnermj

06/07/2019 at 03:46PM

14
#1826 - @abimelechbeutelbilch@fulda.social 𝕏 / @FHashitoku

05/08/2020 at 02:34PM

14
#1827 - Samir Khan / @stats_samir

05/15/2020 at 10:46PM

14
#1828 - dotvimrc / @dotvimrc1

07/08/2020 at 07:06AM

14
#1829 - zai / @zaidhaaan

08/29/2020 at 01:24AM

14
#1830 - thevimgolfer / @thevimgolfer

01/05/2022 at 05:45PM