Re: Vim9 - Can not get compile to recognize a deep variable

2022-02-17 Thread 'JB' via vim_use
--- Original Message ---

On Wednesday, February 16th, 2022 at 3:27 PM, Chainsaw 
 wrote:

> Bram,
>
> First, thank you for Vim. What you have created is amazing, and has literally 
> filled every void I had in my workflow, from text editing, to writing 
> software to streamline specific tasks, and infinitely more. The only thing I 
> don't like is I use Vim so much, that I find myself typing a ':' everywhere, 
> on desktop, in title bar of browser, and I tried to save a file today in Word 
> by typing ':w'.

I do this, too. I'm so accustomed to using Vim's shortcuts that I had to 
install Pentadactyl and its forks on my web browsers. It's the worst addiction; 
it's the best addiction.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/OmSSSlXLpAq3G76Jsfr94NQwMBAthF7Bslm8k-GUzxWBPWdUWVFKpDEcZL4uqs8KiBOK75eXMdYUVWLkBkKxbU62YwqvuZyl0iCcUdqrTzs%3D%40protonmail.com.


Unable To Subscribe

2021-11-28 Thread 'JB' via vim_use
I'm trying to subscribe from a different email provider, but the mail keeps 
getting rejected. The provider automatically adds a signature to the bottom of 
the blank email I'm sending -- is that what's causing the rejection?

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/vKZDkYGZe2ytbuQ6oGoVMbkIom2RPq-GxxjkjmVMyLsOg4qL1yCIiedOlQIgfyygpIcd0WwBTOR8FklkNA7Nz-aI1s1vm8kKWMNWr1ZBEd4%3D%40protonmail.com.


Re: dab, da(, da[, da{, etc. are not working!

2021-04-04 Thread 'JB' via vim_use
‐‐‐ Original Message ‐‐‐
On Saturday, April 3, 2021 6:51 PM, Sven Guckes  wrote:

> > Everything looks working fine ---
> > di" can delete texts inside double-quote ---
> > but dab, daB, dib, diB, di{, etc. cannot do anything.
> > Are there any issues? Have I missed anything here?
>
> "block" as in "code block between pairs of {}"?
>
> dap and dip
>
> see also:
> :help ap
> :help ip
> :h text-objects

The b and B in dab and daB are equal to ( and {, respectively.

':help diw' Gives a list of object deletion commands, not including some in his 
email's Subject line.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/W_pEaHMfqJ84i-T7TF7Ai4kpOTAWYnoqwD93_38rgg6BhxqqD1lOOKCV9kDiSz0ZHnYF8BIh2icw65SUUUHJlDBD0x7pnjEvUjrcEJRldT8%3D%40protonmail.com.


Re: vim-mnemonics for hjkl.

2021-03-02 Thread 'JB' via vim_use
The mnemonic I used for J and K when I first started was J[ump] and K[ite]. H 
is on the left and L is on the right as pointed out by another user.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Tuesday, March 2, 2021 2:14 AM, hongy...@gmail.com  
wrote:

> I noticed the following mnemonics for vim shortcut keys from 
> :
>
> 
>
> h: left
>
> j: down
>
> k: up
>
> l: right
>
> 
>
> But I still can't figure out the correspondence between their literal 
> representation and the operations of them. Any hints will be highly 
> appreciated.
>
> Regards,
>
> HY
>
> --
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> [https://groups.google.com/d/msgid/vim_use/63ef0acb-5e0d-403e-8f29-b57c2c10e729n%40googlegroups.com](https://groups.google.com/d/msgid/vim_use/63ef0acb-5e0d-403e-8f29-b57c2c10e729n%40googlegroups.com?utm_medium=email_source=footer).

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/sZxgpaye1S78aaQUBFWBoHQi2qzFyL3JwIeBZ5lsUW3uJdp4NL1uyvrsZni-6BAx_OEK0gw03k2Gp19o3EU9ReHA6mi6kGkOYxbIadOpYWM%3D%40protonmail.com.


Re: How to delete from the current cursor position to a particular character on the same line?

2021-02-26 Thread 'JB' via vim_use
Your {foo} to {bar} example has a more-efficient solution:

ci{

"Change inside curly-braces."

Works for quotation marks and brackets, too:

ci" or ci' or ci[ or ci<

You can be on either of the grouping characters or anywhere inside them.

Also, your ct= can be replaced with ce ("Change to end") using default 
delimiter chars.


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Friday, February 26, 2021 11:04 AM, Eli the Bearded 
 wrote:

> On Fri, 26 Feb 2021, Joseph Wulf joseph.c.w...@gmail.com wrote:
>
> > I've a common problem that I've never been able to find a solution for.
>
> ...
>
> > With my cursor at "B" how can I delete from the current cursor position
> > (col 18) to the first double-quote mark (") efficiently?
>
> Delete up to a quote mark later in the line:
> dt"
>
> Delete up to the third quote mark later in the line:
> d3t"
>
> Delete up to a quote mark earlier in the line:
> dT"
>
> Delete up to and including a quote mark:
> df"
>
> Delete up to and including a quote mark earlier in the line:
> dF"
>
> Delete up to and including the second quote mark earlier in the line:
> d2F"
>
> Delete forward using a repeat of last to or including search:
> d,
>
> Delete backward using a repeat of last to or including search:
> d;
>
> Delete to column 40 (either forward or backward):
> d40|
>
> I'm a frequent user of the f/F/t/T motions. Often one or the other is
> the better choice to use due to frequency of characters used and
> context.
>
> In shell scripting, say, I may want to change {foo} to {bar} and
> sometimes it will be in single quotes and sometimes double quotes, so
> I'll use c2fo with the cursor on the {f} and then the . command works
> properly.
>
> Other times I'm changing a bunch of variable names all terminated at
> the = to new different names, so I'll use ct= first and c; later.
>
> Elijah

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/vqbi0gtckAjhhZfWpIVNli7_RBE0SyDe22HEb7SsOdOcG3uZHcdrPNFR_J80ox_c9ngOTBCLVNdLa6UkRzn0Nra3BL_Q_uEUQJkP8zn_c2M%3D%40protonmail.com.


Re: complex-repeat Behavior Changed Recently

2020-12-25 Thread 'JB' via vim_use
‐‐‐ Original Message ‐‐‐

On Friday, December 25th, 2020 at 5:43 AM, Tim Chase  
wrote:

> On 2020-12-22 19:43, 'JB' via vim_use wrote:
>
> > Typing 'qa0xxj' and executing macro 'a' used to go to the beginning
> >
> > of the line, delete the first two chars, then jump down one line.
> >
> > Now, the cursor goes to the beginning of the line and execution of
> >
> > the macro stops -- no deletions or jumping down one line. The same
> >
> > when using '^' or '$'. Leaving out the movement to the beginning or
> >
> > end of the line results in the expected behavior: the macro is
> >
> > executed completely. What gives?
>
> A few things occur to me:
>
> 1.  are you doing this in a stock vim? Or do you have some
>
> plugin/mapping that might be interfering? I just tried it here and
>
> it worked fine. Can you replicate within
>
> $ vim -u NONE
> 2.  are you doing it on a blank line where the first "x" would fail,
>
> stopping the rest of the macro's execution?
> 3.  (kinda part of #1) do you happen to have some strange mapping for
>
> "0x" that would interfere with the playback? If you manually type
>
> 0xx
>
> does it work for you outside a macro?
> 4.  you are executing this in Normal mode, not some other mode, right?
>
> -tim
>
> --

Hi Tim,

I've solved this already, but you were on the right track. The offending lines
in my .vimrc were:

nn 0 ^  | " goto first non-blank char in line
nn ^ 0  | " goto start of line

Replacing the  characters preceding the pipes with spaces fixed it.
Executing the Normal command outside of a macro worked fine, but inside a macro 
failed.
My original mapping used to work, but recently broke.

Solved it by typing ':nn', which listed my Normal noremap-s and showed the 
 chars.

Thanks for helping.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/gv79idOZmE3gVf8f3MR8TLSZEHCh8wlxvWxHBCl72hWflWj4WrclOKMOQXyaEO9HltuvJQQdRPqkIaESF3VlqIl2pgfPMoZ5fIgnlCEKDac%3D%40protonmail.com.


complex-repeat Behavior Changed Recently

2020-12-24 Thread 'JB' via vim_use
Hi Vim,
Typing 'qa0xxj' and executing macro 'a' used to go to the beginning of the 
line, delete the first two chars, then jump down one line. Now, the cursor goes 
to the beginning of the line and execution of the macro stops -- no deletions 
or jumping down one line. The same when using '^' or '$'. Leaving out the 
movement to the beginning or end of the line results in the expected behavior: 
the macro is executed completely. What gives?

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/o29IU9TNEg9imqCcV1JdApUiqhFIkytIM93eTf-nCfhS2aRJEskv65hg1qCOYVBMzWHey54GDYO1j3rQHsGKvImv9UQlo1ukCcpIzF5W7qI%3D%40protonmail.com.