On 2020-06-30 18:33, Chris Jones wrote:
> On Mon, Jun 29, 2020 at 03:34:03PM EDT, Tim Chase wrote:
>> Try changing that line from
>>
>> $?^$?+,$g/^\[\@!.*\n\[\@!/,/\n\[\|\%$/j
>>
>> to
>>
>> $?^$?+,$g/^\[\@!.*\n\[\@!./,/\n\[\|\%$/j
>
> This indeed fixes the problem.
Great!
> Still
On Mon, Jun 29, 2020 at 03:34:03PM EDT, Tim Chase wrote:
> Try changing that line from
>
> $?^$?+,$g/^\[\@!.*\n\[\@!/,/\n\[\|\%$/j
>
> to
>
> $?^$?+,$g/^\[\@!.*\n\[\@!./,/\n\[\|\%$/j
This indeed fixes the problem.
Still trying to wrap my head around this bizarre
>
> I don't know if there's a way to run a macro against a bunch of files in
> one pass
In that case, I'd suggest using a shell script to execute vim on the files
individually. Obviously, going to use slightly more machine time, since
it's loading vim n times, but it'c going to be more flexible,
You are right, I made a mistake. I was originally confused a bit why I
would end on the digit instead of [ after pressing n. I think you can
record the macro in a register and do something like
:argdo normal 9 @q
I used the map version because it escapes , while if you wanted to
yank it
On Tuesday, June 30, 2020 at 7:46:30 AM UTC+2, Maxim Abalenkov wrote:
>
> Dear all,
>
> I hope all is well with you. This is my first post to the vim mailing
> list. I use vim for a long time and would consider myself a power user.
> Occasionally, I need to type documents in Russian in LaTeX