Sometimes I have a bunch of lines, where there's a column clearly indicating some commonality between them, which in general doesn't go far beyond that column; this is an example, I think general enough:
...
what 1: and then
who 2: there's
when 3: some other
where 4: text
ok? 5: on these lines
...
I want to insert the characterwise text from a register (say the text is text from some register,
) in those five lines, right after the space which follows the :
, so that the result looks like this:
...
what 1: text from some register,and then
who 2: text from some register,there's
when 3: text from some register,some other
where 4: text from some register,text
ok? 5: text from some register,on these lines
...
If I with the cursor on the second a
in the file I hit Ctrl-V4jP, the letters a
, t
, s
, t
, o
are deleted, just like :h v_p
describes.
.
currently is, then my answer would be:%norm f.P
which I think is actually really neat... But since the question has many problems that I detailed above, I decided not to post an answer, since I couldn't really tell whether this was exactly what was being requested... Please clarify your question if you can. I'd post an answer (and upvote the question) if the question was well defined and well phrased. – filbranden♦ Nov 26 '20 at 4:32