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

1662 active golfers, 4122 entries

Leaderboard (lowest score wins):
8
#1141 - sam abtek / @samabtek1

08/04/2017 at 06:48PM

8
#1142 - Anton Outkine / @AOutkine

08/07/2017 at 02:14AM

8
#1143 - toddkoym / @toddkoym

08/09/2017 at 02:41AM

8
#1144 - Clay Thomas / @CHThomas95

08/09/2017 at 07:58PM

8
#1145 - Asno / @AsnoGordo

08/11/2017 at 01:35AM

8
#1146 - Clint Ryan / @_eastwd

08/21/2017 at 05:42AM

8
#1147 - Jacob Buete / @JBuete

08/28/2017 at 11:58AM

8
#1148 - 心がポッキー / @lawliteqed

09/07/2017 at 04:10PM

8
#1149 - Дима / @dimkino

09/07/2017 at 04:53PM

8
#1150 - Romeo Valentin / @Seecez

09/26/2017 at 12:18PM

8
#1151 - garry quested / @GQuested

09/28/2017 at 08:49AM

8
#1152 - Luke Bryant / @LukeBryant55

10/01/2017 at 06:58PM

8
#1153 - Daniel / @0x9ABC

10/01/2017 at 07:08PM

8
#1154 - Denis Kaluznyy / @Spy_Denis

10/04/2017 at 03:30PM

8
#1155 - squdle / @squdle

10/08/2017 at 01:01PM

8
#1156 - Elton Kamami / @pixel_grid

10/09/2017 at 08:34PM

8
#1157 - sehe / @sehetw

10/10/2017 at 02:25PM

8
#1158 - Stephen Betts / @stephenbetts

10/12/2017 at 06:04PM

8
#1159 - Sebastián Etra / @EtraStyle

10/12/2017 at 10:41PM

8
#1160 - C / @bravekarma

10/15/2017 at 07:26AM

8
#1161 - Ron Alexssen / @Ralexhere

10/18/2017 at 04:30PM

8
#1162 - しぇぱっち / @shepabashi

10/22/2017 at 12:29AM

8
#1163 - Juuso Valkeejärvi / @jussovalk

11/10/2017 at 09:42PM

8
#1164 - Ad Infinitum / @Ad_Inifinitum

11/13/2017 at 06:45AM

8
#1165 - Bradley M. Small / @BradleySmall

11/14/2017 at 08:25PM

8
#1166 - nerdypage.com / @nerdypagedotcom

12/07/2017 at 01:59AM

8
#1167 - Михаил Сурин / @realssmike

12/17/2017 at 03:16AM

8
#1168 - Elias Åström / @ryvnfn

12/26/2017 at 06:28PM

8
#1169 - Spacesh1p / @spacesh1pdev

01/03/2018 at 11:58AM

8
#1170 - Joe Kerian / @kerian

01/05/2018 at 11:37PM