Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7534 - vim 7.1 no longer has X copy/paste support

Attached to Project: Arch Linux
Opened by Mychael Janes (kant1) - Friday, 29 June 2007, 23:36 GMT
Last edited by Tobias Kieslich (tobias) - Tuesday, 21 August 2007, 21:03 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Vim no longer pastes code from the X clipboard when you press the middle mouse button. This has always worked in previous packages.

A solution for me was to change the PKGBUILD --with-x=no parameter to --with-x=yes. [edit: NOT necessary- see below]

Discussed here:
http://bbs.archlinux.org/viewtopic.php?id=34694

Additional info:
* vim-7.1.12

This task depends upon

Closed by  Tobias Kieslich (tobias)
Tuesday, 21 August 2007, 21:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  shall be fixed by new vi, vim gvim layout
Comment by Dan McGee (toofishes) - Friday, 29 June 2007, 23:44 GMT
The real problem is that the default /etc/vimrc file got changed. There is now a 'set mouse=a' line in it which was not previously present, and should probably be removed. What were the contents of the previous stock systemwide vimrc? The current one seems to do more than I remember.
Comment by Dan McGee (toofishes) - Friday, 29 June 2007, 23:47 GMT
Sorry for flooding the bug report, but an easy workaround is to hold the shift key to bypass any hijacking of the mouse by vim and just let your terminal emulator do the work.
Comment by Andrea Scarpino (BaSh) - Saturday, 30 June 2007, 12:05 GMT
Set "set mouse=v" into /etc/vimrc
Comment by Roman Kyrylych (Romashka) - Sunday, 01 July 2007, 14:52 GMT Comment by Dan McGee (toofishes) - Sunday, 01 July 2007, 15:01 GMT
Might be a dupe, but the original resolution was completely wrong. Don't close this until it is fixed or resolved.
Comment by Tobias Kieslich (tobias) - Monday, 02 July 2007, 01:32 GMT
Okay, it took me a while to figure out what was going wrong. Remember folks, that vim is a reletively stripped down version of vim, where gvim provides you with a way more capable binary. When you install gvim, your former vim binary gets moved to vi and the gvim binary becomes vim (and gvim becomes a link to it, just the way it is supposed to work). So when you install gvim you should get proper mouse support.
Comment by Tobias Kieslich (tobias) - Tuesday, 03 July 2007, 22:04 GMT
anyone? Can anyone confirm that the issue is solved with the installation of gvim?
Comment by Jan de Groot (JGC) - Tuesday, 03 July 2007, 22:14 GMT
It's broken in my chroots also, where I don't install gvim. Losing the ability to copy from gnome-terminal that is running vim seems quite critical to me.

Loading...