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 by @cd_rum:

Unlock 6 remaining solutions by signing in and submitting your own entry
Created by: @udioica

1879 active golfers, 4751 entries

Solutions by @cd_rum:
7
#761 - rats is a cool name / @cd_rum

12/09/2020 at 02:24AM

8
#>1463 - rats is a cool name / @cd_rum

12/09/2020 at 02:23AM

9
#>1726 - rats is a cool name / @cd_rum

12/09/2020 at 02:22AM

10
#>1771 - rats is a cool name / @cd_rum

12/09/2020 at 02:22AM

14
#>1834 - rats is a cool name / @cd_rum

12/09/2020 at 02:21AM

15
#>1856 - rats is a cool name / @cd_rum

12/09/2020 at 02:19AM