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 9v006501ab56000000000258

Tic-Tac-Toe Grid Transformation

Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.

Start file
|x|o|o|
| |x|x|
|x| |o|
End file
|-----------|
|x x| o | o |
| x |o o|o o|
|x x| o | o |
|-----------|
|   |x x|x x|
|   | x | x |
|   |x x|x x|
|-----------|
|x x|   | o |
| x |   |o o|
|x x|   | o |
|-----------|

View Diff

1,3c1,13
< |x|o|o|
< | |x|x|
< |x| |o|
---
> |-----------|
> |x x| o | o |
> | x |o o|o o|
> |x x| o | o |
> |-----------|
> |   |x x|x x|
> |   | x | x |
> |   |x x|x x|
> |-----------|
> |x x|   | o |
> | x |   |o o|
> |x x|   | o |
> |-----------|

Solutions by @A1OBJTxN5fTg5EJ:

Unlock 8 remaining solutions by signing in and submitting your own entry
Created by: @Somin13

82 active golfers, 381 entries

Solutions by @A1OBJTxN5fTg5EJ:
58
#8 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 03:38PM

70
#>19 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 03:32PM

75
#>24 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 03:19PM

99
#>28 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 03:01PM

100
#>29 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 02:49PM

101
#>31 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 02:47PM

106
#>33 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 02:45PM

118
#>42 - 悟史 / @A1OBJTxN5fTg5EJ

11/27/2023 at 02:40PM