Tuesday, May 19, 2020

Re: clipbaord internals ques

Hi,

2020/5/18 Mon 13:02:44 UTC+9 M Kelly wrote:
Hi,

Just curious, what is the mechanism by which vim saves to the clipboard ?
For example if I am on a X11 system but in termnal vim and I have clipboard set to unnamed
and I highlight in visual mode some lines and then y(ank) them - does vim use OSC 52 ?
Or does it (even tho its the terminal) use X11 to update the PRIMARY ?
I will try to figure this out from the code but just wondered if anyone knew this already.

thx as always for all things vim,
-m

Vim uses X11 even on terminal to support clipboard.
If you use Vim which is compiled without X11, you will find that the clipboard feature (in output of `:version`)
is disabled.

Regards,
Ken Takata

--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/364454a8-3b5b-4c4b-94c2-6e182277eaeb%40googlegroups.com.

No comments: