I made some effort one year ago trying to combine pyperclip[1] -- a python 
clipboard library with vim and make a new plugin[2]; However, as the things 
went on I came to understand that a clipboard is not as simple as it seems. 
The clipboard itself is deeply coupled with the graphic and windowing 
subsystem and some impl(like Qt and gtk) requires additional setup like 
mainloops to function properly.

Now I consider a tty program interacting with clipboard a very bad idea. I 
use unamedplus in gvim, but when I have to use a terminal emulator I just 
use paste mode and access the clipboard with the emulator.

Consider this: you started a tmux server from your desktop, then you 
detached and went out with your laptop and ssh back to attach the session. 
Now when you copy sth from the laptop browser and attempt to paste it 
inside a vim instance running in that session, guess what will happen if 
you used approaches other than the terminal emulator?

[1] https://github.com/asweigart/pyperclip
[2] https://github.com/omegacoleman/pyperclip.vim


-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/e36af88e-595e-4b12-a496-2d63ea7e5303n%40googlegroups.com.

Reply via email to