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 @Will-Hendrix:

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

82 active golfers, 381 entries

Solutions by @Will-Hendrix:
58
#13 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 03:44PM

70
#>20 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 03:23PM

71
#>22 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 03:15PM

75
#>24 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 03:11PM

91
#>24 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 02:53PM

92
#>25 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 02:24PM

95
#>25 - Will-Hendrix / @Will-Hendrix

02/12/2024 at 04:30AM

119
#>44 - Will-Hendrix / @Will-Hendrix

02/10/2024 at 09:09PM

194
#>73 - Will-Hendrix / @Will-Hendrix

02/10/2024 at 08:40PM