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 49 remaining solutions by signing in and submitting your own entry
#50 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

50 active golfers, 239 entries

Leaderboard (lowest score wins):
34
#31 - Brian Phelps / @dranzigd

09/09/2024 at 07:13PM

34
#32 - Josh / @joshfelm

05/02/2025 at 12:46PM

35
#33 - greg-asc / @greg-asc

06/19/2025 at 01:23PM

37
#34 - HAYASHI-Masayuki / @HAYASHI-Masayuki

07/28/2024 at 07:03AM

37
#35 - gnragazzi / @gnragazzi

07/29/2024 at 07:45PM

37
#36 - Ming / @x51ming

04/25/2025 at 01:43PM

38
#37 - Irakli Chkhetiaini / @chkhetiani

08/15/2024 at 02:40PM

38
#38 - Wim Stockman / @wimstockman

11/09/2024 at 02:43PM

38
#39 - k1mosabe / @k1mosabe

12/08/2024 at 04:20AM

40
#40 - Vivek Veer / @WeaveAche

07/08/2024 at 09:51AM

40
#41 - CleisthenesH / @CleisthenesH

08/20/2024 at 10:42AM

42
#42 - Coenraad / @coenraadv

07/08/2024 at 11:46AM

42
#43 - John Howe / @jhowe-dev

02/07/2025 at 07:44PM

44
#44 - Pablo Acuna / @pacuna

08/28/2024 at 09:09PM

44
#45 - Chris Davis / @nthState-Chris

05/10/2025 at 08:53PM

44
#46 - Jannik Spiessens / @jannikspiessens

06/17/2025 at 09:05AM

46
#47 - DarChan / @richvote

08/13/2024 at 04:52AM

63
#48 - chujDK / @chujDK

03/28/2025 at 08:58AM

98
#49 - Andrew / @mind_religion

07/08/2024 at 04:20PM

111
#50 - elliotyou / @elliotyou

07/24/2024 at 07:42AM