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 @MatFriend:

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

57 active golfers, 251 entries

Solutions by @MatFriend:
20
#20 - MatFriend / @MatFriend

09/24/2024 at 03:15AM

22
#>24 - MatFriend / @MatFriend

09/24/2024 at 03:14AM

24
#>26 - MatFriend / @MatFriend

09/24/2024 at 03:05AM

25
#>27 - MatFriend / @MatFriend

09/24/2024 at 03:02AM

26
#>29 - MatFriend / @MatFriend

09/24/2024 at 02:57AM

27
#>33 - MatFriend / @MatFriend

09/24/2024 at 02:53AM

29
#>42 - MatFriend / @MatFriend

09/24/2024 at 02:44AM

31
#>45 - MatFriend / @MatFriend

09/24/2024 at 02:42AM

32
#>47 - MatFriend / @MatFriend

09/24/2024 at 02:40AM

34
#>48 - MatFriend / @MatFriend

09/24/2024 at 01:08AM

37
#>51 - MatFriend / @MatFriend

09/24/2024 at 12:58AM