David Christensen wrote: > Normally, I can cut and paste between Xfce desktop applications. > > > Enter a Zip Code of "12345", highlight the first result, copy it to the > clipboard, start Terminal, open a file with Vim, press "i" to enter insert > mode, and paste, sometimes I see what I copied to the clipboard and > sometimes I see nothing. > > > I am unable to determine if the problem is Firefox, Vim, or something else.
Are you aware that there are at least three 'clipboards' here? X11 primary selection: this usually get filled by selecting text in a terminal. It usually gets pasted by Button 2. In vim, this is the "+ buffer. X11 clipboard: this usually gets filled by ctrl-c or ctrl-shift-c or a menu "Copy". It usually gets pasted by ctrl-v or ctrl-shift-v or a menu "Paste". In vim, this is the "* buffer. X11 secondary selection: you are unlikely to encounter it, but when you do, it will be bizarre. Read: http://www.cs.man.ac.uk/~lindsec/secondary-selection.html Vim can bypass a chunk of this by combining primary and clipboard: :set clipboard=unnamed,unnamedplus in which case "* and "+ will be pasted simultaneously from vim. -dsr-