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

69 active golfers, 307 entries

Leaderboard (lowest score wins):
22
#31 - jaunxter / @jaunxter

04/04/2025 at 05:11AM

24
#32 - Petr Hodač / @PetrHodac

08/29/2024 at 12:55PM

25
#33 - Christopher Arausa | Rathma / @wrathofrathma

08/28/2024 at 05:37PM

26
#34 - Giacomo Sansone / @pcineverdies

08/25/2024 at 07:49AM

26
#35 - cgamiz / @cgamiz

09/20/2024 at 10:24PM

26
#36 - jimmymills / @jimmymills

05/15/2025 at 09:36PM

27
#37 - Diego Giorgini / @diegobit

08/30/2024 at 09:07PM

27
#38 - promisel / @promisel

09/05/2024 at 07:53AM

27
#39 - Zhang Yang / @DimLight1998

09/06/2024 at 03:53AM

27
#40 - sparkwenc / @sparkwenc

09/06/2024 at 04:03AM

27
#41 - 林新 / @Lingshinx

11/13/2024 at 03:06PM

27
#42 - Adi / @adi2004

05/02/2025 at 09:40AM

28
#43 - Cory McKiel / @cmckiel

08/25/2024 at 01:35PM

28
#44 - Elijah Lynn / @ElijahLynn

08/26/2024 at 06:31PM

28
#45 - Henry Sloan / @HenryKSloan

08/29/2024 at 05:45PM

28
#46 - 0xf00ff00f / @0xf00ff00f

05/25/2025 at 12:03AM

29
#47 - Youwen Wu / @youwen5

08/25/2024 at 04:15AM

29
#48 - nickGPT / @nickandbro

08/26/2024 at 12:43AM

29
#49 - shenyfg / @shenyfg

08/27/2024 at 11:39AM

29
#50 - Sander Meij / @SanderMeij

08/28/2024 at 02:25PM

29
#51 - Willy / @Willy6932612311

09/05/2024 at 07:02PM

30
#52 - akovaski / @akovaski

08/27/2024 at 01:42AM

30
#53 - Melih Aktop / @mlhktp

11/02/2024 at 06:14PM

31
#54 - Yannick Peter / @funkymcb

08/29/2024 at 10:47AM

31
#55 - cmclausen / @cmclausen

01/22/2025 at 09:43PM

31
#56 - Will Powers / @wpowers42

08/24/2025 at 09:36AM

32
#57 - tskepla / @tskepla

09/02/2024 at 03:48PM

32
#58 - Kazuya_Yamamoto / @Rashinban1988

01/13/2026 at 08:57AM

33
#59 - Abdelrahman Madkour / @a3madkour

04/10/2025 at 01:17PM

35
#60 - Neix20 / @Neix20

10/02/2024 at 08:57AM