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 10 remaining solutions by signing in and submitting your own entry
#11 Andrew / @mind_religion - Score: 98 - 07/08/24 @ 16:20
<C-V><Esc>11j<C-V>9j$dgg<C-V>9j$Ap<BS><Tab><Esc><C-V>9j$pu$puuu<C-V>9j$dgg$puu<C-V><Esc>gg<C-V>9j$A<Tab><Esc>j10j<C-V>9j$dgg$<C-P>p<C-V>9j$A<Tab><Esc>22j0<C-V>9j$dgg$p9jjdG<Esc>:wq<CR>

0 comments


Created by: @__ngtrongkha

11 active golfers, 26 entries

Leaderboard (lowest score wins):
18
#1 - Peppa Pig / @PeppaPi95550250

07/08/2024 at 05:09AM

18
#2 - John Braxler / @braxler

07/08/2024 at 01:26PM

18
#3 - Petro Тrouq / @zulolosi

07/16/2024 at 10:18AM

24
#4 - Pablo Cárdenas / @pablo_cardenasb

07/08/2024 at 10:46AM

24
#5 - alexeypetrenko / @alexeypetrenko

07/08/2024 at 07:40PM

24
#6 - Andreas Kruck / @Spanching

07/18/2024 at 06:58PM

27
#7 - Giacomo Sansone / @pcineverdies

07/09/2024 at 08:09PM

27
#8 - Vic Segers / @VicSegers

07/19/2024 at 10:36AM

40
#9 - Vivek Veer / @WeaveAche

07/08/2024 at 09:51AM

42
#10 - Coenraad / @coenraadv

07/08/2024 at 11:46AM

98
#11 - Andrew / @mind_religion

07/08/2024 at 04:20PM