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 56e4fe988cf590220106e9bb

Fun With The Diagonal

change the lowercase characters on the main diagonal to uppercase

Start file
a a a a a
b b b b b
c c c c c
d d d d d
e e e e e
End file
A a a a a
b B b b b
c c C c c
d d d D d
e e e e E

View Diff

1,5c1,5
< a a a a a
< b b b b b
< c c c c c
< d d d d d
< e e e e e
---
> A a a a a
> b B b b b
> c c C c c
> d d d D d
> e e e e E

Solutions by @jakolasku:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @wisty97

73 active golfers, 96 entries

Solutions by @jakolasku:
11
#38 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 08:19PM

11
#>38 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 08:27PM

15
#>73 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 08:18PM