On 30.12.2023 08:24, Eli the Bearded wrote:
> In comp.editors, Janis Papanagnou <
janis_pap...@hotmail.com> wrote:
>> When editing HTML files with Vim I pondered about extending the
>> 'matchpairs' setting for editing convenience. The default is
>>
>> matchpairs=(:),{:},[:]
>>
>> For the HTML editing purpose I temporarily change that to
>>
>> matchpairs=(:),{:},[:],<:>
>>
>> I'd like to hear opinions about making that a fix change in the
>> configuration file. Or keep it an ad hoc change on demand? Could
>> there be any undesired side-effects I didn't think of when making
>> it persistent?
>
> You can use vim's auto commands to make that happen for only HTML files
> if you like.
Yes, I thought about making it file-type specific.
Interesting. And funny that the page exactly asks what I was looking
for. (BTW, thanks for the Unicode text file you linked on the page.
Very useful.)
>
> I keep showmatch turned off, so I don't know if the worst case is worse,
> but, daily drive over a year, no issues with manual % matching.
Good to know. Exactly the experience feedback I hoped for. Thanks.
I think I'll even try to make it persistent and see how it evolves.
Janis