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 5054b935fa0b390002000020

SFD-ROC: Tic-Tac-Toe

Tic-Tac-Toe You are 'X', and it is your turn. Stop 'O' from winning, and complete the game. Draw a diagonal line through your winning row of three X's.

Start file
Tic-Tac-Toe
You are 'X', and it is your turn. Stop 'O' from winning, and complete the game.

        |   |
      X | O |
        |   |
     -----------
        |   |
        |   |
        |   |
     -----------
        |   |
        | O | X
        |   |


Bonus: Draw a diagonal line through your winning row of three X's.
End file
Tic-Tac-Toe
You are 'X', and it is your turn. Stop 'O' from winning, and complete the game.

     \  |   |
      X | O |
       \|   |
     -----------
        |\  |
        | X |
        |  \|
     -----------
        |   |\
        | O | X
        |   |  \


Bonus: Draw a diagonal line through your winning row of three X's.

View Diff

4c4
<         |   |
---
>      \  |   |
6c6
<         |   |
---
>        \|   |
8,10c8,10
<         |   |
<         |   |
<         |   |
---
>         |\  |
>         | X |
>         |  \|
12c12
<         |   |
---
>         |   |\
14c14
<         |   |
---
>         |   |  \

Solutions by @whimful:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @Remy_D

50 active golfers, 132 entries

Solutions by @whimful:
29
#13 - mix irving / @whimful

10/31/2012 at 10:17AM

30
#>15 - mix irving / @whimful

10/31/2012 at 10:08AM

32
#>18 - mix irving / @whimful

10/31/2012 at 09:52AM

33
#>22 - mix irving / @whimful

10/31/2012 at 09:33AM

34
#>27 - mix irving / @whimful

10/31/2012 at 09:19AM

37
#>37 - mix irving / @whimful

10/31/2012 at 08:57AM

37
#>37 - mix irving / @whimful

10/31/2012 at 09:02AM

39
#>41 - mix irving / @whimful

10/31/2012 at 09:14AM

43
#>43 - mix irving / @whimful

10/31/2012 at 08:50AM

50
#>46 - mix irving / @whimful

10/31/2012 at 08:45AM

191
#>50 - mix irving / @whimful

10/31/2012 at 08:31AM