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 54a5b367b5be62000263f9ef

range(10) digit rotation

This is a data generator challenge or some kind of gift..

Start file
0 1 2 3 4 5 * 7 8 9
1 2 3 4 5 6 * 8 9 0
2 3 4 5 6 7 * 9 0 1
3 4 5 6 7 8 * 0 1 2
4 5 6 7 8 9 * 1 2 3
5 6 7 8 9 0 * 2 3 4
* * * * * * * * * *
7 8 9 0 1 2 * 4 5 6
8 9 0 1 2 3 * 5 6 7
9 0 1 2 3 4 * 6 7 8
End file
0 1 2 3 4 * 6 7 8 9
1 2 3 4 * 6 7 8 9 0
2 3 4 * 6 7 8 9 0 1
3 4 * 6 7 8 9 0 1 2
4 * 6 7 8 9 0 1 2 3
* 6 7 8 9 0 1 2 3 4
6 7 8 9 0 1 2 3 4 *
7 8 9 0 1 2 3 4 * 6
8 9 0 1 2 3 4 * 6 7
9 0 1 2 3 4 * 6 7 8

View Diff

1,9c1,9
< 0 1 2 3 4 5 * 7 8 9
< 1 2 3 4 5 6 * 8 9 0
< 2 3 4 5 6 7 * 9 0 1
< 3 4 5 6 7 8 * 0 1 2
< 4 5 6 7 8 9 * 1 2 3
< 5 6 7 8 9 0 * 2 3 4
< * * * * * * * * * *
< 7 8 9 0 1 2 * 4 5 6
< 8 9 0 1 2 3 * 5 6 7
---
> 0 1 2 3 4 * 6 7 8 9
> 1 2 3 4 * 6 7 8 9 0
> 2 3 4 * 6 7 8 9 0 1
> 3 4 * 6 7 8 9 0 1 2
> 4 * 6 7 8 9 0 1 2 3
> * 6 7 8 9 0 1 2 3 4
> 6 7 8 9 0 1 2 3 4 *
> 7 8 9 0 1 2 3 4 * 6
> 8 9 0 1 2 3 4 * 6 7

Solutions by @mnxx:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @mcr05

22 active golfers, 38 entries

Solutions by @mnxx:
18
#4 - mnx / @mnxx

01/02/2015 at 09:23AM