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):
8
#1231 - grigouille / @grigouille2

07/11/2017 at 11:30AM

8
#1232 - Thomas Steinbach / @thomasstei

07/18/2017 at 07:41AM

8
#1233 - Anne Pacalet / @_Anne_P

07/19/2017 at 11:19AM

8
#1234 - Vedro / @Vedro03557622

07/27/2017 at 10:30PM

8
#1235 - Noah Gamboa / @noah80774444

07/29/2017 at 08:47PM

8
#1236 - Jonas Sunde V / @sunde_v

08/04/2017 at 03:40PM

8
#1237 - sam abtek / @samabtek1

08/04/2017 at 06:48PM

8
#1238 - Anton Outkine / @AOutkine

08/07/2017 at 02:14AM

8
#1239 - toddkoym / @toddkoym

08/09/2017 at 02:41AM

8
#1240 - Clay Thomas / @CHThomas95

08/09/2017 at 07:58PM

8
#1241 - asno / @AsnoGordo

08/11/2017 at 01:35AM

8
#1242 - Clint Ryan / @_eastwd

08/21/2017 at 05:42AM

8
#1243 - Jacob Buete / @JBuete

08/28/2017 at 11:58AM

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

09/07/2017 at 04:10PM

8
#1245 - Дима / @dimkino

09/07/2017 at 04:53PM

8
#1246 - Romeo Valentin / @Seecez

09/26/2017 at 12:18PM

8
#1247 - garry quested / @GQuested

09/28/2017 at 08:49AM

8
#1248 - Luke Bryant / @LukeBryant55

10/01/2017 at 06:58PM

8
#1249 - dadav 🥀 / @__dadav__

10/01/2017 at 07:08PM

8
#1250 - Denis Kaluznyy / @Spy_Denis

10/04/2017 at 03:30PM

8
#1251 - squdle / @squdle

10/08/2017 at 01:01PM

8
#1252 - Elton Kamami / @pixel_grid

10/09/2017 at 08:34PM

8
#1253 - sehe / @sehetw

10/10/2017 at 02:25PM

8
#1254 - Stephen Betts / @stephenbetts

10/12/2017 at 06:04PM

8
#1255 - Sebastián Etra / @EtraStyle

10/12/2017 at 10:41PM

8
#1256 - C / @bravekarma

10/15/2017 at 07:26AM

8
#1257 - Ron Alexssen / @Ralexhere

10/18/2017 at 04:30PM

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

10/22/2017 at 12:29AM

8
#1259 - Juuso Valkeejärvi / @jussovalk

11/10/2017 at 09:42PM

8
#1260 - Ad Infinitum / @Ad_Inifinitum

11/13/2017 at 06:45AM