On sab, feb 10 2024 at 11:34:19 +01:00:00, Christian Brabandt
<cbli...@256bit.org> wrote:
- it puts the burden to configure the clipboard to the users. Yes, I
know we can ship pre-configured clipboard provider, but initially
this
has to be configured by each user separately (and then later
eventually merged into Vim)
But its the same thing ask the the user to install gvim, recompile vim
or knowing
in the first place that they need to do that. And at least, in my
experience
(witch is obviously pretty limited), neovim's just works.
- I think, the clipboard functionality should work out of the box.
There
is a reason, why no other application uses a clipboard provider
feature but implements this directly in the application
I found that a lot of recent text editors do the providers thing.
Obviously my point isn't to do exactly this but maybe think on something
that makes the clipboard out of the box even on non gui vim packages.
- It doesn't help with Vim tiny, since it doesn't support Vim script,
so
one should still need to re-compile Vim
Vim tiny to my knowledge doesn't have support for the system clipboard
so
I don't think it isn't in the scope of the discussion.
- If you are using xclip or xsel you would still require the X11
libraries to work with the clipboard, so I don't think this gains us
anything
Ok, but if I am on wayland I'll use something like wl-clipboard[1] and
that
doesn't require X11 libraries. If I'm on a tty in tmux it will use the
tmux
clipboard.
> Clipboard functionality is a feature of X11. I don't see how we could
> support this without X11 libraries available. I suppose Wayland
supports
> something similar, but the fact remains, we need to connect to some
> existing frame work that enables the inter-process communication. We
> cannot just develop our own here.
When I first wrote that I was thinking of what tmux does but it is not
a good example. Also I thought that some text editor I've used did this,
but I found that they where just shelling commands.
[1]: https://github.com/bugaevc/wl-clipboard/tree/master
-- Luca Saccarola
--
--
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/SIDN8S.16K5PDE43TE73%40saccarosium.com.