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 @YannMoisan:

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

54 active golfers, 159 entries

Solutions by @YannMoisan:
35
#33 - Yann Moisan / @YannMoisan

02/10/2013 at 02:05PM

37
#>40 - Yann Moisan / @YannMoisan

02/10/2013 at 01:56PM

38
#>41 - Yann Moisan / @YannMoisan

02/10/2013 at 01:47PM

48
#>49 - Yann Moisan / @YannMoisan

02/10/2013 at 01:44PM

57
#>51 - Yann Moisan / @YannMoisan

02/10/2013 at 01:55PM