Solved

vi vim paste function

Posted on 2013-01-07
3
512 Views
Last Modified: 2013-01-12
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
Comment
Question by:chima
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 350 total points
ID: 38753144
You should put in the paste mode
Esc
:se paste

Then you can use shift + insert instead of right mouse click
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 150 total points
ID: 38753400
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
 

Author Closing Comment

by:chima
ID: 38771116
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question