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 by @MartnRamtin:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @XiaoshuZ73684

53 active golfers, 241 entries

Solutions by @MartnRamtin:
18
#9 - MartnRamtin / @MartnRamtin

08/31/2024 at 02:18PM

19
#>17 - MartnRamtin / @MartnRamtin

08/30/2024 at 05:22PM

24
#>25 - MartnRamtin / @MartnRamtin

08/29/2024 at 04:04PM

26
#>27 - MartnRamtin / @MartnRamtin

08/29/2024 at 03:38PM

26
#>27 - MartnRamtin / @MartnRamtin

08/29/2024 at 03:57PM

31
#>43 - MartnRamtin / @MartnRamtin

08/27/2024 at 12:28PM

33
#>45 - MartnRamtin / @MartnRamtin

08/26/2024 at 04:02PM

36
#>48 - MartnRamtin / @MartnRamtin

08/26/2024 at 03:57PM

39
#>48 - MartnRamtin / @MartnRamtin

08/26/2024 at 03:30PM

75
#>53 - MartnRamtin / @MartnRamtin

08/26/2024 at 03:47PM

78
#>53 - MartnRamtin / @MartnRamtin

08/26/2024 at 03:27PM