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

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 66 remaining solutions by signing in and submitting your own entry
#67 Cory Knapp / @coryknapp - Score: 14 - 03/13/16 @ 20:22
qqgUllljq4@qZZ

0 comments


Created by: @wisty97

67 active golfers, 85 entries

Leaderboard (lowest score wins):
11
#61 - Tinko Minko / @tandikula

01/30/2019 at 04:19AM

11
#62 - T A / @SirAviles

02/18/2019 at 07:58PM

11
#63 - Titouan Teyssier / @TitouanT_

02/22/2019 at 01:56AM

11
#64 - Jeff Anderson / @_j3ffrey

04/30/2019 at 06:36AM

11
#65 - Ben M / @Sweet_Scientist

06/07/2019 at 05:47AM

12
#66 - Jeremiah Goyette / @JeremiahGoyette

08/05/2016 at 05:55AM

14
#67 - Cory Knapp / @coryknapp

03/13/2016 at 08:22PM