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

38 active golfers, 155 entries

Leaderboard (lowest score wins):
16
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

08/25/2024 at 04:10AM

16
#2 - John Braxler / @braxler

08/26/2024 at 02:38PM

16
#3 - Peppa Pig / @PeppaPi95550250

08/27/2024 at 12:22AM

16
#4 - Stephen Edwards / @sventi555

09/04/2024 at 03:48PM

18
#5 - Pablo Cárdenas / @pablo_cardenasb

08/23/2024 at 03:28PM

18
#6 - John Huynh / @huynh_j93

08/28/2024 at 01:50PM

18
#7 - Reese / @figadore

08/30/2024 at 11:26PM

18
#8 - MartnRamtin / @MartnRamtin

08/31/2024 at 02:18PM

18
#9 - Joel Williams / @10WilliamsJoel

09/04/2024 at 09:39AM

19
#10 - Anton / @Sobes76rus

08/25/2024 at 04:16PM

20
#11 - Roger Stoltz / @rogsto1

08/23/2024 at 01:53PM

20
#12 - sleak wise / @SleakWise78883

08/27/2024 at 10:18AM

22
#13 - tobi256 / @tobi256

08/23/2024 at 05:30PM

22
#14 - mindwrapped / @mindwrapped

08/23/2024 at 06:18PM

22
#15 - Patrick Hurley / @phurley

08/26/2024 at 09:30PM

24
#16 - Petr Hodač / @PetrHodac

08/29/2024 at 12:55PM

25
#17 - Christopher Arausa | Rathma / @wrathofrathma

08/28/2024 at 05:37PM

26
#18 - Giacomo Sansone / @pcineverdies

08/25/2024 at 07:49AM

27
#19 - Diego Giorgini / @diegobit

08/30/2024 at 09:07PM

27
#20 - promisel / @promisel

09/05/2024 at 07:53AM

27
#21 - Zhang Yang / @DimLight1998

09/06/2024 at 03:53AM

27
#22 - sparkwenc / @sparkwenc

09/06/2024 at 04:03AM

28
#23 - Cory McKiel / @cmckiel

08/25/2024 at 01:35PM

28
#24 - Elijah Lynn / @ElijahLynn

08/26/2024 at 06:31PM

28
#25 - Henry Sloan / @HenryKSloan

08/29/2024 at 05:45PM

29
#26 - Youwen Wu / @youwen5

08/25/2024 at 04:15AM

29
#27 - nickGPT / @nickandbro

08/26/2024 at 12:43AM

29
#28 - shenyfg / @shenyfg

08/27/2024 at 11:39AM

29
#29 - Sander Meij / @SanderMeij

08/28/2024 at 02:25PM

29
#30 - Willy / @Willy6932612311

09/05/2024 at 07:02PM