Hi Christian,

I am using ssh (with -X option) from mac into a linux machine (Ubuntu
12.04.3 LTS). I use vim 7.4 to open files on the linux machine and had
hoped to copy into the system
clipboard on my local mac machine. However, both "+yy and "*yy do not work
for me. Do you happen to have any idea how to make it work? Many thanks.

Here is what I got after typing :version inside vim:

Huge version with GTK2 GUI.  Features included (+) or not (-):

+arabic          +cmdline_info    -ebcdic          +fork()
+listcmds        +mouse_netterm   +persistent_undo +signs
+terminfo        +vreplace

+autocmd         +comments        +emacs_tags      +gettext
+localmap        +mouse_sgr       +postscript      +smartindent
+termresponse    +wildignore

+balloon_eval    +conceal         +eval            -hangul_input    +lua
          -mouse_sysmouse  +printer         -sniff           +textobjects
  +wildmenu

+browse          +cryptv          +ex_extra        +iconv           +menu
          +mouse_urxvt     +profile         +startuptime     +title
  +windows

++builtin_terms  +cscope          +extra_search    +insert_expand
+mksession       +mouse_xterm     +python          +statusline
+toolbar         +writebackup

+byte_offset     +cursorbind      +farsi           +jumplist
+modify_fname    +multi_byte      -python3         -sun_workshop
+user_commands   +X11

+cindent         +cursorshape     +file_in_path    +keymap          +mouse
          +multi_lang      +quickfix        +syntax          +vertsplit
  -xfontset

+clientserver    +dialog_con_gui  +find_in_path    +langmap
+mouseshape      -mzscheme        +reltime         +tag_binary
+virtualedit     +xim

+clipboard       +diff            +float           +libcall
+mouse_dec       +netbeans_intg   +rightleft       +tag_old_static
+visual          +xsmp_interact

+cmdline_compl   +digraphs        +folding         +linebreak
+mouse_gpm       +path_extra      +ruby            -tag_any_white
+visualextra     +xterm_clipboard

+cmdline_hist    +dnd             -footer          +lispindent
-mouse_jsbterm   +perl            +scrollbind      +tcl
+viminfo         -xterm_save




On Sat, Mar 15, 2014 at 8:33 AM, Christian Brabandt <[email protected]>wrote:

>
> On Fr, 14 Mär 2014, Li Xue wrote:
> > Hi Christian,
> >
> > Could you please tell me how to use your vim patch? I am new to vim.
> >
> > Many thanks.
>
> If I remember correctly, this patch has been included in Vim with 7.3.074
>
> This means, with all Vims that are newer (e.g. :version shows a higher
> number than 7.3.073) you can simply set :set clipboard^=unnamedplus and
> Vim will copy all yanks and deletes to the system clipboard. Read more
> about it at :h 'clipboard (and look for the value unnamedplus)
>
> Best,
> Christian
> --
> Man muß, schon aus Welt, dem andern auch nicht das geringste
> Unangenehme sagen, sobald man nicht ihn oder sich bessern damit will
> oder kann. »Sage nicht zum Mietsherrn, deine Zimmer haben keine
> Morgensonne.«
>                 -- Jean Paul
>
> --
> --
> 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 a topic in the
> Google Groups "vim_dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_dev/G1Def0Fj27U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xue, Li
Post-doctoral Research Associate
College of Information Sciences and Technology
Penn State University
Email: [email protected]
Web site: http://www.cs.iastate.edu/~lixue/

-- 
-- 
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