thequerist
thequerist

Reputation: 1824

Yank part of multiple lines and paste

Is there a way I can select a portion of multiple lines in vim and then paste them at the end of another block of lines. For instance if I want everything after the equal sign from:

qw=12345
er=23435

and pasted into:

ty=
ui=

What would I have to do?

This seems real simple, but for some reason, I am completely stuck.

Upvotes: 0

Views: 899

Answers (1)

lzap
lzap

Reputation: 17173

You are looking for block selection mode.

Please note the different keybinding for Windows platforms.

Upvotes: 4

Related Questions