On ven, feb 9 2024 at 23:01:50 -08:00:00, Gary Johnson <garyj...@spocom.com> wrote:

There are a couple of misunderstandings here.

Many distributions offer a vim compiled with the X11 feature.  The
name of the package may not make that clear.  For example, in
Ubuntu, you would install the vim-gtk package.  That would install
_one_ vim binary that is linked to several names, including vim and
gvim.  The user can use vim or gvim as they choose--it's one binary
that runs with a GUI or a terminal interface depending on the name
by which it is invoked.

Alternatively, if you have a gvim on your system, you can create
a link to it named vim like this:

    ln -s /usr/bin/gvim ~/bin/vim

as long as the directory containing the new vim link comes before
the directory containing your non-X11 vim in your PATH.

You could instead create an alias such as this:

    alias vim='gvim -v'

Any of those will give you a vim with X11 enabled.

Regards,
Gary

Yes, I know and I've already acknowledge it:

> If a normal user wants to have this feature they need to [...]
> install gvim, which a lot of users don't want to have it installed.

My point was that a user should be able to use the system clipboard,
via 'set clipboard=unnamedplus', _without_ installing gvim or
recompile vim.

-- 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/INXM8S.13JHUC5CDP5B%40saccarosium.com.

Raspunde prin e-mail lui