• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 530
  • Last Modified:

vi vim paste function

Hello,
I searched the internet, but I will continue to search.  Meanwhile allow me to ask;
When using vi or vim, and capturing/cutting text, which now that text is in the buffer.  How can I paste that text into the vi/vim text file "WITHOUT USING THE RIGHT BUTTON OF THE MOUSE."  I would like to keep my fingers on the keyboard, apply some command like lp, or ap (which these two do not work), and paste the text into the vi text.
thanks
0
chima
Asked:
chima
2 Solutions
 
farzanjCommented:
You should put in the paste mode
Esc
:se paste

Then you can use shift + insert instead of right mouse click
0
 
omarfaridCommented:
while in command mode (press ESC key) you can move the cursor to the line where you want to paste before or after, then press p or P to paste after or before
0
 
chimaAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now