ydjia / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Vim clipboard won't work on OS X when compiled with GTK #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile Vim with GTK+ (brew install vim --client-server)
2. Open Vim
3. Try to paste from the clipboard (Using "+p or "*p)

What is the expected output? What do you see instead?
Expected: Pasting whatever is in the clipboard
Actual result: Nothing in register * (or +, both are empty)

Tested with version(s):
Vim: 7.4.253 and 7.4.430
OS: OS X 10.8.5

It should be noted that everything works fine as long as I don't compile in 
GTK+. I see how this causes problems for "+ but I don't understand why it 
affects "* as well.

Some extra info can be found in a downstream bug report: 
https://github.com/Homebrew/homebrew/issues/32875#issuecomment-57911462

Original issue reported on code.google.com by Wolphie on 8 Oct 2014 at 2:11

GoogleCodeExporter commented 9 years ago
Could you try with at least 7.4.445? That fixed a clipboard related problem.

Original comment by chrisbr...@googlemail.com on 8 Oct 2014 at 3:05

GoogleCodeExporter commented 9 years ago
Is there a location where I can download the tarbal? Or do I need to clone the 
repo instead?

Original comment by Wolphie on 8 Oct 2014 at 6:14

GoogleCodeExporter commented 9 years ago
Easiest would be to clone the repository I guess.

Original comment by chrisbr...@googlemail.com on 11 Oct 2014 at 1:10

GoogleCodeExporter commented 9 years ago
I've just given it a try with the latest version in the repo and it still does 
nothing.
Both the * and + registers are empty and cannot be written to.

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 12 2014 12:50:05)
MacOS X (unix) version
Included patches: 1-475

Original comment by Wolphie on 12 Oct 2014 at 10:52