Monday, November 25, 2024

Re: Triple Click To Select Entire Line In Windows GVIM

Unfortunately, adding the double quote before +yy does not work for me either. In fact, any form of yy, etc, etc is not what I am looking for. I simply want to triple click a line and send it to the Windows clipboard without the trailing newline. That's all. 

From: 'c.willis111 ' via vim_use <vim_use@googlegroups.com>
Sent: Monday, November 25, 2024 7:19:29 PM
To: vim_use@googlegroups.com <vim_use@googlegroups.com>
Subject: Re: Re: Triple Click To Select Entire Line In Windows GVIM
 

Hi

I appreciate that Christian is an expert, but in my version of vim typing + does not appear when typing +yy.

 

I wd have expected to type "+yy which does show, and does yank the line into the clipboard.

 

regards - Chris

 

------ Original Message ------
From: rfulbrig@hotmail.com
To: vim_use@googlegroups.com
Sent: Monday, November 25th 2024, 23:35
Subject: 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.
 

 

-- 
-- 
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 unsubscribe@googlegroups.com">vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CH3P221MB1492E59A1ADB5B05FEC00B0DDC2E2%40CH3P221MB1492.NAMP221.PROD.OUTLOOK.COM.
 

--
--
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 visit https://groups.google.com/d/msgid/vim_use/6f24bfae.26f5.19365d66479.Webtop.204%40btinternet.com.

No comments: