Junaid
Junaid

Reputation: 488

Vi how to yank an aren without specifying a buffer and paste

I may want to yank (copy?) by marking from certain point to certain point and paste, but I want to do it without specifying any buffer. As we do in gedit by selecting text and copy-paste.

Upvotes: 0

Views: 56

Answers (1)

dorsh
dorsh

Reputation: 24710

Use visual mode: type v, then use the arrows to mark the area you wish to copy, and then type y to yank

Upvotes: 1

Related Questions