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

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

83 active golfers, 396 entries

Solutions by @Bats6789:
58
#8 - Blake Wingard / @Bats6789

11/16/2023 at 02:13PM

70
#>19 - Blake Wingard / @Bats6789

11/16/2023 at 02:10PM

75
#>24 - Blake Wingard / @Bats6789

11/16/2023 at 02:06PM

99
#>28 - Blake Wingard / @Bats6789

11/16/2023 at 02:02PM

104
#>32 - Blake Wingard / @Bats6789

11/16/2023 at 01:57PM

111
#>39 - Blake Wingard / @Bats6789

11/16/2023 at 01:52PM

115
#>42 - Blake Wingard / @Bats6789

11/15/2023 at 07:34PM

121
#>46 - Blake Wingard / @Bats6789

11/15/2023 at 07:17PM

138
#>52 - Blake Wingard / @Bats6789

11/15/2023 at 07:13PM