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

Move to corresponding lines

Move the values to the corresponding lines.

Start file
column1
some other texts
some other texts
column2
some other texts
... m lines ...
some extra texts
...
column10

value1
...
value10
End file
column1 
value1
some other texts
some other texts
column2
value2
some other texts
... m lines ...
some extra texts
...
column10
value10

View Diff

1c1,2
< column1
---
> column1
> value1
4c5,6
< column2
---
> column2
> value2
9,12c11
< column10
<
< value1
< ...
---
> column10

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 56 remaining solutions by signing in and submitting your own entry
#57 danielbonkowsky / @danielbonkowsky - Score: 74 - 08/23/24 @ 15:18
<Esc>\<Esc>\eaj<BS><Esc>j1010j2kdd9kkper23jper24kr112jdd2kpjdd.kea <Esc>kkkkkka <Esc>kkkkka <Esc>:wq<CR>

0 comments


Created by: @XiaoshuZ73684

57 active golfers, 251 entries

Leaderboard (lowest score wins):
27
#31 - promisel / @promisel

09/05/2024 at 07:53AM

27
#32 - Zhang Yang / @DimLight1998

09/06/2024 at 03:53AM

27
#33 - sparkwenc / @sparkwenc

09/06/2024 at 04:03AM

27
#34 - 林新 / @Lingshinx

11/13/2024 at 03:06PM

28
#35 - Cory McKiel / @cmckiel

08/25/2024 at 01:35PM

28
#36 - Elijah Lynn / @ElijahLynn

08/26/2024 at 06:31PM

28
#37 - Henry Sloan / @HenryKSloan

08/29/2024 at 05:45PM

29
#38 - Youwen Wu / @youwen5

08/25/2024 at 04:15AM

29
#39 - nickGPT / @nickandbro

08/26/2024 at 12:43AM

29
#40 - shenyfg / @shenyfg

08/27/2024 at 11:39AM

29
#41 - Sander Meij / @SanderMeij

08/28/2024 at 02:25PM

29
#42 - Willy / @Willy6932612311

09/05/2024 at 07:02PM

30
#43 - akovaski / @akovaski

08/27/2024 at 01:42AM

30
#44 - Melih Aktop / @mlhktp

11/02/2024 at 06:14PM

31
#45 - Yannick Peter / @funkymcb

08/29/2024 at 10:47AM

31
#46 - cmclausen / @cmclausen

01/22/2025 at 09:43PM

32
#47 - tskepla / @tskepla

09/02/2024 at 03:48PM

33
#48 - Abdelrahman Madkour / @a3madkour

04/10/2025 at 01:17PM

35
#49 - Neix20 / @Neix20

10/02/2024 at 08:57AM

36
#50 - Jonathan Schaaij / @jonathanschaaij

08/23/2024 at 12:44PM

36
#51 - Nathan Smith / @nathanmsmith

08/25/2024 at 03:47AM

42
#52 - reirob / @reirob

08/31/2024 at 08:47PM

44
#53 - Andrey Rakhubovsky / @omnster

08/27/2024 at 01:30PM

44
#54 - Fabrice Tsiava / @FabriceTsiava

09/12/2024 at 06:31AM

54
#55 - Pavel Shishikhin / @shishyando

09/14/2024 at 09:18PM

60
#56 - Oli / @olileung

03/14/2025 at 12:13PM

74
#57 - danielbonkowsky / @danielbonkowsky

08/23/2024 at 03:18PM