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

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

82 active golfers, 381 entries

Solutions by @VimgolfU:
70
#18 - Vimgolf User / @VimgolfU

10/27/2023 at 08:48AM

75
#>23 - Vimgolf User / @VimgolfU

10/27/2023 at 08:15AM

89
#>24 - Vimgolf User / @VimgolfU

10/27/2023 at 06:56AM

108
#>34 - Vimgolf User / @VimgolfU

10/26/2023 at 12:30PM

113
#>40 - Vimgolf User / @VimgolfU

10/26/2023 at 12:19PM

115
#>41 - Vimgolf User / @VimgolfU

10/26/2023 at 11:58AM

118
#>42 - Vimgolf User / @VimgolfU

10/26/2023 at 11:53AM

124
#>45 - Vimgolf User / @VimgolfU

10/26/2023 at 11:51AM

125
#>46 - Vimgolf User / @VimgolfU

10/26/2023 at 11:40AM

147
#>53 - Vimgolf User / @VimgolfU

10/26/2023 at 11:38AM

149
#>55 - Vimgolf User / @VimgolfU

10/26/2023 at 11:17AM

177
#>67 - Vimgolf User / @VimgolfU

10/26/2023 at 09:15AM

188
#>70 - Vimgolf User / @VimgolfU

10/26/2023 at 11:29AM