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

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

80 active golfers, 329 entries

Solutions by @gyanantaran:
58
#10 - Vishal / @gyanantaran

01/03/2024 at 08:27AM

70
#>19 - Vishal / @gyanantaran

01/03/2024 at 05:58AM

75
#>23 - Vishal / @gyanantaran

01/02/2024 at 02:05PM

93
#>24 - Vishal / @gyanantaran

01/02/2024 at 10:14AM

95
#>24 - Vishal / @gyanantaran

01/02/2024 at 09:15AM

101
#>30 - Vishal / @gyanantaran

01/02/2024 at 08:31AM

141
#>51 - Vishal / @gyanantaran

01/03/2024 at 05:36AM

162
#>63 - Vishal / @gyanantaran

01/02/2024 at 05:09PM

187
#>68 - Vishal / @gyanantaran

01/02/2024 at 08:09AM

194
#>71 - Vishal / @gyanantaran

01/02/2024 at 06:32AM