On Sat, Mar 05, 2011 at 07:20:40PM +1100, Ben Schmidt wrote: > On 4/03/11 9:14 AM, Pavel Gorshkov wrote: > > Anyone else noticing problems with X clipboard interaction in the console > > version of vim? On my FreeBSD-8.2/amd64 box, vim-7.2.446 can copy things > > (with e.g. "*yy) just fine, where both vim-7.3 and vim-7.3.138 would just > > update the '*' register but not the clipboard. All three were built with > > the same configuration parameters: > > > > --enable-perlinterp --enable-pythoninterp --enable-multibyte \ > > --enable-xim --enable-fontset --disable-nls --with-features=huge > > > > and they all have 'xterm_clipboard' enabled. > > Have you reviewed :help x11-selection ? > > It seems to me you should be using "+ not "*. Both '+' and '*' work as expected in vim-7.2.446 but not in vim-7.3.x. Actually it's a bit more complicated than that: sometimes copying into */+ does work but most of the time it doesn't (and there's no apparent pattern), which makes me think this could be a bug in vim-7.3
Here's a testing sequence: - run vim, type in a line of text, copy it with V"+y - switch to firefox to check if 'Paste' is still grayed out - go back to vim and try V"+y again Sometimes it works on 4th attempt, sometimes on 6th, and sometimes on 15th. > Maybe it was an old bug that they used to behave more similarly than > they should. > > Also have a look at the 'clipboard' and 'guioptions' options. Perhaps > one or more of these gives them the similarity you desire. 'clipboard' is set to 'autoselect,exclude:cons\|linux', which seems reasonable, and 'guioptions' is meant for gvim only, isn't it? Console vim is the one I'm having problems with, gvim is fine. -- 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
