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

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

83 active golfers, 396 entries

Solutions by @insomnight:
56
#5 - got_windy / @insomnight

11/23/2024 at 08:10AM

57
#>6 - got_windy / @insomnight

11/23/2024 at 05:58AM

58
#>14 - got_windy / @insomnight

11/23/2024 at 05:52AM

60
#>15 - got_windy / @insomnight

11/23/2024 at 03:13AM

70
#>21 - got_windy / @insomnight

11/23/2024 at 03:02AM

71
#>23 - got_windy / @insomnight

11/23/2024 at 02:42AM

72
#>23 - got_windy / @insomnight

11/23/2024 at 03:01AM

75
#>25 - got_windy / @insomnight

11/23/2024 at 02:30AM

83
#>25 - got_windy / @insomnight

11/23/2024 at 02:19AM

97
#>27 - got_windy / @insomnight

11/23/2024 at 02:14AM

101
#>32 - got_windy / @insomnight

11/23/2024 at 01:24AM

103
#>32 - got_windy / @insomnight

11/23/2024 at 12:51AM

117
#>43 - got_windy / @insomnight

11/23/2024 at 12:40AM

134
#>52 - got_windy / @insomnight

11/23/2024 at 12:20AM

143
#>53 - got_windy / @insomnight

11/22/2024 at 09:21AM