Here is what I want to do. Consider the text
abcvvxyz abcvvxyz 123456 123456
I would like to copy the
v block and paste it over the
45 block to get the following:
abcvvxyz abcvvxyz 123vv6 123vv6
What I know I can do is:
<C-v> for visual-block mode, select the
v block (
jl), and yank
Then go to the first
4, select the
45 block (
<C-v>lj) and paste
p. This will have the desired effect.
However, I would like to achieve the same without the need to visually mark the target block. It is easy enough in case of two lines and two columns, but with larger blocks I always get it slightly wrong. I would like to put my cursor in the top corner of the intended target and let vim do the rest: if the yanked block is 2 x 2, then replace the following 2 x 2 block whose left upper corner is my current cursor position.