Monday, November 25, 2024

Re: Triple Click To Select Entire Line In Windows GVIM

+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. 

From: vim_use@googlegroups.com <vim_use@googlegroups.com> on behalf of Igbanam Ogbuluijah <xigbanam@gmail.com>
Sent: Monday, November 25, 2024 2:53:43 AM
To: vim_use@googlegroups.com <vim_use@googlegroups.com>
Subject: Re: Triple Click To Select Entire Line In Windows GVIM
 
"+yy would 


Igbanam


On Mon, Nov 25, 2024 at 7:46 AM Roy Fulbright <rfulbrig@hotmail.com> wrote:
The selection is a single line. 'yy' does not put the selection into the Windows clipboard, which triple clicking does. I just want to get rid of the newline. 

From: 'meine' via vim_use <vim_use@googlegroups.com>
Sent: Saturday, November 23, 2024 5:52:04 AM
To: vim_use@googlegroups.com <vim_use@googlegroups.com>
Subject: Re: Triple Click To Select Entire Line In Windows GVIM
 
On Sat, Nov 23, 2024 at 04:12:39AM +0000, Roy Fulbright wrote:
> When I triple click a line in GVIM in windows the entire line is selected, but a newline character is part of the selection. How can I triple click a line to select the entire line without the newline character?

Disclaimer: I only work with text files (the proze) and don't do coding.

Is your selection on a line, a sentence or paragraph?

A paragraph can have several sentences, a sentence several lines, a line
several words. These entities all have their own 'nouns' in the VIM
command language.

It depends what VIM-command is behind the tripple-click.

'yy' copies the entire line, also parts that flow forth on new lines
below

'ys' copies the sentence up to the period or whatever mark you set for
the type of file

'yg$' copies til the end of the line with visual characters, but not the
hidden newline. On sentences that flow over several lines this copies
only the line the cursor is on from the cursor position til the enod of
line.

Using the keyboard will give you more control.

KR,

//meine

--
--
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%7Ca0aabda2287d48fed47808dd0baceb76%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638679559493044831%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=uZNZAlhmO6BQ%2BQAsnOEWI95QMbH82b7IEycwdP8p%2BXg%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%2FZ0Gz1AD9KARS4pPg%2540trackstand&data=05%7C02%7C%7Ca0aabda2287d48fed47808dd0baceb76%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638679559493060480%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=wuMl753OU%2FDd4Ak13KIL4UWH5%2BHDmMA17ylvIeSHOSE%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 vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/MN0P221MB1508CAC110AD64D0C0221ED4DC2C2%40MN0P221MB1508.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/CAOmRJrdO2ik%3DQ4oCgaUPzmLAKeW4GCN-KzhAWs%2BOmjszSjH30w%40mail.gmail.com.

No comments:

Post a Comment