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

1898 active golfers, 4818 entries

Leaderboard (lowest score wins):
18
#1891 - vesa / @XingfDu

01/08/2021 at 06:46AM

20
#1892 - слизький скун / @MoufetteBaveuse

03/26/2019 at 10:38AM

20
#1893 - 이태경 / @Good2tk

12/18/2019 at 12:26AM

21
#1894 - timrich / @timrich

11/16/2014 at 12:08PM

22
#1895 - Misbah Khan / @themisbahkhan

10/30/2015 at 04:02PM

22
#1896 - Nick / @Nick05348019

06/08/2019 at 06:04PM

22
#1897 - Daksha Chatur / @DakshaChatur

09/26/2022 at 05:49AM

23
#1898 - Theodore DeRego / @tedsta0

12/08/2015 at 03:14AM