Solved

vi vim paste function

Posted on 2013-01-07
3
507 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

Industry Leaders: 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…
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
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.:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

710 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