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

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

80 active golfers, 329 entries

Solutions by @MartnRamtin:
71
#20 - MartnRamtin / @MartnRamtin

12/13/2023 at 12:30AM

72
#>21 - MartnRamtin / @MartnRamtin

12/13/2023 at 12:27AM

74
#>21 - MartnRamtin / @MartnRamtin

12/13/2023 at 12:21AM

78
#>23 - MartnRamtin / @MartnRamtin

12/13/2023 at 12:06AM

93
#>24 - MartnRamtin / @MartnRamtin

12/11/2023 at 07:44PM

101
#>30 - MartnRamtin / @MartnRamtin

12/11/2023 at 07:37PM

110
#>34 - MartnRamtin / @MartnRamtin

12/11/2023 at 07:30PM

111
#>37 - MartnRamtin / @MartnRamtin

12/08/2023 at 08:12PM

118
#>41 - MartnRamtin / @MartnRamtin

12/08/2023 at 07:52PM

122
#>44 - MartnRamtin / @MartnRamtin

12/08/2023 at 07:44PM

123
#>44 - MartnRamtin / @MartnRamtin

11/21/2023 at 10:08PM

144
#>51 - MartnRamtin / @MartnRamtin

11/21/2023 at 09:27PM

146
#>52 - MartnRamtin / @MartnRamtin

11/21/2023 at 09:36PM