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 4d22bb117f75b01e070000fb

Cartesian product

{1,2,3,4,5} X {1,2,3,4,5}

Start file


End file
1 1
1 2
1 3
1 4
1 5
2 1
2 2
2 3
2 4
2 5
3 1
3 2
3 3
3 4
3 5
4 1
4 2
4 3
4 4
4 5
5 1
5 2
5 3
5 4
5 5

View Diff

1c1,25
< 
---
> 1 1
> 1 2
> 1 3
> 1 4
> 1 5
> 2 1
> 2 2
> 2 3
> 2 4
> 2 5
> 3 1
> 3 2
> 3 3
> 3 4
> 3 5
> 4 1
> 4 2
> 4 3
> 4 4
> 4 5
> 5 1
> 5 2
> 5 3
> 5 4
> 5 5

Solutions by @clvv42:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @kylewillmon

95 active golfers, 255 entries

Solutions by @clvv42:
26
#13 - Wei Dai / @clvv42

01/05/2011 at 12:45AM

32
#>37 - Wei Dai / @clvv42

01/05/2011 at 12:33AM

35
#>57 - Wei Dai / @clvv42

01/05/2011 at 12:30AM

37
#>67 - Wei Dai / @clvv42

01/05/2011 at 12:29AM