On Tuesday, February 7, 2012 4:14:04 AM UTC+1, James McCoy wrote:
> On Mon, Feb 06, 2012 at 02:53:37AM -0800, Alp Burcay wrote:
> > I am new to vim_dev group. I have read several posts regarding a similar
> > issue before I make this post
> > (http://vim.wikia.com/wiki/Accessing_the_system_clipboard and such). And the
> > more I read, the more I got confused. That's why I am sending this email.
> > 
> > 
> > I am using vim, not Gvim, in terminal window. I had had vim 7.2 which I
> > installed using ubuntu software center. It didn't have xterm_clipboard
> > feature.
> 
> As others have mentioned, you need a Vim build with X11 support (and
> therefore gvim, in most circumstances) even if you're only ever going to
> use it in a terminal.  You can get this without building your own by
> installing Ubuntu's vim-gtk package.
> 
> If, after doing that, running ":echo has('xterm_clipboard')" in vim
> doesn't report 1 then the alternatives system is probably pointing at
> the wrong binary.  You should see something like this
> 
> $ update-alternatives --display vim
> vim - auto mode
>   link currently points to /usr/bin/vim.gtk
> /usr/bin/vim.basic - priority 30
> /usr/bin/vim.gtk - priority 50
> Current 'best' version is '/usr/bin/vim.gtk'.
> 
> but it may be in manual mode, with the current 'best' set to a binary
> that doesn't provide clipboard access.  Running either
> "update-alternatives --auto vim" or "update-alternatives --config vim"
> would give you the opportunity to fix this.  The man page will explain
> what these do.
> 
> Cheers,
> -- 
> James
> GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

Hello James,

I found your post very helpful. I was wondering whether you happen to know 
whether I can compile vim on Mac with xterm-clipboard support. I posted this 
question on the macvim forum but nobody responded. 

Many thanks.

Li

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui