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

1899 active golfers, 4824 entries

Leaderboard (lowest score wins):
11
#1801 - Jason Spafford / @JasonSpafford

05/27/2015 at 05:20PM

11
#1802 - Nicola A / @aitkenster

07/29/2015 at 04:48PM

11
#1803 - Joachim / @errrsooo

09/01/2015 at 10:41PM

11
#1804 - Feras / @faldah

04/24/2016 at 03:11AM

11
#1805 - Micha / @michman89

08/10/2016 at 10:46AM

11
#1806 - Netznarkose / @netznarkose

07/28/2017 at 09:20AM

11
#1807 - Omar Zeidan / @OZeidan97

11/13/2018 at 12:41PM

11
#1808 - Thiago Preischadt / @TPreischadt

07/10/2019 at 02:38AM

11
#1809 - DeadlyKitten / @DeadlyKitten3

11/11/2019 at 04:23PM

11
#1810 - Kelvin Meyer / @Kelvin_Meyer15

12/06/2019 at 11:01AM

12
#1811 - Máté Marjai / @marjaimate

08/08/2014 at 07:29PM

12
#1812 - Simon Mölzer / @h0wser

08/28/2014 at 07:12AM

12
#1813 - sodasamurai / @pease_justin

09/05/2014 at 09:18PM

12
#1814 - Akshay Aurora / @akshayaurora

09/16/2014 at 08:07AM

12
#1815 - Daniel Byron / @dansolo17

04/17/2015 at 07:29AM

12
#1816 - Mick van der Vegt / @mickvdv

05/17/2019 at 02:00PM

12
#1817 - Florent Uguet / @FlorentUguet

07/10/2019 at 09:19AM

12
#1818 - Nurettin Abacı / @NurettinAbaci

08/05/2019 at 05:59PM

12
#1819 - Ian / @IanPartials

12/16/2019 at 06:02AM

12
#1820 - Seve / @Seve_py

03/06/2020 at 04:53PM

12
#1821 - Christopher Fanning / @jumpingcloud

05/15/2020 at 04:48PM

13
#1822 - Bednarik Boldizsar / @bboldi

08/04/2014 at 02:59PM

13
#1823 - olopost / @olopost

04/25/2015 at 09:01AM

13
#1824 - Ken Powers / @knpwrs

05/19/2015 at 03:07AM

13
#1825 - Dustin McBride / @dustinbm

06/01/2017 at 11:14PM

13
#1826 - Disrupting the useless / @wowsuchcode

10/24/2019 at 01:41PM

13
#1827 - jackmark / @jackmar14540583

07/11/2020 at 05:17AM

14
#1828 - madka / @lachrimae_pavan

08/01/2014 at 03:51PM

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

08/02/2014 at 06:20AM

14
#1830 - Mohamed Bassem / @MohamedBassem

08/06/2014 at 09:36AM