Re: An interesting little poser [PS]

2020-06-30 Thread Tim Chase
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

Re: An interesting little poser [PS]

2020-06-30 Thread Chris Jones
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

Re: An interesting little poser

2020-06-30 Thread arocker
> > 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,

Re: An interesting little poser

2020-06-30 Thread Mateusz Okulus
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

Re: [typing Russian characters in vim with vim-LaTeX]

2020-06-30 Thread Tony Mechelynck
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