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

82 active golfers, 381 entries

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

01/03/2024 at 08:27AM

70
#>20 - Vishal / @gyanantaran

01/03/2024 at 05:58AM

75
#>24 - Vishal / @gyanantaran

01/02/2024 at 02:05PM

93
#>25 - Vishal / @gyanantaran

01/02/2024 at 10:14AM

95
#>25 - Vishal / @gyanantaran

01/02/2024 at 09:15AM

101
#>31 - Vishal / @gyanantaran

01/02/2024 at 08:31AM

141
#>52 - Vishal / @gyanantaran

01/03/2024 at 05:36AM

162
#>65 - Vishal / @gyanantaran

01/02/2024 at 05:09PM

187
#>70 - Vishal / @gyanantaran

01/02/2024 at 08:09AM

194
#>73 - Vishal / @gyanantaran

01/02/2024 at 06:32AM