> > > Calvin Waterbury asked on Sunday, October 01, 2006 3:04 PM > for a "pasteboard feature". > > > This is a feature that automatically captures clipboard > content to a > > text file that has been designated as the "Pasteboard." > > Perhaps an example would clarify. If I had this feature > implimented in > > VIM I would do the following: > > > > - Open a text ed window > > - Set it to be the "Pasteboard" > > - Switch to whatever window I want to capture (webpage text > > like a recipe, another text file, etc.) --- [1]Select the > > first text item --- [2]Copy to clipboard --- [3]Repeat [1] > > and [2] until done. > > - Go back to the "Pasteboard" window and I would see all of my > > captures neatly separated by whatever separator (a line of > > hyphens, equal signs, etc.) I had set in the "Options." > > - Turn off the "Pasteboard" > > - Save the file. > > [Tony: OP is asking about copying to a VIM buffer stuff fed > to the MS Windows clipboard _not_ from other VIM buffers but > from non-vim applications.] > > One way to implement this feature is by using VIM's support > for perl and the Win32::Clipboard module.
I was just looking at this possibility. It would go well with the YankRing plugin: http://www.vim.org/scripts/script.php?script_id=1234 If someone wrote a very simple example of a Perl Vim plugin that monitors the clipboard I could probably integrate that with the YankRing history. Would this also work for the X11 clipboard? Dave