Saturday, November 30, 2024
Re: How to put modelines in a CSS file
>On 2024-11-30 21:48, Steve Litt wrote:
>> I needed to put vim:ts=3:sw=3:expandtab:nu:ic: into my CSS file. When
>> I tried:
>>
>> /* vim:ts=3:sw=3:expandtab:nu:ic: */
>>
>> The preceding gave me a "Unknown option: */" error when I reread the
>> file.
>[snip]
>> put the */ on the following line:
>>
>> /* vim:ts=3:sw=3:expandtab:nu:ic:
>> */
>
>Reading over `:help modeline`, I think your commented-version needs to
>omit the extra in-modeline colons (just keeping the first/last):
>
> /* vim: ts=3 sw=3 et nu ic: */
>
>worked from my testing, allowing everything in one line, and also not
>getting the vim error.
Thanks Tim!
SteveT
Steve Litt
http://444domains.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/20241130235802.17803744%40mydesk.domain.cxm.
Re: How to put modelines in a CSS file
> I needed to put vim:ts=3:sw=3:expandtab:nu:ic: into my CSS file. When
> I tried:
>
> /* vim:ts=3:sw=3:expandtab:nu:ic: */
>
> The preceding gave me a "Unknown option: */" error when I reread the
> file.
[snip]
> put the */ on the following line:
>
> /* vim:ts=3:sw=3:expandtab:nu:ic:
> */
Reading over `:help modeline`, I think your commented-version needs to
omit the extra in-modeline colons (just keeping the first/last):
/* vim: ts=3 sw=3 et nu ic: */
worked from my testing, allowing everything in one line, and also not
getting the vim error.
-tim
--
--
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/Z0vRjdYye_ehn0mN%40thechases.com.
How to put modelines in a CSS file
I needed to put vim:ts=3:sw=3:expandtab:nu:ic: into my CSS file. When
I tried:
/* vim:ts=3:sw=3:expandtab:nu:ic: */
The preceding gave me a "Unknown option: */" error when I reread the
file. So then I tried:
// vim:ts=3:sw=3:expandtab:nu:ic:
The preceding was OK with Vim, but gave me a CSS parse error.
So I figured "OK, I'll play your silly game, went back to /* and */,
but put the */ on the following line:
/* vim:ts=3:sw=3:expandtab:nu:ic:
*/
The preceding passed CSS validation, errorlessly survived a Vim reread,
and was honored by Vim. You guys probably knew this already, but for
anybody who didn't, this is what you do when your comments require a
closing tag: Just end one line with the modeline and put everything
else on the next line.
SteveT
Steve Litt
http://444domains.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/20241130214800.0d0db5c7%40mydesk.domain.cxm.
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.
I'm sorry that you are frustrated with the responses you have gotten.
First, the help on this subject can be found at :help gui-mouse and
:help mouse-using.
The short answer is that you can map <3-LeftMouse> to do whatever you
can do with Vim script.
Other than that, a single click moves the cursor to the mouse location,
double click selects the word under the mouse, and triple click selects
line-wise (which implicitly includes the ending newline). Yes, this is
different from the standard Windows behavior.
If, when double or triple clicking, you do not release the mouse, i.e.
hold the button down after the second or third press, then moving the
mouse extends the selection, word-wise for double click and line-wise
for triple click.
You might get almost what you want by moving the mouse to the left of
the line, double clicking without releasing, and then dragging to near
the end of the line. I know it's not as convenient as a triple click,
but without mapping the mouse events, I think that is the best you can
do.
However, all the mouse events can be mapped. Some additional relevant
help topics: Select-mode, gui-selections, and map.
The problem with Vim's help is that it is so extensive that it is
sometimes hard to find exactly what you are looking for!
...Marvin
--
--
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/Z0VkTiIC2wn5fdnz%40basil.wdw.
Re: Triple Click To Select Entire Line In Windows GVIM
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
--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.
Get Outlook for iOS
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.
Re: Triple Click To Select Entire Line In Windows GVIM
On Tue, 26 Nov 2024 at 00:36, Roy Fulbright <rfulbrig@hotmail.com> wrote:
> 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.
fwiw, and as a workaround only, entering (cursor at begin of line)
'v'isual to '$', then cursor left removes the newline from the
highlighted.
--
regards, jr.
You have the right to free speech, as long as you're not dumb enough
to actually try it.
(The Clash 'Know Your Rights')
this email is intended only for the addressee(s) and may contain
confidential information. if you are not the intended recipient, you
are hereby notified that any use of this email, its dissemination,
distribution, and/or copying without prior written consent is
prohibited.
--
--
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/CAM-dBgrTKRSHPzLeodZe3DDwd%2BhPEw_yBZ%2B3c9e_xs%2BNi4TuMA%40mail.gmail.com.
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
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.
Get Outlook for iOS
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.
Re: Triple Click To Select Entire Line In Windows GVIM
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.
Get Outlook for iOS
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.
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.
Get Outlook for iOS
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.
Re: Triple Click To Select Entire Line In Windows GVIM
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.
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.
"+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 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/Z0T8ExoDgptJjBiP%40256bit.org.
Re: Triple Click To Select Entire Line In Windows GVIM
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
--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.Get Outlook for iOS
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 GVIMOn 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.
Sunday, November 24, 2024
Re: Triple Click To Select Entire Line In Windows GVIM
--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.Get Outlook for iOS
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 GVIMOn 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.
Saturday, November 23, 2024
Re: Syntax: Using \v (very magic) in patterns in syntax files
I have noticed that patterns in published syntax files never use the `\v` (very magic) modifier. Is there any deeper reason than people's preferences for this? Being used to Perl patterns I practically always use it and find it hard to keep track of when to use backslashes when not using it. The result is that more or less subtle errors creep in when I'm writing a syntax file, so I'd prefer to use it unless it's a Really Bad Idea.
--
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/CAJ1uvoBiRBMULPRzyn0EOLPZJd54_v-tBHr98Oih50JPHr7quw%40mail.gmail.com.
Re: Re: Syntax: Using \v (very magic) in patterns in syntax files
------ Original Message ------
From: bpj@melroch.se
To: vim_use@googlegroups.com Cc: bpj@melroch.se
Sent: Saturday, November 23rd 2024, 15:34
Subject: Re: Syntax: Using \v (very magic) in patterns in syntax files
Den lör 23 nov. 2024 14:35'c.willis111 ' via vim_use <vim_use@googlegroups.com> skrev:
------ Original Message ------
From: bpj@melroch.se
To: bpj@melroch.se Cc: vim_use@googlegroups.com
Sent: Saturday, November 23rd 2024, 13:25
Subject: Syntax: Using \v (very magic) in patterns in syntax files
I have noticed that patterns in published syntax files never use the `\v` (very magic) modifier. Is there any deeper reason than people's preferences for this? Being used to Perl patterns I practically always use it and find it hard to keep track of when to use backslashes when not using it. The result is that more or less subtle errors creep in when I'm writing a syntax file, so I'd prefer to use it unless it's a Really Bad Idea.
Hi
I deeply sympathise with you. It seems complete madness that the slashing is different for various quantifiers. (* recognised as a meta character, but not + or ?). My reading of the help suggests that very magic doesn't cure this.
It does in that all ASCII punctuation characters can be escaped to be "normal" and those that are metacharacters are meta when not escaped. Word characters, quite sensibly do still need a backslash to be meta. That's consistent enough for me.You seem to be talking about the perl behaviour, which seems consistent to me. My whinge was about the vim behaviour. Heree's a help snippet:
--4. Overview of pattern items pattern-overview
E865 E866 E867 E869Overview of multi items. /multi E61 E62
More explanation and examples below, follow the links. E64 E871multi
'magic' 'nomagic' matches of the preceding atom
/star * \* 0 or more as many as possible
/\+ \+ \+ 1 or more as many as possible
/\= \= \= 0 or 1 as many as possible
/\? \? \? 0 or 1 as many as possibleregards - Chris
--
--
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/CADAJKhB8xGaYuvoY9-ZOu2%2BNifq4gbmP_x6TY%3Ddh-T2JkQN8%3Dw%40mail.gmail.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 unsubscribe@googlegroups.com" target="_blank">vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/304a56a7.2408d.193593adb00.Webtop.251%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 unsubscribe@googlegroups.com">vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CADAJKhA4ztK4E-8fcDX40xn0s9hBg5v4VQ6URJmUm9E3967Jfw%40mail.gmail.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/3216be5b.24523.19359bc2e94.Webtop.251%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/CADAJKhB3spYrzyU76M%3DFoyKEzx6NbJULS9n%2B95bmaXc2nYsHjg%40mail.gmail.com.
Re: Re: Syntax: Using \v (very magic) in patterns in syntax files
-------- Original Message ------
From: bpj@melroch.se
To: vim_use@googlegroups.com Cc: bpj@melroch.se
Sent: Saturday, November 23rd 2024, 15:34
Subject: Re: Syntax: Using \v (very magic) in patterns in syntax files
Den lör 23 nov. 2024 14:35'c.willis111 ' via vim_use <vim_use@googlegroups.com> skrev:
------ Original Message ------
From: bpj@melroch.se
To: bpj@melroch.se Cc: vim_use@googlegroups.com
Sent: Saturday, November 23rd 2024, 13:25
Subject: Syntax: Using \v (very magic) in patterns in syntax files
I have noticed that patterns in published syntax files never use the `\v` (very magic) modifier. Is there any deeper reason than people's preferences for this? Being used to Perl patterns I practically always use it and find it hard to keep track of when to use backslashes when not using it. The result is that more or less subtle errors creep in when I'm writing a syntax file, so I'd prefer to use it unless it's a Really Bad Idea.
Hi
I deeply sympathise with you. It seems complete madness that the slashing is different for various quantifiers. (* recognised as a meta character, but not + or ?). My reading of the help suggests that very magic doesn't cure this.
It does in that all ASCII punctuation characters can be escaped to be "normal" and those that are metacharacters are meta when not escaped. Word characters, quite sensibly do still need a backslash to be meta. That's consistent enough for me.You seem to be talking about the perl behaviour, which seems consistent to me. My whinge was about the vim behaviour. Heree's a help snippet:4. Overview of pattern items pattern-overview
E865 E866 E867 E869Overview of multi items. /multi E61 E62
More explanation and examples below, follow the links. E64 E871multi
'magic' 'nomagic' matches of the preceding atom
/star * \* 0 or more as many as possible
/\+ \+ \+ 1 or more as many as possible
/\= \= \= 0 or 1 as many as possible
/\? \? \? 0 or 1 as many as possibleregards - Chris
--
--
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/CADAJKhB8xGaYuvoY9-ZOu2%2BNifq4gbmP_x6TY%3Ddh-T2JkQN8%3Dw%40mail.gmail.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 unsubscribe@googlegroups.com" target="_blank">vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/304a56a7.2408d.193593adb00.Webtop.251%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 unsubscribe@googlegroups.com">vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CADAJKhA4ztK4E-8fcDX40xn0s9hBg5v4VQ6URJmUm9E3967Jfw%40mail.gmail.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/3216be5b.24523.19359bc2e94.Webtop.251%40btinternet.com.
Re: Syntax: Using \v (very magic) in patterns in syntax files
------ Original Message ------
From: bpj@melroch.se
To: bpj@melroch.se Cc: vim_use@googlegroups.com
Sent: Saturday, November 23rd 2024, 13:25
Subject: Syntax: Using \v (very magic) in patterns in syntax files
I have noticed that patterns in published syntax files never use the `\v` (very magic) modifier. Is there any deeper reason than people's preferences for this? Being used to Perl patterns I practically always use it and find it hard to keep track of when to use backslashes when not using it. The result is that more or less subtle errors creep in when I'm writing a syntax file, so I'd prefer to use it unless it's a Really Bad Idea.
Hi
I deeply sympathise with you. It seems complete madness that the slashing is different for various quantifiers. (* recognised as a meta character, but not + or ?). My reading of the help suggests that very magic doesn't cure this.
--regards - Chris
--
--
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/CADAJKhB8xGaYuvoY9-ZOu2%2BNifq4gbmP_x6TY%3Ddh-T2JkQN8%3Dw%40mail.gmail.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/304a56a7.2408d.193593adb00.Webtop.251%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/CADAJKhA4ztK4E-8fcDX40xn0s9hBg5v4VQ6URJmUm9E3967Jfw%40mail.gmail.com.
Re: Triple Click To Select Entire Line In Windows GVIM
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
> 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.