I believe I finally determined the cause. xfce4-terminal does not emulate the xterm behavior where it will paste from cut buffer 0 if the primary selection is empty.
I like some of the features of xfce4 terminal (reformat on window resize, multiple tabs), but I've decided to stick with xterm because I prefer the fonts and the pasting behavior there. On Mon, Mar 10, 2025 at 11:55 AM Mark Waggoner <m...@wagnell.com> wrote: > Thanks for the reply. To answer your questions: > > :echo has('clipboard') > 1 > > :set mouse? clipboard? > mouse=a > clipboard=autoselect > > I've now discovered that the difference is some kind of difference in the > way xterm and xfce4-terminal do the paste, not in the way vim is working. > > - Open vim in xfce4-terminal > - Select some text > - Middle click paste into xterm works > - Middle click paste into a different xfce4-terminal works > - Deselect text and exit vim in the > - Middle-click paste into xterm works > - Middle-click paste into xfce4-terminal does NOT work > > This gives me some clues: > > :help x11-selection > > > > On Thu, Mar 6, 2025 at 2:20 AM 'Paul' via vim_use < > vim_use@googlegroups.com> wrote: > >> On Wed, Feb 26, 2025 at 03:13:31PM -0800, Mark Waggoner wrote: >> > Yes, mouse support is enabled, and that's the way I want it! >> (mouse=a). As I noted, this works fine in xterm, >> > but when used in xfce4-terminal, it does not. >> > On Monday, February 24, 2025 at 6:12:26 PM UTC-8 Grant Taylor wrote: >> >> Just to double check, when in xfce4-terminal, what do `:echo >> has('clipboard')` and `:set mouse? clipboard?` show? >> >> -- >> -- >> 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 >> >> --- >> You received this message because you are subscribed to the Google Groups >> "vim_use" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to vim_use+unsubscr...@googlegroups.com. >> To view this discussion visit >> https://groups.google.com/d/msgid/vim_use/Z8l2yFvvpW0EUP92%40kitt. >> > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_use/CAJjaVfVgqLAH2D9b81370TGyoPwAHbn5Z5AePmpEnU_fOd%2BayA%40mail.gmail.com.