You are not logged in.

#1 2007-06-29 20:35:53

kant1
Member
Registered: 2006-11-28
Posts: 57

vim --with-x=yes

Just wondering if anyone else ran into a problem with the latest version of vim, where you can no longer paste into vim from the X clipboard.

I got so used to selecting text from anywhere and everywhere (OpenOffice, Firefox, any other X app), and pasting it straight into an open vim session with the middle mouse button.  But with the 7.1.12 package it's no longer working.  Keep in mind, I'm not talking about gvim, but about vim.  I have urxvt windows open everywhere (w/ screen), and vim.

Anyway, the solution is to build vim yourself, and in the PKGBUILD, find where it says "--with-x=no" and change it to "--with-x=yes".

I wonder, how could I request the maintainer, Tobias Kieslich, to do this?  I don't think the change hurts anything, and it has always worked this way in previous archlinux vim packages.

Suggestions?

Offline

#2 2007-06-29 20:43:51

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: vim --with-x=yes

yes write a bug report

edit: btw i can copy just fine using middle click in vim with screen & urxvt

Last edited by dolby (2007-06-29 20:48:58)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-06-29 20:55:13

uwolfer
Member
Registered: 2006-02-27
Posts: 46

Re: vim --with-x=yes

I have the paste problem too... Just wondered before why. Please open a bug report.

Offline

#4 2007-06-29 21:03:55

Bebo
Member
From: Göteborg, Sweden
Registered: 2006-06-07
Posts: 207

Re: vim --with-x=yes

I believe it is due to the "set mouse=a" line in /etc/vimrc - it was put there in the latest update. Change it to, for instance, "set mouse=v" to make it work with the clipboard again.

Offline

#5 2007-06-29 21:05:16

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: vim --with-x=yes

hold the shift key down, then do your mouse operations (like shift+right_click for paste).
the set mouse works too...but if you want mouse support..the shift key is an modifier.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2007-06-29 23:37:20

kant1
Member
Registered: 2006-11-28
Posts: 57

Offline

#7 2007-07-01 22:28:50

caust1c
Member
Registered: 2005-12-02
Posts: 56

Re: vim --with-x=yes

im wondering why vim tries to connect to the xserver, as vim is compiled with with-x=no. But if i ssh to my machine that has no Xserver running, vim need long time for opening a file, because it tries to connect to x, so it needs to be started with vim -X.
But i dont want to do this everytime, so is there a fix?

Offline

Board footer

Powered by FluxBB