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

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

51 active golfers, 134 entries

Solutions by @rahulkrish:
25
#4 - Rahul Krishnan / @rahulkrish

11/04/2012 at 04:04PM

27
#>10 - Rahul Krishnan / @rahulkrish

11/04/2012 at 03:13PM

27
#>10 - Rahul Krishnan / @rahulkrish

11/04/2012 at 03:17PM

32
#>18 - Rahul Krishnan / @rahulkrish

11/04/2012 at 02:55PM

36
#>36 - Rahul Krishnan / @rahulkrish

11/04/2012 at 02:30PM

39
#>41 - Rahul Krishnan / @rahulkrish

11/04/2012 at 02:23PM

42
#>43 - Rahul Krishnan / @rahulkrish

11/04/2012 at 11:50AM

43
#>43 - Rahul Krishnan / @rahulkrish

11/04/2012 at 11:38AM

100
#>51 - Rahul Krishnan / @rahulkrish

11/04/2012 at 11:21AM