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

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

77 active golfers, 319 entries

Solutions by @binayligal:
97
#24 - binayligal / @binayligal

12/31/2023 at 01:42PM

108
#>32 - binayligal / @binayligal

12/31/2023 at 01:36PM

109
#>32 - binayligal / @binayligal

12/31/2023 at 09:13AM

148
#>50 - binayligal / @binayligal

12/31/2023 at 08:20AM

157
#>58 - binayligal / @binayligal

12/31/2023 at 08:09AM

187
#>65 - binayligal / @binayligal

12/31/2023 at 08:02AM

199
#>68 - binayligal / @binayligal

12/31/2023 at 07:14AM