Monday, November 25, 2024

Re: Triple Click To Select Entire Line In Windows GVIM

Hmm … I must be missing something in my setup, because I had tried +yy but the Windows clipboard was empty. 

From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Christian Brabandt <cblists@256bit.org>
Sent: Monday, November 25, 2024 5:37:07 PM
To: vim_use@googlegroups.com <vim_use@googlegroups.com>
Subject: Re: Triple Click To Select Entire Line In Windows GVIM
 

On Mon, 25 Nov 2024, Roy Fulbright wrote:

> +yy does not put the text in the Windows clipboard. What I am looking
> for is an option to turn off the inclusion of newline when I
> triple-click a line.

"+yy does exactly that, copy the current line into the clipboard in
Windows GVim, but it also contains the final new line. I suppose you can
use the TextYankPost event to strip the final newline if you do not like
it.

Thanks,
Christian
--
Cats are smarter than dogs.  You can't make eight cats pull a sled through
the snow.

--
--
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 https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vim.org%2Fmaillist.php&data=05%7C02%7C%7C1ca1bc953345409c7fdd08dd0da1b9ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638681710499793126%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=6iAmFTV4rR%2BfvbvsP3qPizEzfmaJu%2B7YuLnKyPtww8c%3D&reserved=0

---
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 visit https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fvim_use%2FZ0T8ExoDgptJjBiP%2540256bit.org&data=05%7C02%7C%7C1ca1bc953345409c7fdd08dd0da1b9ef%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638681710499814713%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nLv%2BfJc8uy3mUJ6XcEt%2Be03AquGgR%2BrtkNdAkshfQcc%3D&reserved=0.

No comments:

Post a Comment