On Thu, April 19, 2012 08:10, Gary Johnson wrote: > On 2012-04-18, Chris Sutcliffe wrote: >> Thank you everyone for the help! >> >> On 18 April 2012 18:25, John Beckett wrote: >> > The following writes @@ (that is, @") to /dev/clipboard: >> > :call writefile(split(@@, "\n"), '/dev/clipboard') >> >> Works like a charm. >> >> > However, what the OP should do is build Vim with clipboard >> > support (using :version should show "+clipboard"). >> >> Unfortunately the "+clipboard" for Cygwin uses the X-Windows >> clipboard, not the native Windows clipboard. In this case >> /dev/clipboard is a way to access the native Windows clipboard within >> Cygwin. It has the benefit of understanding utf-8 which >> putclip/getclip currently do not. > > Does anyone know what ever happened to the vim_cygwin_clip_patch? > It let Vim for Cygwin use the Windows clipboard. It was originally > posted to the vim-dev list by Frodak Baksik in February, 2007. > Resurrecting or redeveloping that is probably the right way to fix > this issue.
I think I have the patch floating around here somewhere and in any case it should still be available at [1]. Last time I tried patching on Cygwin using the simple patch[2], I couldn't link the binary. But I haven't had time to investigate the issue in detail, as I only seldomly have access to a Windows development system. [1])http://vim.1045645.n5.nabble.com/Re-Subject-Re-vim-on-cygwin-using-win32-clipboard-td1208486.html [2])http://groups.google.com/group/vim_use/msg/d32c24ffffd503b1 regards, Christian -- You received this message from the "vim_use" 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
