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 @rafe-murray:

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

71 active golfers, 319 entries

Solutions by @rafe-murray:
17
#8 - Rafe Murray / @rafe-murray

04/04/2026 at 08:27AM

18
#>21 - Rafe Murray / @rafe-murray

04/04/2026 at 08:24AM

20
#>28 - Rafe Murray / @rafe-murray

04/04/2026 at 08:21AM

20
#>28 - Rafe Murray / @rafe-murray

04/04/2026 at 08:22AM

22
#>32 - Rafe Murray / @rafe-murray

04/04/2026 at 08:20AM

24
#>33 - Rafe Murray / @rafe-murray

04/04/2026 at 08:19AM

25
#>34 - Rafe Murray / @rafe-murray

04/04/2026 at 08:13AM

26
#>37 - Rafe Murray / @rafe-murray

04/04/2026 at 08:11AM

29
#>52 - Rafe Murray / @rafe-murray

04/04/2026 at 08:04AM

30
#>55 - Rafe Murray / @rafe-murray

04/04/2026 at 08:02AM

31
#>58 - Rafe Murray / @rafe-murray

04/04/2026 at 07:55AM