Saturday, March 28, 2020

Re: enabling xterm_clipboard support by default

On 3/28/20 3:15 PM, Manas Gupta wrote:
> I was wondering what could be the reasoning behind not enabling the
> xterm_clipboard and clipboard support in native vim installations in
> different distributions?

I can't remember of a distribution that I wasn't able to use X11's
clipboard or primary selection buffer.

> I went through a few forums and threads where I found people find it
> difficult to copy/paste text into system's clipboard.

I'll agree that it's not obvious how to use the clipboard / primary
selection buffer in vim. But then again, this is vim, what is obvious
or intuitive to the new vim user?

> Although I found there is a way, by using skel. But it doesn't seem to
> be working as expected.

What's wrong with using the + (plus) / * (star) registers?

"+p puts the contents of the system clipboard.
"*p puts the contents of the primary selection buffer.

You can easily use other commands using the standard register notation.



--
Grant. . . .
unix || die

--
--
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/b4bd01c1-6d50-e77d-7feb-49c38fc79bc2%40spamtrap.tnetconsulting.net.

No comments: