Solved

vi vim paste function

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

777 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