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 9v00668b48dc00000000027f

Column wise pasting

Make a table from 3 columns

Start file
1
2
3
4
5
6
7
8
9
10

97
98
99
100
101
102
103
104
105
106

201
202
203
204
205
206
207
208
209
210
End file
1	97	201
2	98	202
3	99	203
4	100	204
5	101	205
6	102	206
7	103	207
8	104	208
9	105	209
10	106	210

View Diff

1,32c1,10
< 1
< 2
< 3
< 4
< 5
< 6
< 7
< 8
< 9
< 10
< 
< 97
< 98
< 99
< 100
< 101
< 102
< 103
< 104
< 105
< 106
< 
< 201
< 202
< 203
< 204
< 205
< 206
< 207
< 208
< 209
< 210
---
> 1	97	201
> 2	98	202
> 3	99	203
> 4	100	204
> 5	101	205
> 6	102	206
> 7	103	207
> 8	104	208
> 9	105	209
> 10	106	210

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 62 remaining solutions by signing in and submitting your own entry
#63 elliotyou / @elliotyou - Score: 111 - 07/24/24 @ 07:42
<C-V>9j$A<Tab><Esc>j10j<C-V>9j$dgg$p<C-V>9j$A<Tab><Esc>22j0<C-V>9jdgg$p9jjuuuuuuuuuu<C-V>9j$A<Tab><Esc>j10j<Esc><Esc><Esc>ggj10j<C-V>9j$dgg$p<C-V>9j$A<Tab><Esc>22j0<C-V>9j$dgg$p9jjdG<Esc>:wq<CR>

0 comments


Created by: @__ngtrongkha

63 active golfers, 282 entries

Leaderboard (lowest score wins):
98
#61 - Andrew / @mind_religion

07/08/2024 at 04:20PM

98
#62 - skewcy-bot / @skewcy-bot

08/18/2026 at 03:27PM

111
#63 - elliotyou / @elliotyou

07/24/2024 at 07:42AM