Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-25-2007, 10:11 PM
|
#1
|
Member
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586
Rep:
|
can't paste into vim
Using Slackware 12
I can't paste text into vim. I have the setting: set paste.
It indicates at the bottom of the screen: INSERT(paste), but it turns to insert (VISUAL) when I try to paste in text.
Thanks
|
|
|
07-26-2007, 01:53 AM
|
#2
|
Member
Registered: Oct 2006
Location: Costa Rica, Escazu
Distribution: Slackware 12.0 (2.6.21.5)
Posts: 67
Rep:
|
Hi,
What you have to do is hold "Shift" and then paste.
|
|
|
07-26-2007, 06:36 AM
|
#3
|
Member
Registered: May 2007
Posts: 89
Rep:
|
Re...
shift+Insert
|
|
|
07-26-2007, 10:11 AM
|
#4
|
Member
Registered: Dec 2005
Location: /USA/MI/Detroit/home
Distribution: MEPIS, antiX, RHEL
Posts: 105
Rep:
|
Quote:
Originally Posted by bijit1709
Hi,
What you have to do is hold "Shift" and then paste.
|
Thanks, this worked for me. Not being able to paste from other apps into vim had been driving me nuts for a while now!
To add: - I don't have the 'set paste' option in my .vimrc and this still works
- You can also click your middle mouse button to act as the 'paste' command (assuming your mouse is set up to paste when the middle button is clicked)
sleepy
|
|
|
07-26-2007, 09:28 PM
|
#5
|
Member
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586
Original Poster
Rep:
|
Thanks for your help. When I used Ubuntu I just used the method I mentioned in the post and that's what I found in the vimbook.
|
|
|
04-01-2008, 05:05 PM
|
#6
|
LQ Newbie
Registered: Mar 2008
Location: Sweden
Distribution: Slackware 13.0
Posts: 14
Rep:
|
I just reinstalled slack12 on my comp, and pasting with Right mouse button(in vim) stopped working :/
I don't know what has changed, i use the same version of Vim and same vimrc, but i still can't paste with right mousebutton.
When i press right mouse button the --INSERT-- changes to --(insert) VISUAL -- instead of pasting.
What have i done wrong?
EDIT: I know i can press Shift+mouse2, but i didn't have to do so before...
EDIT2: Oh, finally found a solution... Just had to add "set mouse-=a" into my vimrc.
Last edited by f000l; 04-01-2008 at 06:41 PM.
|
|
|
11-17-2009, 02:25 PM
|
#7
|
Member
Registered: Sep 2005
Location: Austria
Distribution: Debian, CentOS, OpenBSD, FreeBSD
Posts: 52
Rep:
|
Its not too good to bump that old thread, but this problem makes me crazy and today I finally found a sollution, hope this will helps to other people with same problem.
This thing happens in my case on slackware 12.1 and slackware 13.0 x86_64 .
Its almost the same as that that f000l says, but in my case setting
in .vimrc solved issue, with set mouse=a problem still exists.
|
|
|
01-03-2010, 05:26 AM
|
#8
|
Senior Member
Registered: Sep 2007
Posts: 1,047
Rep:
|
Quote:
Originally Posted by JosephS
Thanks for your help. When I used Ubuntu I just used the method I mentioned in the post and that's what I found in the vimbook.
|
Post:
And mark this thread as [SOLVED] if it's solved.This option is under the "Thread Tools" above.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 05:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|