Monday, November 25, 2024

Re: Triple Click To Select Entire Line In Windows GVIM

Let me try this one more time. While I appreciate all the hints about yy, etc., my question is how to use the triple-click to select a line without adding the new line. I need to know if triple-clicking is hard coded in Gvim to add a new line, and if it is hard coded then there is no solution. If there is an option in Gvim to allow triple clicking to not include the new line, then that is the option I need. Thank you all. 

From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of rob <drrob100@fastmail.com>
Sent: Monday, November 25, 2024 8:34:03 PM
To: 'c.willis111 ' via vim_use <vim_use@googlegroups.com>
Subject: Re: Triple Click To Select Entire Line In Windows GVIM
 

I don't know if anyone responded, but the correct key strokes are

quote plus yy

You missed the beginning quote keypress


On 11/25/24 19:19, 'c.willis111 ' via vim_use wrote:

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.

--
--
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/9146ee0b-1821-460f-ae44-02eeb1f33512%40fastmail.com.

No comments: