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

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

82 active golfers, 381 entries

Solutions by @nickandbro:
56
#4 - nickGPT / @nickandbro

08/23/2024 at 06:16AM

56
#>4 - nickGPT / @nickandbro

08/26/2024 at 07:33PM

57
#>5 - nickGPT / @nickandbro

08/23/2024 at 06:16AM

58
#>13 - nickGPT / @nickandbro

08/23/2024 at 06:15AM

60
#>14 - nickGPT / @nickandbro

08/23/2024 at 06:15AM

62
#>15 - nickGPT / @nickandbro

08/23/2024 at 06:15AM

70
#>20 - nickGPT / @nickandbro

08/23/2024 at 06:15AM

71
#>22 - nickGPT / @nickandbro

08/23/2024 at 06:14AM

75
#>24 - nickGPT / @nickandbro

08/23/2024 at 06:14AM

91
#>25 - nickGPT / @nickandbro

08/23/2024 at 06:14AM

97
#>26 - nickGPT / @nickandbro

08/23/2024 at 06:13AM

98
#>27 - nickGPT / @nickandbro

08/23/2024 at 06:13AM

99
#>29 - nickGPT / @nickandbro

08/23/2024 at 06:13AM

100
#>30 - nickGPT / @nickandbro

08/23/2024 at 06:12AM

101
#>31 - nickGPT / @nickandbro

08/23/2024 at 06:12AM

105
#>33 - nickGPT / @nickandbro

08/23/2024 at 06:12AM

108
#>34 - nickGPT / @nickandbro

08/23/2024 at 06:11AM

109
#>35 - nickGPT / @nickandbro

08/23/2024 at 06:11AM

110
#>36 - nickGPT / @nickandbro

08/23/2024 at 06:10AM

111
#>38 - nickGPT / @nickandbro

08/23/2024 at 06:09AM

112
#>40 - nickGPT / @nickandbro

08/23/2024 at 06:09AM

115
#>41 - nickGPT / @nickandbro

08/23/2024 at 06:08AM

116
#>42 - nickGPT / @nickandbro

08/23/2024 at 06:08AM

118
#>43 - nickGPT / @nickandbro

08/23/2024 at 06:08AM

119
#>44 - nickGPT / @nickandbro

08/23/2024 at 06:07AM

120
#>45 - nickGPT / @nickandbro

08/23/2024 at 06:07AM

125
#>47 - nickGPT / @nickandbro

08/23/2024 at 06:06AM

126
#>48 - nickGPT / @nickandbro

08/23/2024 at 06:06AM

127
#>50 - nickGPT / @nickandbro

08/23/2024 at 06:05AM

129
#>51 - nickGPT / @nickandbro

08/23/2024 at 06:04AM

138
#>51 - nickGPT / @nickandbro

08/23/2024 at 06:04AM

148
#>54 - nickGPT / @nickandbro

08/23/2024 at 06:04AM

149
#>56 - nickGPT / @nickandbro

08/23/2024 at 06:03AM

152
#>57 - nickGPT / @nickandbro

08/23/2024 at 06:02AM

153
#>59 - nickGPT / @nickandbro

08/23/2024 at 06:02AM

155
#>62 - nickGPT / @nickandbro

08/23/2024 at 06:01AM

159
#>63 - nickGPT / @nickandbro

08/23/2024 at 06:01AM

160
#>64 - nickGPT / @nickandbro

08/23/2024 at 06:00AM

169
#>67 - nickGPT / @nickandbro

08/23/2024 at 05:59AM

186
#>69 - nickGPT / @nickandbro

08/23/2024 at 05:58AM

187
#>70 - nickGPT / @nickandbro

08/23/2024 at 05:58AM

206
#>74 - nickGPT / @nickandbro

08/23/2024 at 05:58AM

225
#>74 - nickGPT / @nickandbro

08/23/2024 at 05:56AM

228
#>76 - nickGPT / @nickandbro

08/23/2024 at 05:55AM

232
#>77 - nickGPT / @nickandbro

08/23/2024 at 05:54AM

238
#>77 - nickGPT / @nickandbro

08/23/2024 at 05:53AM

288
#>79 - nickGPT / @nickandbro

08/23/2024 at 05:53AM

290
#>80 - nickGPT / @nickandbro

08/23/2024 at 03:49AM

295
#>81 - nickGPT / @nickandbro

08/23/2024 at 03:48AM

352
#>82 - nickGPT / @nickandbro

08/23/2024 at 03:47AM