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

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

83 active golfers, 396 entries

Solutions by @Shooker2012:
75
#25 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:45AM

99
#>28 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:36AM

106
#>34 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:33AM

146
#>54 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:24AM

153
#>58 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:10AM

156
#>63 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:04AM

195
#>74 - ShookerAndBeta / @Shooker2012

11/21/2023 at 07:00AM

209
#>75 - ShookerAndBeta / @Shooker2012

11/21/2023 at 04:01AM

452
#>83 - ShookerAndBeta / @Shooker2012

11/21/2023 at 03:54AM