0

For example, copy multiple lines A:

'fjalkfjljfllfs' 'dasldkjlasdjla' 'jlfajldjaflajl' 

they are random string with same length.

I have multiple lines text B and want to insert A into B's same position (not begin or end):

'xxxx fjalkfjljfllfs xxxxx' 'xxxx dasldkjlasdjla xxxxx' 'xxxx jlfajldjaflajl xxxxx' 

in vim, is there a way to do this?

1 Answer 1

4

If you mark you lines A via blockwise visual mode (ctrl + V) and copy them with y you can just put them back with p.

Sign up to request clarification or add additional context in comments.

1 Comment

To enter blockwise visual mode, the default mapping is just ctrl+v

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.